SAP CK_F_SHOW_KLVAR_SELECTION_LIST Function Module for
CK_F_SHOW_KLVAR_SELECTION_LIST is a standard ck f show klvar selection list 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 ck f show klvar selection list FM, simply by entering the name CK_F_SHOW_KLVAR_SELECTION_LIST into the relevant SAP transaction such as SE37 or SE38.
Function Group: CK30
Program Name: SAPLCK30
Main Program: SAPLCK30
Appliation area: M
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CK_F_SHOW_KLVAR_SELECTION_LIST 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 'CK_F_SHOW_KLVAR_SELECTION_LIST'".
EXPORTING
* AKTYP = ' ' "
* NO_REPETITIVE = ' ' "
* SEL_VALUATION = ' ' "
* APL_PRODUCTCOSTING = ' ' "Application product costing
* APL_UNITCOSTING = ' ' "Application unit costing
* EXTEND_DISPLAY = ' ' "
* ONLY_DISPLAY = ' ' "
* SEL_BZOBJ = ' ' "Costing vrnts selected that have this ref. obj.
* SEL_KALKA = ' ' "Costing vrnts selected that have this costing type
* SEL_UPDKZ = 'B' "Costing vrnts selected that have this UPDATE indicator
* SEL_REPETITIVE = ' ' "
IMPORTING
KLVAR = "
IMPORTING Parameters details for CK_F_SHOW_KLVAR_SELECTION_LIST
AKTYP -
Data type: RC27S-AKTYPDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
NO_REPETITIVE -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SEL_VALUATION -
Data type: CHAR1Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
APL_PRODUCTCOSTING - Application product costing
Data type: CKI64A-SELKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
APL_UNITCOSTING - Application unit costing
Data type: CKI64A-SELKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXTEND_DISPLAY -
Data type: CKI64A-SELKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
ONLY_DISPLAY -
Data type: CKI64A-SELKZDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SEL_BZOBJ - Costing vrnts selected that have this ref. obj.
Data type: TCK01-BZOBJDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SEL_KALKA - Costing vrnts selected that have this costing type
Data type: TCK01-KALKADefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
SEL_UPDKZ - Costing vrnts selected that have this UPDATE indicator
Data type:Default: 'B'
Optional: Yes
Call by Reference: No ( called with pass by value option)
SEL_REPETITIVE -
Data type:Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for CK_F_SHOW_KLVAR_SELECTION_LIST
KLVAR -
Data type: TCK03-KLVAROptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CK_F_SHOW_KLVAR_SELECTION_LIST 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_aktyp | TYPE RC27S-AKTYP, " SPACE | |||
| lv_klvar | TYPE TCK03-KLVAR, " | |||
| lv_no_repetitive | TYPE TCK03, " SPACE | |||
| lv_sel_valuation | TYPE CHAR1, " SPACE | |||
| lv_apl_productcosting | TYPE CKI64A-SELKZ, " SPACE | |||
| lv_apl_unitcosting | TYPE CKI64A-SELKZ, " SPACE | |||
| lv_extend_display | TYPE CKI64A-SELKZ, " SPACE | |||
| lv_only_display | TYPE CKI64A-SELKZ, " SPACE | |||
| lv_sel_bzobj | TYPE TCK01-BZOBJ, " SPACE | |||
| lv_sel_kalka | TYPE TCK01-KALKA, " SPACE | |||
| lv_sel_updkz | TYPE TCK01, " 'B' | |||
| lv_sel_repetitive | TYPE TCK01. " SPACE |
|   CALL FUNCTION 'CK_F_SHOW_KLVAR_SELECTION_LIST' " |
| EXPORTING | ||
| AKTYP | = lv_aktyp | |
| NO_REPETITIVE | = lv_no_repetitive | |
| SEL_VALUATION | = lv_sel_valuation | |
| APL_PRODUCTCOSTING | = lv_apl_productcosting | |
| APL_UNITCOSTING | = lv_apl_unitcosting | |
| EXTEND_DISPLAY | = lv_extend_display | |
| ONLY_DISPLAY | = lv_only_display | |
| SEL_BZOBJ | = lv_sel_bzobj | |
| SEL_KALKA | = lv_sel_kalka | |
| SEL_UPDKZ | = lv_sel_updkz | |
| SEL_REPETITIVE | = lv_sel_repetitive | |
| IMPORTING | ||
| KLVAR | = lv_klvar | |
| . " CK_F_SHOW_KLVAR_SELECTION_LIST | ||
ABAP code using 7.40 inline data declarations to call FM CK_F_SHOW_KLVAR_SELECTION_LIST
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 AKTYP FROM RC27S INTO @DATA(ld_aktyp). | ||||
| DATA(ld_aktyp) | = ' '. | |||
| "SELECT single KLVAR FROM TCK03 INTO @DATA(ld_klvar). | ||||
| DATA(ld_no_repetitive) | = ' '. | |||
| DATA(ld_sel_valuation) | = ' '. | |||
| "SELECT single SELKZ FROM CKI64A INTO @DATA(ld_apl_productcosting). | ||||
| DATA(ld_apl_productcosting) | = ' '. | |||
| "SELECT single SELKZ FROM CKI64A INTO @DATA(ld_apl_unitcosting). | ||||
| DATA(ld_apl_unitcosting) | = ' '. | |||
| "SELECT single SELKZ FROM CKI64A INTO @DATA(ld_extend_display). | ||||
| DATA(ld_extend_display) | = ' '. | |||
| "SELECT single SELKZ FROM CKI64A INTO @DATA(ld_only_display). | ||||
| DATA(ld_only_display) | = ' '. | |||
| "SELECT single BZOBJ FROM TCK01 INTO @DATA(ld_sel_bzobj). | ||||
| DATA(ld_sel_bzobj) | = ' '. | |||
| "SELECT single KALKA FROM TCK01 INTO @DATA(ld_sel_kalka). | ||||
| DATA(ld_sel_kalka) | = ' '. | |||
| DATA(ld_sel_updkz) | = 'B'. | |||
| DATA(ld_sel_repetitive) | = ' '. | |||
Search for further information about these or an SAP related objects