GET_QUANTITY_DATA SAP Method CPE - Get Quantity Conversion Data from the ERP system
Below is documentation, parameters and attributes of ABAP Method GET_QUANTITY_DATA within SAP class IF_EX_BADI_CPE_R3_DATA_CUS. 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 IF_EX_BADI_CPE_R3_DATA_CUS 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 GET_QUANTITY_DATA can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method GET_QUANTITY_DATA
.| Name | Type | Data Type | Description | Default Value |
| IS_KOMK | Importing | TYPE KOMK | Communication Header for Pricing | |
| IS_KOMP | Importing | TYPE KOMP | Pricing Communication Item | |
| IV_QUANCONVSRC | Importing | TYPE CPET_QUANCONVSRC | CPE - Quantity Conversion Source | |
| ET_QUANCONV_IF | Exporting | TYPE CPET_QUANCONV_IF_TAB | CPE - Table Type for Quantity Conv. Interface in Pair Format | |
| ET_QUANCONV_IF2 | Exporting | TYPE CPET_QUANCONV_IF2_TAB | CPE - Table Type for Quantity Conv. Interface in Table Form |
Exceptions of Method GET_QUANTITY_DATA
CPET_QUANCONV_IF_TAB
CPET_QUANCONV_IF2_TAB
Example ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_CPE_R3_DATA_CUS.
DATA: lv_ET_QUANCONV_IF TYPE CPET_QUANCONV_IF_TAB,
lv_ET_QUANCONV_IF2 TYPE CPET_QUANCONV_IF2_TAB,
lv_IS_KOMK TYPE KOMK,
lv_IS_KOMP TYPE KOMP,
lv_IV_QUANCONVSRC TYPE CPET_QUANCONVSRC,
lv_other TYPE c.
CALL METHOD lo_class=>GET_QUANTITY_DATA(
EXPORTING
IS_KOMK = lv_IS_KOMK
IS_KOMP = lv_IS_KOMP
IV_QUANCONVSRC = lv_IV_QUANCONVSRC
IMPORTING
ET_QUANCONV_IF = lv_ET_QUANCONV_IF
ET_QUANCONV_IF2 = lv_ET_QUANCONV_IF2 ).
Links to Related Class(s)
IF_EX_BA...Full list of available SAP object classes
Search for further information about these or an SAP related objects