GET_USED_CREF SAP Method Delivers Hierarchy Levels Used









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

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


Parameters of Method GET_USED_CREF

.

NameTypeData TypeDescriptionDefault Value
IO_ORDAImportingTYPE REF TO
/SCMB/CL_ODM_ORDA
IS_CTRLImportingTYPE
/SCMB/ODM_CONTROL_GET
IV_MAPPING_ALIGNEDImportingTYPE
XFELD
Only Read Mapping Entries for Components Requested
EV_CREF_HEADER_USEDExportingTYPE
XFELD
EV_CREF_HIGHESTExportingTYPE
/SCMB/ODM_CREF
EV_CREF_ITEM_USEDExportingTYPE
XFELD
EV_CREF_LOWESTExportingTYPE
/SCMB/ODM_CREF
ODM: Component Reference Type
EV_CREF_SCHEDULE_LINE_USEDExportingTYPE
XFELD



Exceptions of Method GET_USED_CREF

/SCMB/CX_ODM_ORDTYPE - ODM: Order Data 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_EV_CREF_HEADER_USED TYPE XFELD,
lv_EV_CREF_HIGHEST TYPE /SCMB/ODM_CREF,
lv_EV_CREF_ITEM_USED TYPE XFELD,
lv_EV_CREF_LOWEST TYPE /SCMB/ODM_CREF,
lv_EV_CREF_SCHEDULE_LINE_USED TYPE XFELD,
lv_IO_ORDA TYPE /SCMB/CL_ODM_ORDA,
lv_IS_CTRL TYPE /SCMB/ODM_CONTROL_GET,
lv_IV_MAPPING_ALIGNED TYPE XFELD,
lv_other TYPE c.

CALL METHOD /SCMB/CL_ODM=>GET_USED_CREF(
EXPORTING
IO_ORDA = lv_IO_ORDA
IS_CTRL = lv_IS_CTRL
IV_MAPPING_ALIGNED = lv_IV_MAPPING_ALIGNED
IMPORTING
EV_CREF_HEADER_USED = lv_EV_CREF_HEADER_USED
EV_CREF_HIGHEST = lv_EV_CREF_HIGHEST
EV_CREF_ITEM_USED = lv_EV_CREF_ITEM_USED
EV_CREF_LOWEST = lv_EV_CREF_LOWEST
EV_CREF_SCHEDULE_LINE_USED = lv_EV_CREF_SCHEDULE_LINE_USED ).

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!