MAP_TMSLSORG2ERPSLSAREA SAP Method Map TM Sales Org Data to ERP Sales Area
Below is documentation, parameters and attributes of ABAP Method MAP_TMSLSORG2ERPSLSAREA within SAP class /SCMB/CL_BPTM_HELPER. 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/CL_BPTM_HELPER 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_TMSLSORG2ERPSLSAREA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method MAP_TMSLSORG2ERPSLSAREA
.| Name | Type | Data Type | Description | Default Value |
| IT_SLS_ORG | Importing | TYPE /SCMB/T_SLSORG | Table type for Sales Org Data | |
| IV_CMP_ORG | Importing | TYPE /SCMB/CMP_ORG_EXT_ID | External ID of a Company Organization | |
| IV_LOGQS | Importing | TYPE /SAPAPO/LOGQS | Business System Group | |
| IV_SLS_GROUP | Importing | TYPE /SCMB/SGRP_ORG_EXT_ID | Sales Group External ID | |
| IV_SLS_OFFICE | Importing | TYPE /SCMB/BUR_ORG_EXT_ID | Sales Office External ID | |
| IV_SLS_ORG | Importing | TYPE /SCMB/SALES_ORG_EXT_ID | Sales Organization External ID | |
| ET_SLS_ORG_MAP | Exporting | TYPE /SCMB/T_SLSMAP | Mapping table type Org Data SCM to ERP (Sales) |
Exceptions of Method MAP_TMSLSORG2ERPSLSAREA
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO /SCMB/CL_BPTM_HELPER.
DATA: lv_ET_SLS_ORG_MAP TYPE /SCMB/T_SLSMAP,
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_TMSLSORG2ERPSLSAREA(
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 ).
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