MAP_SCM2ERP SAP Method Map Purchasing Org Data SCM to ERP









Below is documentation, parameters and attributes of ABAP Method MAP_SCM2ERP within SAP class /SCMB/IF_BPTMUI_PURORG_MAP. 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_BPTMUI_PURORG_MAP 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 MAP_SCM2ERP can also be found below:

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


Parameters of Method MAP_SCM2ERP

.

NameTypeData TypeDescriptionDefault Value
IT_PUR_ORGImportingTYPE
/SCMB/T_PURORG
Table type for Purchasing Org Data
IV_CMP_ORGImportingTYPE
/SCMB/CMP_ORG_EXT_ID
External ID of a Company Organization
IV_LOGQSImportingTYPE
/SAPAPO/LOGQS
Business System Group
IV_PUR_GROUPImportingTYPE
/SCMB/EGRP_ORG_EXT_ID
Purchase Group External ID
IV_PUR_ORGImportingTYPE
/SCMB/PUR_ORG_EXT_ID
Purchase Organization External ID
ET_PUR_ORG_MAPExportingTYPE
/SCMB/T_PURMAP
Mapping table type Org Data SCM to ERP (Purchasing)
EV_SKIP_STANDARDExportingTYPE
ABAP_BOOL
Skip standard mapping



Exceptions of Method MAP_SCM2ERP

This method does not have any exceptions

Example ABAP coding


DATA: lo_class TYPE REF TO /SCMB/IF_BPTMUI_PURORG_MAP.
DATA: lv_ET_PUR_ORG_MAP TYPE /SCMB/T_PURMAP,
lv_EV_SKIP_STANDARD TYPE ABAP_BOOL,
lv_IT_PUR_ORG TYPE /SCMB/T_PURORG,
lv_IV_CMP_ORG TYPE /SCMB/CMP_ORG_EXT_ID,
lv_IV_LOGQS TYPE /SAPAPO/LOGQS,
lv_IV_PUR_GROUP TYPE /SCMB/EGRP_ORG_EXT_ID,
lv_IV_PUR_ORG TYPE /SCMB/PUR_ORG_EXT_ID,
lv_other TYPE c.

CALL METHOD lo_class=>MAP_SCM2ERP(
EXPORTING
IT_PUR_ORG = lv_IT_PUR_ORG
IV_CMP_ORG = lv_IV_CMP_ORG
IV_LOGQS = lv_IV_LOGQS
IV_PUR_GROUP = lv_IV_PUR_GROUP
IV_PUR_ORG = lv_IV_PUR_ORG
IMPORTING
ET_PUR_ORG_MAP = lv_ET_PUR_ORG_MAP
EV_SKIP_STANDARD = lv_EV_SKIP_STANDARD ).

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!