SAP KKPP_EXIT_SAPLKKEX_001 Function Module for
KKPP_EXIT_SAPLKKEX_001 is a standard kkpp exit saplkkex 001 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used to perform a specific ABAP function and below is the pattern details, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.
See here to view full function module documentation and code listing for kkpp exit saplkkex 001 FM, simply by entering the name KKPP_EXIT_SAPLKKEX_001 into the relevant SAP transaction such as SE37 or SE38.
Function Group: KKEX
Program Name: SAPLKKEX
Main Program:
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function KKPP_EXIT_SAPLKKEX_001 pattern details
In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.CALL FUNCTION 'KKPP_EXIT_SAPLKKEX_001'".
EXPORTING
I_COSTING_VARIANT = "
* I_SANKA = "
I_MATERIAL_NUMBER = "
I_PLANT = "
I_PRODUCT_COSTING = "
* I_STLTY = "
* I_STLNR = "
* I_STLKN = "
* I_STPOZ = "
* I_POSNR = "
IMPORTING
E_REJECT = "
IMPORTING Parameters details for KKPP_EXIT_SAPLKKEX_001
I_COSTING_VARIANT -
Data type: KEKO-KLVAROptional: No
Call by Reference: No ( called with pass by value option)
I_SANKA -
Data type: STPOX-SANKAOptional: Yes
Call by Reference: Yes
I_MATERIAL_NUMBER -
Data type: KEKO-MATNROptional: No
Call by Reference: No ( called with pass by value option)
I_PLANT -
Data type: KEKO-WERKSOptional: No
Call by Reference: No ( called with pass by value option)
I_PRODUCT_COSTING -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
I_STLTY -
Data type: STLTYOptional: Yes
Call by Reference: Yes
I_STLNR -
Data type: STNUMOptional: Yes
Call by Reference: Yes
I_STLKN -
Data type: STLKNOptional: Yes
Call by Reference: Yes
I_STPOZ -
Data type: CIM_COUNTOptional: Yes
Call by Reference: Yes
I_POSNR -
Data type: STPOX-POSNROptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for KKPP_EXIT_SAPLKKEX_001
E_REJECT -
Data type: COptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for KKPP_EXIT_SAPLKKEX_001 Function Module
The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than the latest in-line data DECLARATION SYNTAX but I have included an ABAP code snippet at the end to show how declarations would look using the newer method of declaring data variables on the fly. This will allow you to compare and fully understand the new inline method. Please note some of the newer syntax such as the @DATA is not available until a later 4.70 service pack (SP8), which i why i have stuck to the origianl for this example.| DATA: | ||||
| lv_e_reject | TYPE C, " | |||
| lv_i_costing_variant | TYPE KEKO-KLVAR, " | |||
| lv_i_sanka | TYPE STPOX-SANKA, " | |||
| lv_i_material_number | TYPE KEKO-MATNR, " | |||
| lv_i_plant | TYPE KEKO-WERKS, " | |||
| lv_i_product_costing | TYPE C, " | |||
| lv_i_stlty | TYPE STLTY, " | |||
| lv_i_stlnr | TYPE STNUM, " | |||
| lv_i_stlkn | TYPE STLKN, " | |||
| lv_i_stpoz | TYPE CIM_COUNT, " | |||
| lv_i_posnr | TYPE STPOX-POSNR. " |
|   CALL FUNCTION 'KKPP_EXIT_SAPLKKEX_001' " |
| EXPORTING | ||
| I_COSTING_VARIANT | = lv_i_costing_variant | |
| I_SANKA | = lv_i_sanka | |
| I_MATERIAL_NUMBER | = lv_i_material_number | |
| I_PLANT | = lv_i_plant | |
| I_PRODUCT_COSTING | = lv_i_product_costing | |
| I_STLTY | = lv_i_stlty | |
| I_STLNR | = lv_i_stlnr | |
| I_STLKN | = lv_i_stlkn | |
| I_STPOZ | = lv_i_stpoz | |
| I_POSNR | = lv_i_posnr | |
| IMPORTING | ||
| E_REJECT | = lv_e_reject | |
| . " KKPP_EXIT_SAPLKKEX_001 | ||
ABAP code using 7.40 inline data declarations to call FM KKPP_EXIT_SAPLKKEX_001
The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.| "SELECT single KLVAR FROM KEKO INTO @DATA(ld_i_costing_variant). | ||||
| "SELECT single SANKA FROM STPOX INTO @DATA(ld_i_sanka). | ||||
| "SELECT single MATNR FROM KEKO INTO @DATA(ld_i_material_number). | ||||
| "SELECT single WERKS FROM KEKO INTO @DATA(ld_i_plant). | ||||
| "SELECT single POSNR FROM STPOX INTO @DATA(ld_i_posnr). | ||||
Search for further information about these or an SAP related objects