OIJW_RD 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 OIJW_RD into the relevant SAP transaction such as SE37 or SE80.
Associated Function Group:
OIJW
Released Date:
Not Released
Processing type: Normal fucntion module
CALL FUNCTION 'OIJW_RD' "Rundown reason code checks
EXPORTING
* p_print = 'X' " c
* p_waitu = ' ' " boole-boole Data element for domain BOOLE: TRUE (='X') and FALSE (=' ')
i_wlrc = " oijwl-wlrc TSW: Worklist reason code
TABLES
g_wlrc_tab = " roijwlrc OIL-TSW: Used and selected reason codes
g_oijrd_obj = " v_oijrdsel Generated Table for View V_OIJRDSEL
* g_v_nomtk_tab = " oijw0_g_v_nomtk_tab
* i_s_tsyst = " oij_el_range Ranges structure for selections
* i_s_locid = " oij_el_range Ranges structure for selections
* i_s_nomnr = " oij_el_range Ranges structure for selections
* i_s_matnr = " oij_el_range Ranges structure for selections
* i_s_datum = " oij_el_range Ranges structure for selections
junction_funcs = " roij_el_scenario_detail Detailed information on a movement sccenario
check_funcs = " oijwlrcf TSW Worklist Reason Code to invidual check function
. " OIJW_RD
The ABAP code below is a full code listing to execute function module OIJW_RD 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_g_wlrc_tab | TYPE STANDARD TABLE OF ROIJWLRC,"TABLES PARAM |
| wa_g_wlrc_tab | LIKE LINE OF it_g_wlrc_tab , |
| it_g_oijrd_obj | TYPE STANDARD TABLE OF V_OIJRDSEL,"TABLES PARAM |
| wa_g_oijrd_obj | LIKE LINE OF it_g_oijrd_obj , |
| it_g_v_nomtk_tab | TYPE STANDARD TABLE OF OIJW0_G_V_NOMTK_TAB,"TABLES PARAM |
| wa_g_v_nomtk_tab | LIKE LINE OF it_g_v_nomtk_tab , |
| it_i_s_tsyst | TYPE STANDARD TABLE OF OIJ_EL_RANGE,"TABLES PARAM |
| wa_i_s_tsyst | LIKE LINE OF it_i_s_tsyst , |
| it_i_s_locid | TYPE STANDARD TABLE OF OIJ_EL_RANGE,"TABLES PARAM |
| wa_i_s_locid | LIKE LINE OF it_i_s_locid , |
| it_i_s_nomnr | TYPE STANDARD TABLE OF OIJ_EL_RANGE,"TABLES PARAM |
| wa_i_s_nomnr | LIKE LINE OF it_i_s_nomnr , |
| it_i_s_matnr | TYPE STANDARD TABLE OF OIJ_EL_RANGE,"TABLES PARAM |
| wa_i_s_matnr | LIKE LINE OF it_i_s_matnr , |
| it_i_s_datum | TYPE STANDARD TABLE OF OIJ_EL_RANGE,"TABLES PARAM |
| wa_i_s_datum | LIKE LINE OF it_i_s_datum , |
| it_junction_funcs | TYPE STANDARD TABLE OF ROIJ_EL_SCENARIO_DETAIL,"TABLES PARAM |
| wa_junction_funcs | LIKE LINE OF it_junction_funcs , |
| it_check_funcs | TYPE STANDARD TABLE OF OIJWLRCF,"TABLES PARAM |
| wa_check_funcs | LIKE LINE OF it_check_funcs . |
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_p_print | TYPE C , |
| it_g_wlrc_tab | TYPE STANDARD TABLE OF ROIJWLRC , |
| wa_g_wlrc_tab | LIKE LINE OF it_g_wlrc_tab, |
| ld_p_waitu | TYPE BOOLE-BOOLE , |
| it_g_oijrd_obj | TYPE STANDARD TABLE OF V_OIJRDSEL , |
| wa_g_oijrd_obj | LIKE LINE OF it_g_oijrd_obj, |
| ld_i_wlrc | TYPE OIJWL-WLRC , |
| it_g_v_nomtk_tab | TYPE STANDARD TABLE OF OIJW0_G_V_NOMTK_TAB , |
| wa_g_v_nomtk_tab | LIKE LINE OF it_g_v_nomtk_tab, |
| it_i_s_tsyst | TYPE STANDARD TABLE OF OIJ_EL_RANGE , |
| wa_i_s_tsyst | LIKE LINE OF it_i_s_tsyst, |
| it_i_s_locid | TYPE STANDARD TABLE OF OIJ_EL_RANGE , |
| wa_i_s_locid | LIKE LINE OF it_i_s_locid, |
| it_i_s_nomnr | TYPE STANDARD TABLE OF OIJ_EL_RANGE , |
| wa_i_s_nomnr | LIKE LINE OF it_i_s_nomnr, |
| it_i_s_matnr | TYPE STANDARD TABLE OF OIJ_EL_RANGE , |
| wa_i_s_matnr | LIKE LINE OF it_i_s_matnr, |
| it_i_s_datum | TYPE STANDARD TABLE OF OIJ_EL_RANGE , |
| wa_i_s_datum | LIKE LINE OF it_i_s_datum, |
| it_junction_funcs | TYPE STANDARD TABLE OF ROIJ_EL_SCENARIO_DETAIL , |
| wa_junction_funcs | LIKE LINE OF it_junction_funcs, |
| it_check_funcs | TYPE STANDARD TABLE OF OIJWLRCF , |
| wa_check_funcs | LIKE LINE OF it_check_funcs. |
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 OIJW_RD or its description.
OIJW_RD - Rundown reason code checks OIJW_PROTOCOL - OIL-TSW: Create worklist entry OIJW_PRINT_OUTPUT - OIL-TSW: print the message on the screen. OIJW_POTENTIAL_DEM_I - Potential demurrage at item level OIJW_POTENTIAL_DEM_H - Potential demurrage for voyage OIJW_PL_PROP_REC - Check to determine MRP receipts worklist entry