CONVERT_CHA_ID_EXT2INT SAP Method Conversion of Batch ID external to internal
Below is documentation, parameters and attributes of ABAP Method CONVERT_CHA_ID_EXT2INT within SAP class /IAM/CL_ACCESS_ERP_CHA. 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 /IAM/CL_ACCESS_ERP_CHA 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 CONVERT_CHA_ID_EXT2INT can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CONVERT_CHA_ID_EXT2INT
.| Name | Type | Data Type | Description | Default Value |
| IV_DESTINATION | Importing | TYPE RFC_DEST | SAPOSCOL destination | |
| IV_LOGSYS | Importing | TYPE /IAM/LOGSYS | Logical System | |
| IV_MATERIAL | Importing | TYPE /IAM/MATERIAL | Material | |
| EV_MATNR | Exporting | TYPE MATNR | Material Number | |
| EV_IS_S4OP_SYSTEM | Exporting | TYPE ABAP_BOOL | ||
| CT_BAPIMATLST | Changing | TYPE TT_BAPIMATLST | Material Number and Description | |
| CT_MESSAGE | Changing | TYPE BAPIRETTAB | Table with BAPI Return Information |
Exceptions of Method CONVERT_CHA_ID_EXT2INT
This method does not have any exceptionsExample 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: lo_class TYPE REF TO /IAM/CL_ACCESS_ERP_CHA.
DATA: lv_CT_BAPIMATLST TYPE TT_BAPIMATLST,
lv_CT_MESSAGE TYPE BAPIRETTAB,
lv_EV_MATNR TYPE MATNR,
lv_IV_DESTINATION TYPE RFC_DEST,
lv_IV_LOGSYS TYPE /IAM/LOGSYS,
lv_IV_MATERIAL TYPE /IAM/MATERIAL,
lv_EV_IS_S4OP_SYSTEM TYPE ABAP_BOOL,
lv_other TYPE c.
CALL METHOD lo_class=>CONVERT_CHA_ID_EXT2INT(
EXPORTING
IV_DESTINATION = lv_IV_DESTINATION
IV_LOGSYS = lv_IV_LOGSYS
IV_MATERIAL = lv_IV_MATERIAL
IMPORTING
EV_MATNR = lv_EV_MATNR
EV_IS_S4OP_SYSTEM = lv_EV_IS_S4OP_SYSTEM
CHANGING
CT_BAPIMATLST = lv_CT_BAPIMATLST
CT_MESSAGE = lv_CT_MESSAGE ).
Links to Related Class(s)
/IAM/CL_...Full list of available SAP object classes
Search for further information about these or an SAP related objects