SAP MLCCS_CKMLKEPH_INIT Function Module for
MLCCS_CKMLKEPH_INIT is a standard mlccs ckmlkeph init 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 mlccs ckmlkeph init FM, simply by entering the name MLCCS_CKMLKEPH_INIT into the relevant SAP transaction such as SE37 or SE38.
Function Group: MLCCS_TOOLS
Program Name: SAPLMLCCS_TOOLS
Main Program: SAPLMLCCS_TOOLS
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function MLCCS_CKMLKEPH_INIT 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 'MLCCS_CKMLKEPH_INIT'".
EXPORTING
IS_CUST = "Customizing Switch-Actual Costing
* I_CURTP = "Currency type and valuation view
* I_ACCBDATJ = "
* I_ACCPOPER = "Posting Period
* I_KALNR = "Cost Estimate Number for Cost Est. w/o Qty Structure
* I_BDATJ = "Posting date YYYY
* I_POPER = "Posting Period
* I_UNTPER = '000' "Value Structure Type
* I_CATEG = "Category in Material Ledger Data Display
* I_PTYP = "Process category for procurement alt. or consuption alt.
* I_BVALT = "Procurement Alternative/Process
* I_MLCCT = "Type of Cost Component Split in the Material Ledger
CHANGING
T_CKMLKEPH = "Table Type CKMLKEPH (Sorted)
IMPORTING Parameters details for MLCCS_CKMLKEPH_INIT
IS_CUST - Customizing Switch-Actual Costing
Data type: MLCCS_S_CUSTOMIZINGOptional: No
Call by Reference: Yes
I_CURTP - Currency type and valuation view
Data type: CURTPOptional: Yes
Call by Reference: Yes
I_ACCBDATJ -
Data type: BDATJOptional: Yes
Call by Reference: Yes
I_ACCPOPER - Posting Period
Data type: POPEROptional: Yes
Call by Reference: Yes
I_KALNR - Cost Estimate Number for Cost Est. w/o Qty Structure
Data type: CK_KALNROptional: Yes
Call by Reference: Yes
I_BDATJ - Posting date YYYY
Data type: BDATJOptional: Yes
Call by Reference: Yes
I_POPER - Posting Period
Data type: POPEROptional: Yes
Call by Reference: Yes
I_UNTPER - Value Structure Type
Data type: CK_UNTPERDefault: '000'
Optional: Yes
Call by Reference: Yes
I_CATEG - Category in Material Ledger Data Display
Data type: CKML_CATEGOptional: Yes
Call by Reference: Yes
I_PTYP - Process category for procurement alt. or consuption alt.
Data type: CK_PTYP_BVALTOptional: Yes
Call by Reference: Yes
I_BVALT - Procurement Alternative/Process
Data type: CKML_ALPROCNROptional: Yes
Call by Reference: Yes
I_MLCCT - Type of Cost Component Split in the Material Ledger
Data type: CK_SLMLOptional: Yes
Call by Reference: Yes
CHANGING Parameters details for MLCCS_CKMLKEPH_INIT
T_CKMLKEPH - Table Type CKMLKEPH (Sorted)
Data type: MLCCS_T_KEPHOptional: No
Call by Reference: Yes
Copy and paste ABAP code example for MLCCS_CKMLKEPH_INIT 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_is_cust | TYPE MLCCS_S_CUSTOMIZING, " | |||
| lv_t_ckmlkeph | TYPE MLCCS_T_KEPH, " | |||
| lv_i_curtp | TYPE CURTP, " | |||
| lv_i_accbdatj | TYPE BDATJ, " | |||
| lv_i_accpoper | TYPE POPER, " | |||
| lv_i_kalnr | TYPE CK_KALNR, " | |||
| lv_i_bdatj | TYPE BDATJ, " | |||
| lv_i_poper | TYPE POPER, " | |||
| lv_i_untper | TYPE CK_UNTPER, " '000' | |||
| lv_i_categ | TYPE CKML_CATEG, " | |||
| lv_i_ptyp | TYPE CK_PTYP_BVALT, " | |||
| lv_i_bvalt | TYPE CKML_ALPROCNR, " | |||
| lv_i_mlcct | TYPE CK_SLML. " |
|   CALL FUNCTION 'MLCCS_CKMLKEPH_INIT' " |
| EXPORTING | ||
| IS_CUST | = lv_is_cust | |
| I_CURTP | = lv_i_curtp | |
| I_ACCBDATJ | = lv_i_accbdatj | |
| I_ACCPOPER | = lv_i_accpoper | |
| I_KALNR | = lv_i_kalnr | |
| I_BDATJ | = lv_i_bdatj | |
| I_POPER | = lv_i_poper | |
| I_UNTPER | = lv_i_untper | |
| I_CATEG | = lv_i_categ | |
| I_PTYP | = lv_i_ptyp | |
| I_BVALT | = lv_i_bvalt | |
| I_MLCCT | = lv_i_mlcct | |
| CHANGING | ||
| T_CKMLKEPH | = lv_t_ckmlkeph | |
| . " MLCCS_CKMLKEPH_INIT | ||
ABAP code using 7.40 inline data declarations to call FM MLCCS_CKMLKEPH_INIT
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.| DATA(ld_i_untper) | = '000'. | |||
Search for further information about these or an SAP related objects