CODE_TO_INT_CODE SAP Method Mapping External Codes to Internal
Below is documentation, parameters and attributes of ABAP Method CODE_TO_INT_CODE within SAP class /SCMB/CL_CDL_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/CL_CDL_MAP 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 directlyThe following technical details of method CODE_TO_INT_CODE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CODE_TO_INT_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 | ||
| IV_CLISTTYPE | Importing | TYPE /SCMB/CDL_CLISTTYPE | Internal Code List (Data Element as Semantic Domain) | |
| IV_CODE | Importing | TYPE /SCMB/CDL_CODE | Code | |
| IV_PARTNER | Importing | TYPE BU_PARTNER | Business Partner Number | |
| EV_INT_CODE | Exporting | TYPE /SCMB/CDL_INT_CODE | Internal Code |
Exceptions of Method CODE_TO_INT_CODE
/SCMB/CX_CDL - Error Code List MappingExample ABAP coding
DATA: lv_EV_INT_CODE TYPE /SCMB/CDL_INT_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_CODE TYPE /SCMB/CDL_CODE,
lv_IV_PARTNER TYPE BU_PARTNER,
lv_other TYPE c.
CALL METHOD /SCMB/CL_CDL_MAP=>CODE_TO_INT_CODE(
EXPORTING
IS_CLISTID = lv_IS_CLISTID
IT_FIELD_VALUE = lv_IT_FIELD_VALUE
IV_CLISTTYPE = lv_IV_CLISTTYPE
IV_CODE = lv_IV_CODE
IV_PARTNER = lv_IV_PARTNER
IMPORTING
EV_INT_CODE = lv_EV_INT_CODE ).
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