MAP SAP Method Table of Order Reasons --> Mapping Code from liveCache









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

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


Parameters of Method MAP

.

NameTypeData TypeDescriptionDefault Value
IT_ID_INTERNALImportingTYPE
/SCMB/TDL_BUYTYPE_CODE_TAB
Table with Buytype Codes
IV_ID_SUPPLIERImportingTYPE
/SCMB/TDL_BUYTYPE_CODE
TDL: Stability Code
EV_MAPPEDExportingTYPE
/SCMB/TDL_BUYTYPECODES_MAPPED
Natural Number
CT_RETURNChangingTYPE
BAPIRETTAB
Table with BAPI Return Information



Exceptions of Method MAP

This method does not have any exceptions

Example ABAP coding


DATA: lv_CT_RETURN TYPE BAPIRETTAB,
lv_EV_MAPPED TYPE /SCMB/TDL_BUYTYPECODES_MAPPED,
lv_IT_ID_INTERNAL TYPE /SCMB/TDL_BUYTYPE_CODE_TAB,
lv_IV_ID_SUPPLIER TYPE /SCMB/TDL_BUYTYPE_CODE,
lv_other TYPE c.

CALL METHOD /SCMB/CL_BUYTYPE=>MAP(
EXPORTING
IT_ID_INTERNAL = lv_IT_ID_INTERNAL
IV_ID_SUPPLIER = lv_IV_ID_SUPPLIER
IMPORTING
EV_MAPPED = lv_EV_MAPPED
CHANGING
CT_RETURN = lv_CT_RETURN ).

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



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!