GET_TOR_ITEM_CCODE SAP Method Get commodity code for TOR ITEM
Below is documentation, parameters and attributes of ABAP Method GET_TOR_ITEM_CCODE 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 directlyThe following technical details of method GET_TOR_ITEM_CCODE can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_TOR_ITEM_CCODE
.| Name | Type | Data Type | Description | Default Value |
| IS_TOR_ITEM | Importing | TYPE /SCMTMS/S_TOR_ITEM_TR_K | Transient node for items | |
| IT_TOR_ITEMCCODE | Importing | TYPE /SCMTMS/T_TOR_CCODE_K | Commodity Codes | |
| EV_CCODE | Exporting | TYPE /SCMTMS/COMMODITY_CODE | Commodity Code | |
| EV_CCODE_TYPE | Exporting | TYPE /SCMTMS/COMMODITY_CODE_TYPE | Commodity Code Type |
Exceptions of Method GET_TOR_ITEM_CCODE
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: lv_EV_CCODE TYPE /SCMTMS/COMMODITY_CODE,
lv_EV_CCODE_TYPE TYPE /SCMTMS/COMMODITY_CODE_TYPE,
lv_IS_TOR_ITEM TYPE /SCMTMS/S_TOR_ITEM_TR_K,
lv_IT_TOR_ITEMCCODE TYPE /SCMTMS/T_TOR_CCODE_K,
lv_other TYPE c.
CALL METHOD /SCMTMS/CL_BW_EXTRACTION=>GET_TOR_ITEM_CCODE(
EXPORTING
IS_TOR_ITEM = lv_IS_TOR_ITEM
IT_TOR_ITEMCCODE = lv_IT_TOR_ITEMCCODE
IMPORTING
EV_CCODE = lv_EV_CCODE
EV_CCODE_TYPE = lv_EV_CCODE_TYPE ).
Links to Related Class(s)
/SCMTMS/...Full list of available SAP object classes
Search for further information about these or an SAP related objects