SAP CKML_F_CKML1_PRICES_GET Function Module for
CKML_F_CKML1_PRICES_GET is a standard ckml f ckml1 prices get 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 ckml f ckml1 prices get FM, simply by entering the name CKML_F_CKML1_PRICES_GET into the relevant SAP transaction such as SE37 or SE38.
Function Group: CKML
Program Name: SAPLCKML
Main Program: SAPLCKML
Appliation area: K
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CKML_F_CKML1_PRICES_GET 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 'CKML_F_CKML1_PRICES_GET'".
EXPORTING
* REFRESH_CKI_PRS = ' ' "Checkbox
* KONSISTENZ_PRUEFEN = 'X' "Checkbox
* CALL_BY_MMIM = ' ' "
* CALL_BY_MMIV = ' ' "
* MBEQU = "
* XCHECK = ' ' "
* NO_PROFIT_CENTER_PRICE = ' ' "Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
TABLES
T_CKI_PR1 = "Materials requested
T_CKI_PRS = "Valuation prices issued
EXCEPTIONS
NO_ML_DATA_FOUND = 1
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLCKMLMVQUANT_001
IMPORTING Parameters details for CKML_F_CKML1_PRICES_GET
REFRESH_CKI_PRS - Checkbox
Data type: XFELDDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
KONSISTENZ_PRUEFEN - Checkbox
Data type: XFELDDefault: 'X'
Optional: Yes
Call by Reference: No ( called with pass by value option)
CALL_BY_MMIM -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
CALL_BY_MMIV -
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
MBEQU -
Data type: TCURM-MBEQUOptional: Yes
Call by Reference: No ( called with pass by value option)
XCHECK -
Data type: CDefault: SPACE
Optional: Yes
Call by Reference: Yes
NO_PROFIT_CENTER_PRICE - Data Element for BOOLE Domain: TRUE (='X') and FALSE (=' ')
Data type: BOOLE-BOOLEDefault: SPACE
Optional: Yes
Call by Reference: Yes
TABLES Parameters details for CKML_F_CKML1_PRICES_GET
T_CKI_PR1 - Materials requested
Data type: CKI_PR1_MLOptional: No
Call by Reference: No ( called with pass by value option)
T_CKI_PRS - Valuation prices issued
Data type: CKI_PRS_MLOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_ML_DATA_FOUND -
Data type:Optional: No
Call by Reference: Yes
Copy and paste ABAP code example for CKML_F_CKML1_PRICES_GET 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: | ||||
| lt_t_cki_pr1 | TYPE STANDARD TABLE OF CKI_PR1_ML, " | |||
| lv_refresh_cki_prs | TYPE XFELD, " SPACE | |||
| lv_no_ml_data_found | TYPE XFELD, " | |||
| lt_t_cki_prs | TYPE STANDARD TABLE OF CKI_PRS_ML, " | |||
| lv_konsistenz_pruefen | TYPE XFELD, " 'X' | |||
| lv_call_by_mmim | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_call_by_mmiv | TYPE BOOLE-BOOLE, " SPACE | |||
| lv_mbequ | TYPE TCURM-MBEQU, " | |||
| lv_xcheck | TYPE C, " SPACE | |||
| lv_no_profit_center_price | TYPE BOOLE-BOOLE. " SPACE |
|   CALL FUNCTION 'CKML_F_CKML1_PRICES_GET' " |
| EXPORTING | ||
| REFRESH_CKI_PRS | = lv_refresh_cki_prs | |
| KONSISTENZ_PRUEFEN | = lv_konsistenz_pruefen | |
| CALL_BY_MMIM | = lv_call_by_mmim | |
| CALL_BY_MMIV | = lv_call_by_mmiv | |
| MBEQU | = lv_mbequ | |
| XCHECK | = lv_xcheck | |
| NO_PROFIT_CENTER_PRICE | = lv_no_profit_center_price | |
| TABLES | ||
| T_CKI_PR1 | = lt_t_cki_pr1 | |
| T_CKI_PRS | = lt_t_cki_prs | |
| EXCEPTIONS | ||
| NO_ML_DATA_FOUND = 1 | ||
| . " CKML_F_CKML1_PRICES_GET | ||
ABAP code using 7.40 inline data declarations to call FM CKML_F_CKML1_PRICES_GET
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_refresh_cki_prs) | = ' '. | |||
| DATA(ld_konsistenz_pruefen) | = 'X'. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_call_by_mmim). | ||||
| DATA(ld_call_by_mmim) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_call_by_mmiv). | ||||
| DATA(ld_call_by_mmiv) | = ' '. | |||
| "SELECT single MBEQU FROM TCURM INTO @DATA(ld_mbequ). | ||||
| DATA(ld_xcheck) | = ' '. | |||
| "SELECT single BOOLE FROM BOOLE INTO @DATA(ld_no_profit_center_price). | ||||
| DATA(ld_no_profit_center_price) | = ' '. | |||
Search for further information about these or an SAP related objects