SAP MLCCS_SPLITTING_ROLLUP Function Module for
MLCCS_SPLITTING_ROLLUP is a standard mlccs splitting rollup 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 splitting rollup FM, simply by entering the name MLCCS_SPLITTING_ROLLUP 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_SPLITTING_ROLLUP 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_SPLITTING_ROLLUP'".
EXPORTING
IMP_KEPH = "Cost Components in Cost Component split
* ALLES_WAELZEN = ' ' "
IMPORTING
ERROR_FLAG = "
CHANGING
EXP_KEPH = "Cost Components in Cost Component split
TABLES
FELDUEBERLAUF = "Table of Cost Fields with Overflows
IT_TCKH3 = "Cost Component Split
EXCEPTIONS
TCKH3_LEER = 1
IMPORTING Parameters details for MLCCS_SPLITTING_ROLLUP
IMP_KEPH - Cost Components in Cost Component split
Data type: MLCCS_S_COST_COMPONENTSOptional: No
Call by Reference: Yes
ALLES_WAELZEN -
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: Yes
EXPORTING Parameters details for MLCCS_SPLITTING_ROLLUP
ERROR_FLAG -
Data type: CKI64A-SELKZOptional: No
Call by Reference: Yes
CHANGING Parameters details for MLCCS_SPLITTING_ROLLUP
EXP_KEPH - Cost Components in Cost Component split
Data type: MLCCS_S_COST_COMPONENTSOptional: No
Call by Reference: Yes
TABLES Parameters details for MLCCS_SPLITTING_ROLLUP
FELDUEBERLAUF - Table of Cost Fields with Overflows
Data type: CKIKFOVEROptional: No
Call by Reference: No ( called with pass by value option)
IT_TCKH3 - Cost Component Split
Data type: TCKH3Optional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
TCKH3_LEER -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for MLCCS_SPLITTING_ROLLUP 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_exp_keph | TYPE MLCCS_S_COST_COMPONENTS, " | |||
| lv_imp_keph | TYPE MLCCS_S_COST_COMPONENTS, " | |||
| lv_error_flag | TYPE CKI64A-SELKZ, " | |||
| lv_tckh3_leer | TYPE CKI64A, " | |||
| lt_feldueberlauf | TYPE STANDARD TABLE OF CKIKFOVER, " | |||
| lt_it_tckh3 | TYPE STANDARD TABLE OF TCKH3, " | |||
| lv_alles_waelzen | TYPE C. " SPACE |
|   CALL FUNCTION 'MLCCS_SPLITTING_ROLLUP' " |
| EXPORTING | ||
| IMP_KEPH | = lv_imp_keph | |
| ALLES_WAELZEN | = lv_alles_waelzen | |
| IMPORTING | ||
| ERROR_FLAG | = lv_error_flag | |
| CHANGING | ||
| EXP_KEPH | = lv_exp_keph | |
| TABLES | ||
| FELDUEBERLAUF | = lt_feldueberlauf | |
| IT_TCKH3 | = lt_it_tckh3 | |
| EXCEPTIONS | ||
| TCKH3_LEER = 1 | ||
| . " MLCCS_SPLITTING_ROLLUP | ||
ABAP code using 7.40 inline data declarations to call FM MLCCS_SPLITTING_ROLLUP
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 SELKZ FROM CKI64A INTO @DATA(ld_error_flag). | ||||
| DATA(ld_alles_waelzen) | = ' '. | |||
Search for further information about these or an SAP related objects