MAP_SCM2ERP SAP Method Map Sales Org Data SCM to ERP









Below is documentation, parameters and attributes of ABAP Method MAP_SCM2ERP within SAP class /SCMB/IF_BPTMUI_SLSORG_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_SLSORG_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_SLS_ORGImportingTYPE
/SCMB/T_SLSORG
Table type for Sales Org Data
IV_CMP_ORGImportingTYPE
/SCMB/CMP_ORG_EXT_ID
External ID of a Company Organization
IV_LOGQSImportingTYPE
/SAPAPO/LOGQS
Business System Group
IV_SLS_GROUPImportingTYPE
/SCMB/SGRP_ORG_EXT_ID
Sales Group External ID
IV_SLS_OFFICEImportingTYPE
/SCMB/BUR_ORG_EXT_ID
Sales Office External ID
IV_SLS_ORGImportingTYPE
/SCMB/SALES_ORG_EXT_ID
Sales Organization External ID
ET_SLS_ORG_MAPExportingTYPE
/SCMB/T_SLSMAP
Mapping table type Org Data SCM to ERP (Sales)
EV_SKIP_STANDARDExportingTYPE
ABAP_BOOL
Skip Standrad 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_SLSORG_MAP.
DATA: lv_ET_SLS_ORG_MAP TYPE /SCMB/T_SLSMAP,
lv_EV_SKIP_STANDARD TYPE ABAP_BOOL,
lv_IT_SLS_ORG TYPE /SCMB/T_SLSORG,
lv_IV_CMP_ORG TYPE /SCMB/CMP_ORG_EXT_ID,
lv_IV_LOGQS TYPE /SAPAPO/LOGQS,
lv_IV_SLS_GROUP TYPE /SCMB/SGRP_ORG_EXT_ID,
lv_IV_SLS_OFFICE TYPE /SCMB/BUR_ORG_EXT_ID,
lv_IV_SLS_ORG TYPE /SCMB/SALES_ORG_EXT_ID,
lv_other TYPE c.

CALL METHOD lo_class=>MAP_SCM2ERP(
EXPORTING
IT_SLS_ORG = lv_IT_SLS_ORG
IV_CMP_ORG = lv_IV_CMP_ORG
IV_LOGQS = lv_IV_LOGQS
IV_SLS_GROUP = lv_IV_SLS_GROUP
IV_SLS_OFFICE = lv_IV_SLS_OFFICE
IV_SLS_ORG = lv_IV_SLS_ORG
IMPORTING
ET_SLS_ORG_MAP = lv_ET_SLS_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!