SAP CKPC01_IPPE_AMOUNT_CALC Function Module for NOTRANSL: KALKTAB aus iPPE-Objekten aufbauen









CKPC01_IPPE_AMOUNT_CALC is a standard ckpc01 ippe amount calc SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: KALKTAB aus iPPE-Objekten aufbauen processing and below is the pattern details for this FM, 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 ckpc01 ippe amount calc FM, simply by entering the name CKPC01_IPPE_AMOUNT_CALC into the relevant SAP transaction such as SE37 or SE38.

Function Group: CKPC01
Program Name: SAPLCKPC01
Main Program: SAPLCKPC01
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function CKPC01_IPPE_AMOUNT_CALC 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 'CKPC01_IPPE_AMOUNT_CALC'"NOTRANSL: KALKTAB aus iPPE-Objekten aufbauen
EXPORTING
I_KLVAR = "Costing Variant
* I_KZBWS = ' ' "Valuation of Special Stock
* I_SOBES = ' ' "Special Procurement - External Representation
* I_LOBEZUS = ' ' "Overhead on Subcontracted Materials
I_KALKSCHEMA = "Costing Sheet for Calculating Overhead

IMPORTING
E_CAUFVD = "Dialog Structure for Order Headers and Items

CHANGING
C_KVMK = "Transfer Segment for Costing Object

EXCEPTIONS
INTERNAL_ERROR = 1 IPPE_NOT_FOUND = 2 IPPE_ENTRY_NOT_FOUND = 3
.



IMPORTING Parameters details for CKPC01_IPPE_AMOUNT_CALC

I_KLVAR - Costing Variant

Data type: TCK03-KLVAR
Optional: No
Call by Reference: Yes

I_KZBWS - Valuation of Special Stock

Data type: KZBWS
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_SOBES - Special Procurement - External Representation

Data type: ESOBS
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_LOBEZUS - Overhead on Subcontracted Materials

Data type: CK_LOBEZUS
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_KALKSCHEMA - Costing Sheet for Calculating Overhead

Data type: CK_KALSM
Optional: No
Call by Reference: Yes

EXPORTING Parameters details for CKPC01_IPPE_AMOUNT_CALC

E_CAUFVD - Dialog Structure for Order Headers and Items

Data type: CAUFVD
Optional: No
Call by Reference: Yes

CHANGING Parameters details for CKPC01_IPPE_AMOUNT_CALC

C_KVMK - Transfer Segment for Costing Object

Data type: CKKVMK
Optional: No
Call by Reference: Yes

EXCEPTIONS details

INTERNAL_ERROR - Internal error

Data type:
Optional: No
Call by Reference: Yes

IPPE_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

IPPE_ENTRY_NOT_FOUND -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for CKPC01_IPPE_AMOUNT_CALC 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_c_kvmk  TYPE CKKVMK, "   
lv_i_klvar  TYPE TCK03-KLVAR, "   
lv_e_caufvd  TYPE CAUFVD, "   
lv_internal_error  TYPE CAUFVD, "   
lv_i_kzbws  TYPE KZBWS, "   SPACE
lv_ippe_not_found  TYPE KZBWS, "   
lv_i_sobes  TYPE ESOBS, "   SPACE
lv_ippe_entry_not_found  TYPE ESOBS, "   
lv_i_lobezus  TYPE CK_LOBEZUS, "   SPACE
lv_i_kalkschema  TYPE CK_KALSM. "   

  CALL FUNCTION 'CKPC01_IPPE_AMOUNT_CALC'  "NOTRANSL: KALKTAB aus iPPE-Objekten aufbauen
    EXPORTING
         I_KLVAR = lv_i_klvar
         I_KZBWS = lv_i_kzbws
         I_SOBES = lv_i_sobes
         I_LOBEZUS = lv_i_lobezus
         I_KALKSCHEMA = lv_i_kalkschema
    IMPORTING
         E_CAUFVD = lv_e_caufvd
    CHANGING
         C_KVMK = lv_c_kvmk
    EXCEPTIONS
        INTERNAL_ERROR = 1
        IPPE_NOT_FOUND = 2
        IPPE_ENTRY_NOT_FOUND = 3
. " CKPC01_IPPE_AMOUNT_CALC




ABAP code using 7.40 inline data declarations to call FM CKPC01_IPPE_AMOUNT_CALC

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 TCK03 INTO @DATA(ld_i_klvar).
 
 
 
DATA(ld_i_kzbws) = ' '.
 
 
DATA(ld_i_sobes) = ' '.
 
 
DATA(ld_i_lobezus) = ' '.
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!