GET SAP Method Get order documents using the index









Below is documentation, parameters and attributes of ABAP Method GET 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 GET can also be found below:

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


Parameters of Method GET

.

NameTypeData TypeDescriptionDefault Value
IS_CTRLImportingTYPE
/SCMB/ODM_CONTROL_GET
ODM: Components, Requested (GET)
IT_HDRSTATERNGImportingTYPE
/SCMB/ODM_HDRSTATE_RTAB
ODM: Header Status (Range Table)
IT_ITMSTATERNGImportingTYPE
/SCMB/ODM_ITMSTATE_RTAB
ODM: Item Status (Range Table)
IT_MATLOCImportingTYPE
/SCMB/ODM_MATLOC_TAB
ODM: Product and Location Combinations
IT_PRMVALRNGImportingTYPE
/SCMB/ODM_PRMVALRNG_TAB
ODM: Selection Using Parameter Ranges
IT_PRMVALSELImportingTYPE
/SCMB/ODM_PRMVALSEL_TAB
ODM: Selection Parameter, General
IT_PRTSELImportingTYPE
/SCMB/ODM_PRTSEL_TAB
ODM: Partner Selection
IT_TSTSELImportingTYPE
/SCMB/ODM_TSTSEL_TAB
ODM: Time Stamp (Selection)
IT_TTYPERNGImportingTYPE
/SCMB/ODM_TTYPE_RTAB
ODM: Means of Transport (Range Table)
IV_ALLImportingTYPE
BOOLE_D
ODM: Deleted Orders Also?
IV_COMPLETE_ORDERImportingTYPE
BOOLE_D
ODM: Read Order Document Completely
IV_VRSIOIDImportingTYPE
/SCMB/ODM_VRSIOID
ODM: Version
EV_DO_CHECKExportingTYPE
BOOLE_D
Perform Check method
CT_OBJHDRChangingTYPE
/SCMB/ODM_OOBJ_STAB
ODM: Order Document Buffer
CT_OBJITMChangingTYPE
/SCMB/ODM_OOBJ_STAB
ODM: Order Document Buffer
CT_OBJSDLChangingTYPE
/SCMB/ODM_OOBJ_STAB
ODM: Order Document Buffer



Exceptions of Method GET

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_CT_OBJHDR TYPE /SCMB/ODM_OOBJ_STAB,
lv_CT_OBJITM TYPE /SCMB/ODM_OOBJ_STAB,
lv_CT_OBJSDL TYPE /SCMB/ODM_OOBJ_STAB,
lv_EV_DO_CHECK TYPE BOOLE_D,
lv_IS_CTRL TYPE /SCMB/ODM_CONTROL_GET,
lv_IT_HDRSTATERNG TYPE /SCMB/ODM_HDRSTATE_RTAB,
lv_IT_ITMSTATERNG TYPE /SCMB/ODM_ITMSTATE_RTAB,
lv_IT_MATLOC TYPE /SCMB/ODM_MATLOC_TAB,
lv_IT_PRMVALRNG TYPE /SCMB/ODM_PRMVALRNG_TAB,
lv_IT_PRMVALSEL TYPE /SCMB/ODM_PRMVALSEL_TAB,
lv_IT_PRTSEL TYPE /SCMB/ODM_PRTSEL_TAB,
lv_IT_TSTSEL TYPE /SCMB/ODM_TSTSEL_TAB,
lv_IT_TTYPERNG TYPE /SCMB/ODM_TTYPE_RTAB,
lv_IV_ALL TYPE BOOLE_D,
lv_IV_COMPLETE_ORDER TYPE BOOLE_D,
lv_IV_VRSIOID TYPE /SCMB/ODM_VRSIOID,
lv_other TYPE c.

CALL METHOD lo_class=>GET(
EXPORTING
IS_CTRL = lv_IS_CTRL
IT_HDRSTATERNG = lv_IT_HDRSTATERNG
IT_ITMSTATERNG = lv_IT_ITMSTATERNG
IT_MATLOC = lv_IT_MATLOC
IT_PRMVALRNG = lv_IT_PRMVALRNG
IT_PRMVALSEL = lv_IT_PRMVALSEL
IT_PRTSEL = lv_IT_PRTSEL
IT_TSTSEL = lv_IT_TSTSEL
IT_TTYPERNG = lv_IT_TTYPERNG
IV_ALL = lv_IV_ALL
IV_COMPLETE_ORDER = lv_IV_COMPLETE_ORDER
IV_VRSIOID = lv_IV_VRSIOID
IMPORTING
EV_DO_CHECK = lv_EV_DO_CHECK
CHANGING
CT_OBJHDR = lv_CT_OBJHDR
CT_OBJITM = lv_CT_OBJITM
CT_OBJSDL = lv_CT_OBJSDL ).

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!