SAP PEG14_UPDATE_PEGWLST Function Module for Worklist for Delivered Objects









PEG14_UPDATE_PEGWLST is a standard peg14 update pegwlst SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Worklist for Delivered Objects processing and below is the pattern details for this FM, showing its interface including any import and export parameters, exceptions etc. there is also a full "cut and paste" ABAP pattern code example, along with implementation ABAP coding, documentation and contribution comments specific to this or related objects.


See here to view full function module documentation and code listing for peg14 update pegwlst FM, simply by entering the name PEG14_UPDATE_PEGWLST into the relevant SAP transaction such as SE37 or SE38.

Function Group: PEG14
Program Name: SAPLPEG14
Main Program: SAPLPEG14
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function PEG14_UPDATE_PEGWLST pattern details

In-order to call this FM within your sap programs, simply using the below ABAP pattern details to trigger the function call...or see the full ABAP code listing at the end of this article. You can simply cut and paste this code into your ABAP progrom as it is, including variable declarations.
CALL FUNCTION 'PEG14_UPDATE_PEGWLST'"Worklist for Delivered Objects
EXPORTING
* I_WERKS = "Werk
* I_GRPNR = "Dispo-PSP-Element
* I_AUFNR = "Auftragsnummer
* I_EBELN = "Belegnummer des Einkaufsbelegs
* I_EBELP = "Positionsnummer des Einkaufsbelegs
* I_DEL = "neue Eingabewerte
* I_DEL_WLST_ONLY = "neue Eingabewerte

TABLES
* IT_WLST_DEL = "Distribution: Arbeitsvorrat geƤnderter Objekte

EXCEPTIONS
WRONG_INPUT = 1
.



IMPORTING Parameters details for PEG14_UPDATE_PEGWLST

I_WERKS - Werk

Data type: WERKS_D
Optional: Yes
Call by Reference: Yes

I_GRPNR - Dispo-PSP-Element

Data type: GRPSPNR
Optional: Yes
Call by Reference: Yes

I_AUFNR - Auftragsnummer

Data type: AUFNR
Optional: Yes
Call by Reference: Yes

I_EBELN - Belegnummer des Einkaufsbelegs

Data type: EBELN
Optional: Yes
Call by Reference: Yes

I_EBELP - Positionsnummer des Einkaufsbelegs

Data type: EBELP
Optional: Yes
Call by Reference: Yes

I_DEL - neue Eingabewerte

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

I_DEL_WLST_ONLY - neue Eingabewerte

Data type: XFLAG
Optional: Yes
Call by Reference: Yes

TABLES Parameters details for PEG14_UPDATE_PEGWLST

IT_WLST_DEL - Distribution: Arbeitsvorrat geƤnderter Objekte

Data type: DIS_WLST
Optional: Yes
Call by Reference: No ( called with pass by value option)

EXCEPTIONS details

WRONG_INPUT - falsche Eingabe

Data type:
Optional: No
Call by Reference: No ( called with pass by value option)

Copy and paste ABAP code example for PEG14_UPDATE_PEGWLST Function Module

The ABAP code below is a full code listing to execute function module POPUP_TO_CONFIRM including all data declarations. The code uses the original data declarations rather than 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 newer method of declaring data variables on the fly. 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), which i why i have stuck to the origianl for this example.

DATA:
lv_i_werks  TYPE WERKS_D, "   
lt_it_wlst_del  TYPE STANDARD TABLE OF DIS_WLST, "   
lv_wrong_input  TYPE DIS_WLST, "   
lv_i_grpnr  TYPE GRPSPNR, "   
lv_i_aufnr  TYPE AUFNR, "   
lv_i_ebeln  TYPE EBELN, "   
lv_i_ebelp  TYPE EBELP, "   
lv_i_del  TYPE XFLAG, "   
lv_i_del_wlst_only  TYPE XFLAG. "   

  CALL FUNCTION 'PEG14_UPDATE_PEGWLST'  "Worklist for Delivered Objects
    EXPORTING
         I_WERKS = lv_i_werks
         I_GRPNR = lv_i_grpnr
         I_AUFNR = lv_i_aufnr
         I_EBELN = lv_i_ebeln
         I_EBELP = lv_i_ebelp
         I_DEL = lv_i_del
         I_DEL_WLST_ONLY = lv_i_del_wlst_only
    TABLES
         IT_WLST_DEL = lt_it_wlst_del
    EXCEPTIONS
        WRONG_INPUT = 1
. " PEG14_UPDATE_PEGWLST




ABAP code using 7.40 inline data declarations to call FM PEG14_UPDATE_PEGWLST

The below ABAP code uses the newer in-line data declarations. This allows you to see the coding differences/benefits of the later inline syntax. Please note some of the newer syntax below, such as the @DATA is not available until 4.70 EHP 8.

 
 
 
 
 
 
 
 
 


Search for further information about these or an SAP related objects



Comments on this SAP object

What made you want to lookup this SAP object? Please tell us what you were looking for and anything you would like to be included on this page!