SAP Function Modules

WRF_PPW_WORKLIST_EXTEND SAP Function module - Enrichment of PPW Worklist







WRF_PPW_WORKLIST_EXTEND 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 WRF_PPW_WORKLIST_EXTEND into the relevant SAP transaction such as SE37 or SE80.

Associated Function Group: WRF_PPW02
Released Date: Not Released
Processing type: Normal fucntion module
Normal function module settings


Pattern for FM WRF_PPW_WORKLIST_EXTEND - WRF PPW WORKLIST EXTEND





CALL FUNCTION 'WRF_PPW_WORKLIST_EXTEND' "Enrichment of PPW Worklist
  EXPORTING
*   it_guids =                  " wrf_ppw_guid_tty  Tabelle für GUIDs der wiederaufzubereitenden ABS-Vorschläge
*   ir_range =                  " cl_wrf_ppw_range  Price Planning Workbench Selection Criteria
    i_datum =                   " sy-datum      Datum zu dem die Konditionen angelegt werden sollen
*   i_delete_old_sisters = 'X'  " xfeld         'X':  zugeh. veraltete  Schwesterartikel werden gelöscht
*   i_no_budget = SPACE         " wrf_ppw_no_budget  Do Not Use Planning Figures from Budget
  IMPORTING
    et_messages =               " bal_t_msg     Error Messages
    e_external_number =         " balhdr-extnumber  Schlüssels des erzeugten Application logs
    .  "  WRF_PPW_WORKLIST_EXTEND

ABAP code example for Function Module WRF_PPW_WORKLIST_EXTEND





The ABAP code below is a full code listing to execute function module WRF_PPW_WORKLIST_EXTEND 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).

DATA:
ld_et_messages  TYPE BAL_T_MSG ,
ld_e_external_number  TYPE BALHDR-EXTNUMBER .

DATA(ld_it_guids) = 'Check type of data required'.
DATA(ld_ir_range) = 'Check type of data required'.
DATA(ld_i_datum) = '20210129'.
DATA(ld_i_delete_old_sisters) = '20210129'.
DATA(ld_i_no_budget) = '20210129'. . CALL FUNCTION 'WRF_PPW_WORKLIST_EXTEND' EXPORTING * it_guids = ld_it_guids * ir_range = ld_ir_range i_datum = ld_i_datum * i_delete_old_sisters = ld_i_delete_old_sisters * i_no_budget = ld_i_no_budget IMPORTING et_messages = ld_et_messages e_external_number = ld_e_external_number . " WRF_PPW_WORKLIST_EXTEND
IF SY-SUBRC EQ 0. "All OK ENDIF.







ABAP code to compare 7.40 inline data declaration with original syntax

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_et_messages  TYPE BAL_T_MSG ,
ld_it_guids  TYPE WRF_PPW_GUID_TTY ,
ld_e_external_number  TYPE BALHDR-EXTNUMBER ,
ld_ir_range  TYPE CL_WRF_PPW_RANGE ,
ld_i_datum  TYPE SY-DATUM ,
ld_i_delete_old_sisters  TYPE XFELD ,
ld_i_no_budget  TYPE WRF_PPW_NO_BUDGET .

ld_it_guids = '20210129'.
ld_ir_range = '20210129'.
ld_i_datum = '20210129'.
ld_i_delete_old_sisters = '20210129'.
ld_i_no_budget = '20210129'.

Contribute (Add Comments)

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 WRF_PPW_WORKLIST_EXTEND or its description.