SET_DATA SAP Method Maintain the indices after changing ODM core data









Below is documentation, parameters and attributes of ABAP Method SET_DATA within SAP class /SCMB/IF_EX_ODM_BUF_EXT_INDX. 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 /SCMB/IF_EX_ODM_BUF_EXT_INDX 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 SET_DATA can also be found below:

  • Importing parameters
  • Exporting parameters
  • Changing parameters
  • Returning parameters
  • Exceptions
  • Coding Examples


Parameters of Method SET_DATA

.

NameTypeData TypeDescriptionDefault Value
IO_ODMImportingTYPE REF TO
/SCMB/CL_ODMO
ODM: Order Document Management, Order Document Objects
IS_CORE_ORHImportingTYPE
/SCMB/ODM_ORH_STR
ODM: Order Document Header
IS_CORE_ORI2ImportingTYPE
/SCMB/ODM_ORI2_STR
ODM: Order Item (Double-Level Document Type)
IS_CORE_ORI3ImportingTYPE
/SCMB/ODM_ORI3_STR
ODM: Order Item (Triple-Level Document Type)
IS_CORE_ORSImportingTYPE
/SCMB/ODM_ORS_STR
ODM: Order Document Schedule Line
IV_VRSIOIDImportingTYPE
/SCMB/ODM_VRSIOID
ODM: Version



Exceptions of Method SET_DATA

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/IF_EX_ODM_BUF_EXT_INDX.
DATA: lv_IO_ODM TYPE /SCMB/CL_ODMO,
lv_IS_CORE_ORH TYPE /SCMB/ODM_ORH_STR,
lv_IS_CORE_ORI2 TYPE /SCMB/ODM_ORI2_STR,
lv_IS_CORE_ORI3 TYPE /SCMB/ODM_ORI3_STR,
lv_IS_CORE_ORS TYPE /SCMB/ODM_ORS_STR,
lv_IV_VRSIOID TYPE /SCMB/ODM_VRSIOID,
lv_other TYPE c.

CALL METHOD lo_class=>SET_DATA(
EXPORTING
IO_ODM = lv_IO_ODM
IS_CORE_ORH = lv_IS_CORE_ORH
IS_CORE_ORI2 = lv_IS_CORE_ORI2
IS_CORE_ORI3 = lv_IS_CORE_ORI3
IS_CORE_ORS = lv_IS_CORE_ORS
IV_VRSIOID = lv_IV_VRSIOID ).

Links to Related Class(s)

/SCMB/IF...
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!