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

.

NameTypeData TypeDescriptionDefault Value
IM_CT_OBJECT_TABImportingTYPE
/ASU/CONTENT_OBJECT_T
Table Type - Application Specific Upgrade. Single ASU Object
IM_CT_VERSIONImportingTYPE
/ASU/CONTENT_VERSION
Application Specific Upgrade: Content Version
IM_REFERENCE_CT_VERSION_HImportingTYPE
/ASU/CONTENT_VERSION_HEADER
Reference ASU CT Version
IM_XML_DEP_TABImportingTYPE
/ASU/XML_DEPENDENCY_T
Table Type /ASU/XML_DEPENDENCY
IM_FOLDER_NODES_TABImportingTYPE
/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 tables

Example 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



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!