GET_EXTERNAL_SCU SAP Method Determine External ID of Supply Chain Unit









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

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


Parameters of Method GET_EXTERNAL_SCU

.

NameTypeData TypeDescriptionDefault Value
IV_SCU_GUIDImportingTYPE
/SCMB/DE_GUID
GUID of an SCM Master Data Object
IV_WITH_MSGImportingTYPE
BOOLE_D
Data Element for Domain BOOLE: TRUE (='X') and FALSE (=' ')
ES_SCU_MAPExportingTYPE
/SCMB/TOENTITYMP_STR
Supply Chain Unit
EV_SCU_BSGExportingTYPE
/SCMB/MDL_LOGQS
Business System Group
EV_SCU_ID_EXTExportingTYPE
/SCMB/OE_ENTITY
Supply Chain Unit



Exceptions of Method GET_EXTERNAL_SCU

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCTM/CL_BAPI.
DATA: lv_ES_SCU_MAP TYPE /SCMB/TOENTITYMP_STR,
lv_EV_SCU_BSG TYPE /SCMB/MDL_LOGQS,
lv_EV_SCU_ID_EXT TYPE /SCMB/OE_ENTITY,
lv_IV_SCU_GUID TYPE /SCMB/DE_GUID,
lv_IV_WITH_MSG TYPE BOOLE_D,
lv_other TYPE c.

CALL METHOD lo_class=>GET_EXTERNAL_SCU(
EXPORTING
IV_SCU_GUID = lv_IV_SCU_GUID
IV_WITH_MSG = lv_IV_WITH_MSG
IMPORTING
ES_SCU_MAP = lv_ES_SCU_MAP
EV_SCU_BSG = lv_EV_SCU_BSG
EV_SCU_ID_EXT = lv_EV_SCU_ID_EXT ).

Links to Related Class(s)

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