OIJW_DELETE_WL_PLAN 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_DELETE_WL_PLAN 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_DELETE_WL_PLAN' "OIL-TSW :Mark planning-worklist entries in internal tables for deletion
EXPORTING
i_wlrc = " oijwl-wlrc Reason code :used for searching in oijwl
i_oijrdplan_wa = " oijrdplan OIJPLANWL,OIJWL row corr to this
TABLES
t_oijplanwl_tab = " oijg0_oijplanwl_tab Mark in this for deletion
t_oijwl_tab = " roijwl_upd Mark in this for deletion
EXCEPTIONS
INPUT_MISSING = 1 " When OIJRDPLAN wa is empty.WLRC not specified.
ENTRY_NOT_FOUND = 2 " Entr corresponding to OIJRDPLAN not found.
. " OIJW_DELETE_WL_PLAN
The ABAP code below is a full code listing to execute function module OIJW_DELETE_WL_PLAN 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_oijplanwl_tab | TYPE STANDARD TABLE OF OIJG0_OIJPLANWL_TAB,"TABLES PARAM |
| wa_t_oijplanwl_tab | LIKE LINE OF it_t_oijplanwl_tab , |
| it_t_oijwl_tab | TYPE STANDARD TABLE OF ROIJWL_UPD,"TABLES PARAM |
| wa_t_oijwl_tab | LIKE LINE OF it_t_oijwl_tab . |
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_i_wlrc | TYPE OIJWL-WLRC , |
| it_t_oijplanwl_tab | TYPE STANDARD TABLE OF OIJG0_OIJPLANWL_TAB , |
| wa_t_oijplanwl_tab | LIKE LINE OF it_t_oijplanwl_tab, |
| ld_i_oijrdplan_wa | TYPE OIJRDPLAN , |
| it_t_oijwl_tab | TYPE STANDARD TABLE OF ROIJWL_UPD , |
| wa_t_oijwl_tab | LIKE LINE OF it_t_oijwl_tab. |
This function module finds a row in OIJPLANWL and OIJWL internal tables
corresponding to an RDPLAN record and sets the update-flag for deletion.
...See here for full SAP fm documentation
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_DELETE_WL_PLAN or its description.
OIJW_DELETE_WL_PLAN - OIL-TSW :Mark planning-worklist entries in internal tables for deletio OIJW_DELETE_WL_ENTRY - OIL-TSW: Delete worklist entry OIJW_CREATE_WL_ENTRY - OIL-TSW: Create worklist entry OIJW_CREATE_RDWL_ENTRY - IS-OIL TSW: Create rundown worklist entry OIJW_CHECK_BALANCE_NEW - OIL-TSW: Check if a nomination is balanced by material - new OIJW_CHECK_BALANCE - OIL-TSW: Check if a nomination is balanced by material