INT_CODE_TO_CODE SAP Method Mapping of SAP-Internal Code to External Code
Below is documentation, parameters and attributes of ABAP Method INT_CODE_TO_CODE within SAP class /SCMB/IF_CODELIST_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_CODELIST_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 INT_CODE_TO_CODE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method INT_CODE_TO_CODE
.| Name | Type | Data Type | Description | Default Value |
| IS_CLISTID | Importing | TYPE /SCMB/CDL_LIST_ID_STR | Attributes Identifying a Code List | |
| IT_FIELD_VALUE | Importing | TYPE /SCMB/T_CDL_FIELD_VALUE | Field Name - Value Combinations for BAdI Code Mapping | |
| IV_CLISTTYPE | Importing | TYPE /SCMB/CDL_CLISTTYPE | Internal Code List (Data Element) | |
| IV_INT_CODE | Importing | TYPE /SCMB/CDL_INT_CODE | Internal Code | |
| IV_PARTNER | Importing | TYPE BU_PARTNER | Business Partner Number | |
| EV_CODE | Exporting | TYPE /SCMB/CDL_CODE | Code |
Exceptions of Method INT_CODE_TO_CODE
/SCMB/CDL_CODE
Example ABAP coding
DATA: lo_class TYPE REF TO /SCMB/IF_CODELIST_MAP.
DATA: lv_EV_CODE TYPE /SCMB/CDL_CODE,
lv_IS_CLISTID TYPE /SCMB/CDL_LIST_ID_STR,
lv_IT_FIELD_VALUE TYPE /SCMB/T_CDL_FIELD_VALUE,
lv_IV_CLISTTYPE TYPE /SCMB/CDL_CLISTTYPE,
lv_IV_INT_CODE TYPE /SCMB/CDL_INT_CODE,
lv_IV_PARTNER TYPE BU_PARTNER,
lv_other TYPE c.
CALL METHOD lo_class=>INT_CODE_TO_CODE(
EXPORTING
IS_CLISTID = lv_IS_CLISTID
IT_FIELD_VALUE = lv_IT_FIELD_VALUE
IV_CLISTTYPE = lv_IV_CLISTTYPE
IV_INT_CODE = lv_IV_INT_CODE
IV_PARTNER = lv_IV_PARTNER
IMPORTING
EV_CODE = lv_EV_CODE ).
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