CK_F_KEKOS_SELECTION is a standard SAP function module available within R/3 SAP systems depending on your version and release level. Below is the pattern details for this FM showing its interface including any import and export parameters, exceptions etc as well as any documentation contributions (Comments) specific to the object.
See here to view full function module documentation and code listing, simply by entering the name CK_F_KEKOS_SELECTION into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
CKAR
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'CK_F_KEKOS_SELECTION' "
EXPORTING
maschin = " xfeld
manuell = " xfeld
mimeger = " xfeld
ohmeger = " xfeld
used_for_archive_rel = " xfeld
* p_kalaid = " ck_kalaid
* p_kaladat = " ck_kaladat
* bapi_call = " xfeld
* f_kekokey = " ckikekokey
TABLES
t_keko = " cost_keko_itab
* p_klvar = " rsklvar
* p_tvers = " rstvers
* p_kadat = " rskadat
* p_bidat = " rsbidat
* p_matnr = " rsmatnr
* p_werks = " rswerks
* p_bukrs = " rsbukrs
* p_feh_sta = " rsfehsta
* t_kalaid = " bapicostingrun
* t_kaladat = " bapicostingrun_date
. " CK_F_KEKOS_SELECTION
The ABAP code below is a full code listing to execute function module CK_F_KEKOS_SELECTION including all data declarations. The code uses 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 original method of declaring data variables up front. 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).
| it_t_keko | TYPE STANDARD TABLE OF COST_KEKO_ITAB,"TABLES PARAM |
| wa_t_keko | LIKE LINE OF it_t_keko , |
| it_p_klvar | TYPE STANDARD TABLE OF RSKLVAR,"TABLES PARAM |
| wa_p_klvar | LIKE LINE OF it_p_klvar , |
| it_p_tvers | TYPE STANDARD TABLE OF RSTVERS,"TABLES PARAM |
| wa_p_tvers | LIKE LINE OF it_p_tvers , |
| it_p_kadat | TYPE STANDARD TABLE OF RSKADAT,"TABLES PARAM |
| wa_p_kadat | LIKE LINE OF it_p_kadat , |
| it_p_bidat | TYPE STANDARD TABLE OF RSBIDAT,"TABLES PARAM |
| wa_p_bidat | LIKE LINE OF it_p_bidat , |
| it_p_matnr | TYPE STANDARD TABLE OF RSMATNR,"TABLES PARAM |
| wa_p_matnr | LIKE LINE OF it_p_matnr , |
| it_p_werks | TYPE STANDARD TABLE OF RSWERKS,"TABLES PARAM |
| wa_p_werks | LIKE LINE OF it_p_werks , |
| it_p_bukrs | TYPE STANDARD TABLE OF RSBUKRS,"TABLES PARAM |
| wa_p_bukrs | LIKE LINE OF it_p_bukrs , |
| it_p_feh_sta | TYPE STANDARD TABLE OF RSFEHSTA,"TABLES PARAM |
| wa_p_feh_sta | LIKE LINE OF it_p_feh_sta , |
| it_t_kalaid | TYPE STANDARD TABLE OF BAPICOSTINGRUN,"TABLES PARAM |
| wa_t_kalaid | LIKE LINE OF it_t_kalaid , |
| it_t_kaladat | TYPE STANDARD TABLE OF BAPICOSTINGRUN_DATE,"TABLES PARAM |
| wa_t_kaladat | LIKE LINE OF it_t_kaladat . |
The below ABAP code uses the older none in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. It may also be useful if you are using an older version of SAP as some of the newer syntax above, such as the @DATA is not available until 4.70 EHP 8.
DATA:
| ld_maschin | TYPE XFELD , |
| it_t_keko | TYPE STANDARD TABLE OF COST_KEKO_ITAB , |
| wa_t_keko | LIKE LINE OF it_t_keko, |
| ld_manuell | TYPE XFELD , |
| it_p_klvar | TYPE STANDARD TABLE OF RSKLVAR , |
| wa_p_klvar | LIKE LINE OF it_p_klvar, |
| ld_mimeger | TYPE XFELD , |
| it_p_tvers | TYPE STANDARD TABLE OF RSTVERS , |
| wa_p_tvers | LIKE LINE OF it_p_tvers, |
| ld_ohmeger | TYPE XFELD , |
| it_p_kadat | TYPE STANDARD TABLE OF RSKADAT , |
| wa_p_kadat | LIKE LINE OF it_p_kadat, |
| ld_used_for_archive_rel | TYPE XFELD , |
| it_p_bidat | TYPE STANDARD TABLE OF RSBIDAT , |
| wa_p_bidat | LIKE LINE OF it_p_bidat, |
| ld_p_kalaid | TYPE CK_KALAID , |
| it_p_matnr | TYPE STANDARD TABLE OF RSMATNR , |
| wa_p_matnr | LIKE LINE OF it_p_matnr, |
| ld_p_kaladat | TYPE CK_KALADAT , |
| it_p_werks | TYPE STANDARD TABLE OF RSWERKS , |
| wa_p_werks | LIKE LINE OF it_p_werks, |
| ld_bapi_call | TYPE XFELD , |
| it_p_bukrs | TYPE STANDARD TABLE OF RSBUKRS , |
| wa_p_bukrs | LIKE LINE OF it_p_bukrs, |
| ld_f_kekokey | TYPE CKIKEKOKEY , |
| it_p_feh_sta | TYPE STANDARD TABLE OF RSFEHSTA , |
| wa_p_feh_sta | LIKE LINE OF it_p_feh_sta, |
| it_t_kalaid | TYPE STANDARD TABLE OF BAPICOSTINGRUN , |
| wa_t_kalaid | LIKE LINE OF it_t_kalaid, |
| it_t_kaladat | TYPE STANDARD TABLE OF BAPICOSTINGRUN_DATE , |
| wa_t_kaladat | LIKE LINE OF it_t_kaladat. |
Please help keep this info upto date and use the comments section below to add useful hints, tips and information specific to this SAP function. This will then be available for you and other users to easily find by simply searching on the object name CK_F_KEKOS_SELECTION or its description.