CREATE_VERSION SAP Method Create new ASU Content Version
Below is documentation, parameters and attributes of ABAP Method CREATE_VERSION within SAP class /ASU/CL_CONTENT_MANAGER. There is also a number of example ABAP code snipts to help you use the functionality of this method.
This method is available within SAP systems depending on your version and release level, you can view further information by entering the class name /ASU/CL_CONTENT_MANAGER into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.
Method Type - Instance
This is an Instance Method so needs to be instantiated first before you can access any of the methods. I.e. you need to create a local variable of TYPE ref to the class.The following technical details of method CREATE_VERSION can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CREATE_VERSION
.| Name | Type | Data Type | Description | Default Value |
| IM_CT_OBJECT_TAB | Importing | TYPE /ASU/CONTENT_OBJECT_T | Table Type - Application Specific Upgrade. Single ASU Object | |
| IM_CT_VERSION | Importing | TYPE /ASU/CONTENT_VERSION | Application Specific Upgrade: Content Version | |
| IM_REFERENCE_CT_VERSION_H | Importing | TYPE /ASU/CONTENT_VERSION_HEADER | Reference ASU CT Version | |
| IM_XML_DEP_TAB | Importing | TYPE /ASU/XML_DEPENDENCY_T | Table Type /ASU/XML_DEPENDENCY | |
| IM_FOLDER_NODES_TAB | Importing | TYPE /ASU/FOLDER_NODE_T | Table Type - ASU Toolbox: Folder Node ALV Tree from XML |
Exceptions of Method CREATE_VERSION
UPDATE_ERROR - Error when updating database tablesExample ABAP coding
DATA: lo_class TYPE REF TO /ASU/CL_CONTENT_MANAGER.
DATA: lv_IM_CT_OBJECT_TAB TYPE /ASU/CONTENT_OBJECT_T,
lv_IM_CT_VERSION TYPE /ASU/CONTENT_VERSION,
lv_IM_REFERENCE_CT_VERSION_H TYPE /ASU/CONTENT_VERSION_HEADER,
lv_IM_XML_DEP_TAB TYPE /ASU/XML_DEPENDENCY_T,
lv_IM_FOLDER_NODES_TAB TYPE /ASU/FOLDER_NODE_T,
lv_other TYPE c.
CALL METHOD lo_class=>CREATE_VERSION(
EXPORTING
IM_CT_OBJECT_TAB = lv_IM_CT_OBJECT_TAB
IM_CT_VERSION = lv_IM_CT_VERSION
IM_REFERENCE_CT_VERSION_H = lv_IM_REFERENCE_CT_VERSION_H
IM_XML_DEP_TAB = lv_IM_XML_DEP_TAB
IM_FOLDER_NODES_TAB = lv_IM_FOLDER_NODES_TAB ).
Links to Related Class(s)
/ASU/CL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects