CPE_REQUIRED_CHECK SAP Method CPE - Check if CPE Call Is Required for Document
Below is documentation, parameters and attributes of ABAP Method CPE_REQUIRED_CHECK within SAP class IF_EX_BADI_CPE_R3. 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 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 CPE_REQUIRED_CHECK can also be found below:
- Importing parameters
- Exporting parameters
- Changing parameters
- Returning parameters
- Exceptions
- Coding Examples
Parameters of Method CPE_REQUIRED_CHECK
.| Name | Type | Data Type | Description | Default Value |
| IS_KOMK | Importing | TYPE KOMK | Communication Header for Pricing | |
| IS_KOMP | Importing | TYPE KOMP | Pricing Communication Item | |
| IT_KOMV | Importing | TYPE KOMV_TAB | Table type komv | |
| IV_USE_BUFFER | Importing | TYPE CHAR1 | Single-character flag | |
| EV_CPE_REQUIRED | Exporting | TYPE CHAR1 | Single-character flag |
Exceptions of Method CPE_REQUIRED_CHECK
This method does not have any exceptionsExample ABAP coding
DATA: lo_class TYPE REF TO IF_EX_BADI_CPE_R3.
DATA: lv_EV_CPE_REQUIRED TYPE CHAR1,
lv_IS_KOMK TYPE KOMK,
lv_IS_KOMP TYPE KOMP,
lv_IT_KOMV TYPE KOMV_TAB,
lv_IV_USE_BUFFER TYPE CHAR1,
lv_other TYPE c.
CALL METHOD lo_class=>CPE_REQUIRED_CHECK(
EXPORTING
IS_KOMK = lv_IS_KOMK
IS_KOMP = lv_IS_KOMP
IT_KOMV = lv_IT_KOMV
IV_USE_BUFFER = lv_IV_USE_BUFFER
IMPORTING
EV_CPE_REQUIRED = lv_EV_CPE_REQUIRED ).
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