FKK_WLI_SELECT_FOR_WL 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 FKK_WLI_SELECT_FOR_WL into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
FKK_CM_WL
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'FKK_WLI_SELECT_FOR_WL' "
* EXPORTING
* iv_last_read = " timestamp UTC Time Stamp in Short Form (YYYYMMDDhhmmss)
* iv_xrerate = " boolean Boolean Variable (X=True, -=False, Space=Unknown)
* iv_wlitype = " wlitype_cm_kk Work Item Type
TABLES
* ir_agent = " fkkr_wliassigned Ranges Structure for Responsible Persons
* ir_unit = " fkkr_wliassigned Ranges Structure for Responsible Persons
ir_wlident = " fkkr_wlident
* ir_wlistat = " fkkr_wlistatus
* it_resp_combi = " fkkclerk_cm_combi
rt_wli = " dfkkwli Worklist Entries
EXCEPTIONS
NOT_FOUND = 1 "
. " FKK_WLI_SELECT_FOR_WL
The ABAP code below is a full code listing to execute function module FKK_WLI_SELECT_FOR_WL 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_ir_agent | TYPE STANDARD TABLE OF FKKR_WLIASSIGNED,"TABLES PARAM |
| wa_ir_agent | LIKE LINE OF it_ir_agent , |
| it_ir_unit | TYPE STANDARD TABLE OF FKKR_WLIASSIGNED,"TABLES PARAM |
| wa_ir_unit | LIKE LINE OF it_ir_unit , |
| it_ir_wlident | TYPE STANDARD TABLE OF FKKR_WLIDENT,"TABLES PARAM |
| wa_ir_wlident | LIKE LINE OF it_ir_wlident , |
| it_ir_wlistat | TYPE STANDARD TABLE OF FKKR_WLISTATUS,"TABLES PARAM |
| wa_ir_wlistat | LIKE LINE OF it_ir_wlistat , |
| it_it_resp_combi | TYPE STANDARD TABLE OF FKKCLERK_CM_COMBI,"TABLES PARAM |
| wa_it_resp_combi | LIKE LINE OF it_it_resp_combi , |
| it_rt_wli | TYPE STANDARD TABLE OF DFKKWLI,"TABLES PARAM |
| wa_rt_wli | LIKE LINE OF it_rt_wli . |
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_iv_last_read | TYPE TIMESTAMP , |
| it_ir_agent | TYPE STANDARD TABLE OF FKKR_WLIASSIGNED , |
| wa_ir_agent | LIKE LINE OF it_ir_agent, |
| ld_iv_xrerate | TYPE BOOLEAN , |
| it_ir_unit | TYPE STANDARD TABLE OF FKKR_WLIASSIGNED , |
| wa_ir_unit | LIKE LINE OF it_ir_unit, |
| ld_iv_wlitype | TYPE WLITYPE_CM_KK , |
| it_ir_wlident | TYPE STANDARD TABLE OF FKKR_WLIDENT , |
| wa_ir_wlident | LIKE LINE OF it_ir_wlident, |
| it_ir_wlistat | TYPE STANDARD TABLE OF FKKR_WLISTATUS , |
| wa_ir_wlistat | LIKE LINE OF it_ir_wlistat, |
| it_it_resp_combi | TYPE STANDARD TABLE OF FKKCLERK_CM_COMBI , |
| wa_it_resp_combi | LIKE LINE OF it_it_resp_combi, |
| it_rt_wli | TYPE STANDARD TABLE OF DFKKWLI , |
| wa_rt_wli | LIKE LINE OF it_rt_wli. |
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 FKK_WLI_SELECT_FOR_WL or its description.