SAP CKST_POSSIBILITY_OF_ITEMS Function Module for
CKST_POSSIBILITY_OF_ITEMS is a standard ckst possibility of items 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 ckst possibility of items FM, simply by entering the name CKST_POSSIBILITY_OF_ITEMS into the relevant SAP transaction such as SE37 or SE38.
Function Group: CKST
Program Name: SAPLCKST
Main Program: SAPLCKST
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function CKST_POSSIBILITY_OF_ITEMS 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 'CKST_POSSIBILITY_OF_ITEMS'".
EXPORTING
UKALN = "Cost estimate number of cost est. entered
EXPLODE_BPO = "
EXPLODE_KF_TOO = "
STRAT = "
BAUGR = "Item Is an Assembly
TYPPS = "Item Category
MKALK = "Mixed Costing Indicator
FEHLKZ = "Error Indicator
* PRICE_MANUAL = ' ' "
* BZOBJ_HEAD = "
EXPLODE_RAW = "
EXCEPTIONS
NO_ITEMIZATION_POSSIBLE = 1
IMPORTING Parameters details for CKST_POSSIBILITY_OF_ITEMS
UKALN - Cost estimate number of cost est. entered
Data type: CKIS-UKALNOptional: No
Call by Reference: Yes
EXPLODE_BPO -
Data type: COptional: No
Call by Reference: Yes
EXPLODE_KF_TOO -
Data type: COptional: No
Call by Reference: Yes
STRAT -
Data type: CKIS-STRATOptional: No
Call by Reference: Yes
BAUGR - Item Is an Assembly
Data type: CKIS-BAUGROptional: No
Call by Reference: Yes
TYPPS - Item Category
Data type: CKIS-TYPPSOptional: No
Call by Reference: Yes
MKALK - Mixed Costing Indicator
Data type: CKIS-MKALKOptional: No
Call by Reference: Yes
FEHLKZ - Error Indicator
Data type: CKIS-FEHLKZOptional: No
Call by Reference: Yes
PRICE_MANUAL -
Data type: CKIS-PRICE_MANUALDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
BZOBJ_HEAD -
Data type: KHSK-BZOBJOptional: Yes
Call by Reference: No ( called with pass by value option)
EXPLODE_RAW -
Data type: COptional: No
Call by Reference: Yes
EXCEPTIONS details
NO_ITEMIZATION_POSSIBLE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for CKST_POSSIBILITY_OF_ITEMS 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_ukaln | TYPE CKIS-UKALN, " | |||
| lv_no_itemization_possible | TYPE CKIS, " | |||
| lv_explode_bpo | TYPE C, " | |||
| lv_explode_kf_too | TYPE C, " | |||
| lv_strat | TYPE CKIS-STRAT, " | |||
| lv_baugr | TYPE CKIS-BAUGR, " | |||
| lv_typps | TYPE CKIS-TYPPS, " | |||
| lv_mkalk | TYPE CKIS-MKALK, " | |||
| lv_fehlkz | TYPE CKIS-FEHLKZ, " | |||
| lv_price_manual | TYPE CKIS-PRICE_MANUAL, " SPACE | |||
| lv_bzobj_head | TYPE KHSK-BZOBJ, " | |||
| lv_explode_raw | TYPE C. " |
|   CALL FUNCTION 'CKST_POSSIBILITY_OF_ITEMS' " |
| EXPORTING | ||
| UKALN | = lv_ukaln | |
| EXPLODE_BPO | = lv_explode_bpo | |
| EXPLODE_KF_TOO | = lv_explode_kf_too | |
| STRAT | = lv_strat | |
| BAUGR | = lv_baugr | |
| TYPPS | = lv_typps | |
| MKALK | = lv_mkalk | |
| FEHLKZ | = lv_fehlkz | |
| PRICE_MANUAL | = lv_price_manual | |
| BZOBJ_HEAD | = lv_bzobj_head | |
| EXPLODE_RAW | = lv_explode_raw | |
| EXCEPTIONS | ||
| NO_ITEMIZATION_POSSIBLE = 1 | ||
| . " CKST_POSSIBILITY_OF_ITEMS | ||
ABAP code using 7.40 inline data declarations to call FM CKST_POSSIBILITY_OF_ITEMS
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 UKALN FROM CKIS INTO @DATA(ld_ukaln). | ||||
| "SELECT single STRAT FROM CKIS INTO @DATA(ld_strat). | ||||
| "SELECT single BAUGR FROM CKIS INTO @DATA(ld_baugr). | ||||
| "SELECT single TYPPS FROM CKIS INTO @DATA(ld_typps). | ||||
| "SELECT single MKALK FROM CKIS INTO @DATA(ld_mkalk). | ||||
| "SELECT single FEHLKZ FROM CKIS INTO @DATA(ld_fehlkz). | ||||
| "SELECT single PRICE_MANUAL FROM CKIS INTO @DATA(ld_price_manual). | ||||
| DATA(ld_price_manual) | = ' '. | |||
| "SELECT single BZOBJ FROM KHSK INTO @DATA(ld_bzobj_head). | ||||
Search for further information about these or an SAP related objects