GROUP_BY_ORDA SAP Method Group Order Documents by Order Data Area









Below is documentation, parameters and attributes of ABAP Method GROUP_BY_ORDA within SAP class /SCMB/CL_ODM_UPD. There is also a number of example ABAP code snipts to help you use the functionality of this method.

This is a private Method so can only be executed from within the class itself. I.e. You could access it from another method of the class.

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_UPD 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 GROUP_BY_ORDA can also be found below:

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


Parameters of Method GROUP_BY_ORDA

.

NameTypeData TypeDescriptionDefault Value
IT_OREXTImportingTYPE
/SCMB/ODM_ORE_TAB
ODM: Extension (as Reference)
IT_ORHDRImportingTYPE
/SCMB/ODM_ORH_TAB
ODM: Order Document Header
IT_ORITM2ImportingTYPE
/SCMB/ODM_ORI2_TAB
ODM: Order Item (Double-Level Document Type)
IT_ORITM3ImportingTYPE
/SCMB/ODM_ORI3_TAB
ODM: Order Item (Triple-Level Document Type)
IT_ORMAPImportingTYPE
/SCMB/ODM_ORM3_TAB
ODM: Mapping (Triple-Level Document Type)
IT_ORREFImportingTYPE
/SCMB/ODM_ORR_TAB
ODM: Order Document Reference
IT_ORSDLImportingTYPE
/SCMB/ODM_ORS_TAB
ODM: Order Document Schedule Line
IV_VRSIOIDImportingTYPE
/SCMB/ODM_VRSIOID
ODM: Version
ET_GRPExportingTYPE
/SCMB/ODM_ORC_ORDERDATA_STAB
Order Documents, Grouped According to Order Data Area



Exceptions of Method GROUP_BY_ORDA

/SCMB/CX_ODM_ORTYPE - ODM: Order Document Type Error

Example ABAP coding

This is a private Method so the below code can only be executed from within the class itself. I.e. from another method of the class.

DATA: lv_ET_GRP TYPE /SCMB/ODM_ORC_ORDERDATA_STAB,
lv_IT_OREXT TYPE /SCMB/ODM_ORE_TAB,
lv_IT_ORHDR TYPE /SCMB/ODM_ORH_TAB,
lv_IT_ORITM2 TYPE /SCMB/ODM_ORI2_TAB,
lv_IT_ORITM3 TYPE /SCMB/ODM_ORI3_TAB,
lv_IT_ORMAP TYPE /SCMB/ODM_ORM3_TAB,
lv_IT_ORREF TYPE /SCMB/ODM_ORR_TAB,
lv_IT_ORSDL TYPE /SCMB/ODM_ORS_TAB,
lv_IV_VRSIOID TYPE /SCMB/ODM_VRSIOID,
lv_other TYPE c.

CALL METHOD /SCMB/CL_ODM_UPD=>GROUP_BY_ORDA(
EXPORTING
IT_OREXT = lv_IT_OREXT
IT_ORHDR = lv_IT_ORHDR
IT_ORITM2 = lv_IT_ORITM2
IT_ORITM3 = lv_IT_ORITM3
IT_ORMAP = lv_IT_ORMAP
IT_ORREF = lv_IT_ORREF
IT_ORSDL = lv_IT_ORSDL
IV_VRSIOID = lv_IV_VRSIOID
IMPORTING
ET_GRP = lv_ET_GRP ).

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!