MAP_TCD_DATA SAP Method Map TCD data to extract structures









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

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


Parameters of Method MAP_TCD_DATA

.

NameTypeData TypeDescriptionDefault Value
IS_COMP_ORGImportingTYPE
/SCMB/S_ORGUNIT
Organizational Unit
IS_SFIR_ROOTImportingTYPE
/SCMTMS/S_SFIR_ROOT_K
SFIR Root Node
IS_TOR_ROOTImportingTYPE
/SCMTMS/S_TOR_ROOT_K
Root Node
IT_TCD_ELEMENTImportingTYPE
/SCMTMS/T_TCD_DISTR_ELEMENT_K
Transportation Charge Distribution Element
IT_TCD_ELEMENT_BEFOREImportingTYPE
/SCMTMS/T_TCD_DISTR_ELEMENT_K
Transportation Charge Distribution Element
IT_TCD_ITEMImportingTYPE
/SCMTMS/T_TCD_DISTR_ITEM_K
Transportation Charge Distribution Item
IT_TCD_ITEM_BEFOREImportingTYPE
/SCMTMS/T_TCD_DISTR_ITEM_K
Transportation Charge Distribution Item
IT_TCD_ITEM_BTDImportingTYPE
/SCMTMS/T_TCD_DIS_ITEM_BTDREF
Table of Distribution item and BTD reference
IT_TCD_ROOTImportingTYPE
/SCMTMS/T_TCD_ROOT_K
Charge Distribution root
IT_TCD_ROOT_BEFOREImportingTYPE
/SCMTMS/T_TCD_ROOT_K
Charge Distribution root
IV_CANCELImportingTYPE
BOOLE_D
Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
IV_UPDMODEImportingTYPE
RSUPDMODE
Mode of data update (Full, Delta, etc.)
CT_EXTR_STR_TCDChangingTYPE
/SCMTMS/TYT_EXTR_STR_TCD
Table Type for Extract Structure for Charge Distribution



Exceptions of Method MAP_TCD_DATA

This method does not have any exceptions

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_CT_EXTR_STR_TCD TYPE /SCMTMS/TYT_EXTR_STR_TCD,
lv_IS_COMP_ORG TYPE /SCMB/S_ORGUNIT,
lv_IS_SFIR_ROOT TYPE /SCMTMS/S_SFIR_ROOT_K,
lv_IS_TOR_ROOT TYPE /SCMTMS/S_TOR_ROOT_K,
lv_IT_TCD_ELEMENT TYPE /SCMTMS/T_TCD_DISTR_ELEMENT_K,
lv_IT_TCD_ELEMENT_BEFORE TYPE /SCMTMS/T_TCD_DISTR_ELEMENT_K,
lv_IT_TCD_ITEM TYPE /SCMTMS/T_TCD_DISTR_ITEM_K,
lv_IT_TCD_ITEM_BEFORE TYPE /SCMTMS/T_TCD_DISTR_ITEM_K,
lv_IT_TCD_ITEM_BTD TYPE /SCMTMS/T_TCD_DIS_ITEM_BTDREF,
lv_IT_TCD_ROOT TYPE /SCMTMS/T_TCD_ROOT_K,
lv_IT_TCD_ROOT_BEFORE TYPE /SCMTMS/T_TCD_ROOT_K,
lv_IV_CANCEL TYPE BOOLE_D,
lv_IV_UPDMODE TYPE RSUPDMODE,
lv_other TYPE c.

CALL METHOD /SCMTMS/CL_BW_EXTRACTION=>MAP_TCD_DATA(
EXPORTING
IS_COMP_ORG = lv_IS_COMP_ORG
IS_SFIR_ROOT = lv_IS_SFIR_ROOT
IS_TOR_ROOT = lv_IS_TOR_ROOT
IT_TCD_ELEMENT = lv_IT_TCD_ELEMENT
IT_TCD_ELEMENT_BEFORE = lv_IT_TCD_ELEMENT_BEFORE
IT_TCD_ITEM = lv_IT_TCD_ITEM
IT_TCD_ITEM_BEFORE = lv_IT_TCD_ITEM_BEFORE
IT_TCD_ITEM_BTD = lv_IT_TCD_ITEM_BTD
IT_TCD_ROOT = lv_IT_TCD_ROOT
IT_TCD_ROOT_BEFORE = lv_IT_TCD_ROOT_BEFORE
IV_CANCEL = lv_IV_CANCEL
IV_UPDMODE = lv_IV_UPDMODE
CHANGING
CT_EXTR_STR_TCD = lv_CT_EXTR_STR_TCD ).

Links to Related Class(s)

/SCMTMS/...
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!