SAP CKM8_ML_SCHEME_DISPLAY Function Module for
CKM8_ML_SCHEME_DISPLAY is a standard ckm8 ml scheme display 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 ckm8 ml scheme display FM, simply by entering the name CKM8_ML_SCHEME_DISPLAY into the relevant SAP transaction such as SE37 or SE38.
Function Group: CKM8
Program Name: SAPLCKM8
Main Program: SAPLCKM8
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CKM8_ML_SCHEME_DISPLAY 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 'CKM8_ML_SCHEME_DISPLAY'".
EXPORTING
* I_REFRESH = "
* IT_LISTHEADER = "List Header
* IT_PAGEHEADER = "Page Header
I_PARENT = "Container
* I_RUN_ID = "Number of Costing Runs for Material Ledger
* I_UNTPER = '000' "
I_BWKEY = "
I_CURTP = "
I_KALNR = "
I_BDATJ = "
I_POPER = "
EXCEPTIONS
NO_DATA_FOUND = 1 INTERNAL_ERROR = 2
IMPORTING Parameters details for CKM8_ML_SCHEME_DISPLAY
I_REFRESH -
Data type: BOOLE_DOptional: Yes
Call by Reference: Yes
IT_LISTHEADER - List Header
Data type: SLIS_T_LISTHEADEROptional: Yes
Call by Reference: Yes
IT_PAGEHEADER - Page Header
Data type: SLIS_T_LISTHEADEROptional: Yes
Call by Reference: Yes
I_PARENT - Container
Data type: CL_GUI_CONTAINEROptional: No
Call by Reference: Yes
I_RUN_ID - Number of Costing Runs for Material Ledger
Data type: CKML_RUN_IDOptional: Yes
Call by Reference: Yes
I_UNTPER -
Data type: CKMLCR-UNTPERDefault: '000'
Optional: Yes
Call by Reference: Yes
I_BWKEY -
Data type: CKMLHD-BWKEYOptional: No
Call by Reference: Yes
I_CURTP -
Data type: CKMLCR-CURTPOptional: No
Call by Reference: Yes
I_KALNR -
Data type: CKMLHD-KALNROptional: No
Call by Reference: Yes
I_BDATJ -
Data type: CKMLCR-BDATJOptional: No
Call by Reference: Yes
I_POPER -
Data type: CKMLCR-POPEROptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_DATA_FOUND -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
INTERNAL_ERROR -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CKM8_ML_SCHEME_DISPLAY 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_i_refresh | TYPE BOOLE_D, " | |||
| lv_no_data_found | TYPE BOOLE_D, " | |||
| lv_it_listheader | TYPE SLIS_T_LISTHEADER, " | |||
| lv_it_pageheader | TYPE SLIS_T_LISTHEADER, " | |||
| lv_i_parent | TYPE CL_GUI_CONTAINER, " | |||
| lv_internal_error | TYPE CL_GUI_CONTAINER, " | |||
| lv_i_run_id | TYPE CKML_RUN_ID, " | |||
| lv_i_untper | TYPE CKMLCR-UNTPER, " '000' | |||
| lv_i_bwkey | TYPE CKMLHD-BWKEY, " | |||
| lv_i_curtp | TYPE CKMLCR-CURTP, " | |||
| lv_i_kalnr | TYPE CKMLHD-KALNR, " | |||
| lv_i_bdatj | TYPE CKMLCR-BDATJ, " | |||
| lv_i_poper | TYPE CKMLCR-POPER. " |
|   CALL FUNCTION 'CKM8_ML_SCHEME_DISPLAY' " |
| EXPORTING | ||
| I_REFRESH | = lv_i_refresh | |
| IT_LISTHEADER | = lv_it_listheader | |
| IT_PAGEHEADER | = lv_it_pageheader | |
| I_PARENT | = lv_i_parent | |
| I_RUN_ID | = lv_i_run_id | |
| I_UNTPER | = lv_i_untper | |
| I_BWKEY | = lv_i_bwkey | |
| I_CURTP | = lv_i_curtp | |
| I_KALNR | = lv_i_kalnr | |
| I_BDATJ | = lv_i_bdatj | |
| I_POPER | = lv_i_poper | |
| EXCEPTIONS | ||
| NO_DATA_FOUND = 1 | ||
| INTERNAL_ERROR = 2 | ||
| . " CKM8_ML_SCHEME_DISPLAY | ||
ABAP code using 7.40 inline data declarations to call FM CKM8_ML_SCHEME_DISPLAY
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 UNTPER FROM CKMLCR INTO @DATA(ld_i_untper). | ||||
| DATA(ld_i_untper) | = '000'. | |||
| "SELECT single BWKEY FROM CKMLHD INTO @DATA(ld_i_bwkey). | ||||
| "SELECT single CURTP FROM CKMLCR INTO @DATA(ld_i_curtp). | ||||
| "SELECT single KALNR FROM CKMLHD INTO @DATA(ld_i_kalnr). | ||||
| "SELECT single BDATJ FROM CKMLCR INTO @DATA(ld_i_bdatj). | ||||
| "SELECT single POPER FROM CKMLCR INTO @DATA(ld_i_poper). | ||||
Search for further information about these or an SAP related objects