SAP CKMO_OUTPUT_SPLIT_CREATE Function Module for
CKMO_OUTPUT_SPLIT_CREATE is a standard ckmo output split create 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 ckmo output split create FM, simply by entering the name CKMO_OUTPUT_SPLIT_CREATE into the relevant SAP transaction such as SE37 or SE38.
Function Group: CKMO
Program Name: SAPLCKMO
Main Program: SAPLCKMO
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CKMO_OUTPUT_SPLIT_CREATE 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 'CKMO_OUTPUT_SPLIT_CREATE'".
EXPORTING
IS_OUTPUTS = "
IT_OUTPUTS_CR = "
IT_CKMLKEV = "Table Type CKMLKEV (sorted)
* IS_MLAUFK = "Key for Order History Tables - Items
I_BWKEY = "Valuation Area
* I_SINGLE_CURTP = ' ' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
* I_FALLBACK_POPER = "Posting Period
* I_FALLBACK_BDATJ = "Posting date YYYY
IMPORTING
ET_MLAUFKEPH = "Material Ledger: CostCompSplit (Components)for Order History
EXCEPTIONS
MLCCS_NOT_ACTIVE = 1
IMPORTING Parameters details for CKMO_OUTPUT_SPLIT_CREATE
IS_OUTPUTS -
Data type: CKMLCCS_ORDER_GMOptional: No
Call by Reference: Yes
IT_OUTPUTS_CR -
Data type: CKI_T_ORDER_IO_CROptional: No
Call by Reference: Yes
IT_CKMLKEV - Table Type CKMLKEV (sorted)
Data type: MLCCS_T_KEVOptional: No
Call by Reference: Yes
IS_MLAUFK - Key for Order History Tables - Items
Data type: CKI_MLAUF_KOptional: Yes
Call by Reference: Yes
I_BWKEY - Valuation Area
Data type: BWKEYOptional: No
Call by Reference: Yes
I_SINGLE_CURTP - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE_DDefault: SPACE
Optional: Yes
Call by Reference: Yes
I_FALLBACK_POPER - Posting Period
Data type: POPEROptional: Yes
Call by Reference: Yes
I_FALLBACK_BDATJ - Posting date YYYY
Data type: BDATJOptional: Yes
Call by Reference: Yes
EXPORTING Parameters details for CKMO_OUTPUT_SPLIT_CREATE
ET_MLAUFKEPH - Material Ledger: CostCompSplit (Components)for Order History
Data type: MLCCS_T_MLAUFKEPHOptional: No
Call by Reference: Yes
EXCEPTIONS details
MLCCS_NOT_ACTIVE -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CKMO_OUTPUT_SPLIT_CREATE 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_outputs | TYPE CKMLCCS_ORDER_GM, " | |||
| lv_et_mlaufkeph | TYPE MLCCS_T_MLAUFKEPH, " | |||
| lv_mlccs_not_active | TYPE MLCCS_T_MLAUFKEPH, " | |||
| lv_it_outputs_cr | TYPE CKI_T_ORDER_IO_CR, " | |||
| lv_it_ckmlkev | TYPE MLCCS_T_KEV, " | |||
| lv_is_mlaufk | TYPE CKI_MLAUF_K, " | |||
| lv_i_bwkey | TYPE BWKEY, " | |||
| lv_i_single_curtp | TYPE BOOLE_D, " SPACE | |||
| lv_i_fallback_poper | TYPE POPER, " | |||
| lv_i_fallback_bdatj | TYPE BDATJ. " |
|   CALL FUNCTION 'CKMO_OUTPUT_SPLIT_CREATE' " |
| EXPORTING | ||
| IS_OUTPUTS | = lv_is_outputs | |
| IT_OUTPUTS_CR | = lv_it_outputs_cr | |
| IT_CKMLKEV | = lv_it_ckmlkev | |
| IS_MLAUFK | = lv_is_mlaufk | |
| I_BWKEY | = lv_i_bwkey | |
| I_SINGLE_CURTP | = lv_i_single_curtp | |
| I_FALLBACK_POPER | = lv_i_fallback_poper | |
| I_FALLBACK_BDATJ | = lv_i_fallback_bdatj | |
| IMPORTING | ||
| ET_MLAUFKEPH | = lv_et_mlaufkeph | |
| EXCEPTIONS | ||
| MLCCS_NOT_ACTIVE = 1 | ||
| . " CKMO_OUTPUT_SPLIT_CREATE | ||
ABAP code using 7.40 inline data declarations to call FM CKMO_OUTPUT_SPLIT_CREATE
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_single_curtp) | = ' '. | |||
Search for further information about these or an SAP related objects