GET3 SAP Method Delivers Triple-Level Ord. Documents, Selection by Criteria









Below is documentation, parameters and attributes of ABAP Method GET3 within SAP class /SCMB/CL_ODM. 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/CL_ODM into the relevant SAP transactions such as SE24 or SE80, and then selecting the method you are interested in.


Method Type - Static

This is a Static Method so you can call it directly

The following technical details of method GET3 can also be found below:

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


Parameters of Method GET3

.

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_ORTYPEImportingTYPE
/SCMB/ODM_ORTYPE_TAB
ODM: Order Document Type
IT_PRMVALRNGImportingTYPE
/SCMB/ODM_PRMVALRNG_TAB
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_COMPLETE_ORDERImportingTYPE
/SCMB/ODM_COMPLETE_ORDER
ODM: Read Order Document Completely
IV_CORRECT_VRSIOImportingTYPE
XFELD
Version ID: Correctly Filled in Separate Versions
IV_LOCKFLGImportingTYPE
/SCMB/ODM_LOCKFLG
ODM: Lock Order Document
IV_MAPPING_ALIGNEDImportingTYPE
/SCMB/ODM_MAPPING_ALIGNED
Only Read Mapping Entries for Components Requested
IV_RELEVANT_MAPPINGSImportingTYPE
XFELD
Select the mapping records for the IDs (hdr, itm, sdln)
IV_VRSIOIDImportingTYPE
/SCMB/ODM_VRSIOID
ODM: Version
ET_ORDIDExportingTYPE
/SCMB/ODM_ORDID_STAB
ODM: Order Document Identification by ID
ET_OREXTExportingTYPE
/SCMB/ODM_ORE_STAB
ODM: Extension (as Reference, Sorted)
ET_ORHDRExportingTYPE
/SCMB/ODM_ORH_STAB
ODM: Order Document Header (Sorted)
ET_ORITMExportingTYPE
/SCMB/ODM_ORI3_STAB
ODM: Order Item (Triple-Level Document Type, Sorted)
ET_ORMAPExportingTYPE
/SCMB/ODM_ORM3_STAB
ODM: Mapping (Triple-Level Document Type, Sorted)
ET_ORREFExportingTYPE
/SCMB/ODM_ORR_STAB
ODM: Order Document Reference (Sorted)
ET_ORSDLExportingTYPE
/SCMB/ODM_ORS_STAB
ODM: Order Document Schedule Line (Sorted)



Exceptions of Method GET3

/SCMB/CX_ODM_ORTYPE - ODM: Order Document Type Error

Example ABAP coding


DATA: lv_ET_ORDID TYPE /SCMB/ODM_ORDID_STAB,
lv_ET_OREXT TYPE /SCMB/ODM_ORE_STAB,
lv_ET_ORHDR TYPE /SCMB/ODM_ORH_STAB,
lv_ET_ORITM TYPE /SCMB/ODM_ORI3_STAB,
lv_ET_ORMAP TYPE /SCMB/ODM_ORM3_STAB,
lv_ET_ORREF TYPE /SCMB/ODM_ORR_STAB,
lv_ET_ORSDL TYPE /SCMB/ODM_ORS_STAB,
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_ORTYPE TYPE /SCMB/ODM_ORTYPE_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_COMPLETE_ORDER TYPE /SCMB/ODM_COMPLETE_ORDER,
lv_IV_CORRECT_VRSIO TYPE XFELD,
lv_IV_LOCKFLG TYPE /SCMB/ODM_LOCKFLG,
lv_IV_MAPPING_ALIGNED TYPE /SCMB/ODM_MAPPING_ALIGNED,
lv_IV_RELEVANT_MAPPINGS TYPE XFELD,
lv_IV_VRSIOID TYPE /SCMB/ODM_VRSIOID,
lv_other TYPE c.

CALL METHOD /SCMB/CL_ODM=>GET3(
EXPORTING
IS_CTRL = lv_IS_CTRL
IT_HDRSTATERNG = lv_IT_HDRSTATERNG
IT_ITMSTATERNG = lv_IT_ITMSTATERNG
IT_MATLOC = lv_IT_MATLOC
IT_ORTYPE = lv_IT_ORTYPE
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_COMPLETE_ORDER = lv_IV_COMPLETE_ORDER
IV_CORRECT_VRSIO = lv_IV_CORRECT_VRSIO
IV_LOCKFLG = lv_IV_LOCKFLG
IV_MAPPING_ALIGNED = lv_IV_MAPPING_ALIGNED
IV_RELEVANT_MAPPINGS = lv_IV_RELEVANT_MAPPINGS
IV_VRSIOID = lv_IV_VRSIOID
IMPORTING
ET_ORDID = lv_ET_ORDID
ET_OREXT = lv_ET_OREXT
ET_ORHDR = lv_ET_ORHDR
ET_ORITM = lv_ET_ORITM
ET_ORMAP = lv_ET_ORMAP
ET_ORREF = lv_ET_ORREF
ET_ORSDL = lv_ET_ORSDL ).

Links to Related Class(s)

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