SAP EXIT_SAPLWOD1_007 Function Module for User Exit for Collecting Consumption Values









EXIT_SAPLWOD1_007 is a standard exit saplwod1 007 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for User Exit for Collecting Consumption Values 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 exit saplwod1 007 FM, simply by entering the name EXIT_SAPLWOD1_007 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLWOD1_007 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 'EXIT_SAPLWOD1_007'"User Exit for Collecting Consumption Values
EXPORTING
I_MATNR = "Material Number
I_WERKS = "Plant
I_PERKZ = "Period Indicator
* I_PERIV = ' ' "Fiscal Year Variant
I_PROVB = "Consumption Indicator of Forecast

CHANGING
CH_READY = "Indicates Whether This User Exit is Active

TABLES
* T_GES_VERB = "
* T_UNG_VERB = "

EXCEPTIONS
ERROR = 1
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
WOD1_ADD_BDATA_ORDER_POSITIONS NOTRANSL: Ergänzen der bestellbaren Artikel um Bewegungsdaten
WOD1_ADD_BDATA_ORDER_POSIT_ACC NOTRANSL: Ergänzen der bestellbaren Artikel um Bewegungsdaten
WOD1_ADD_MDATA_ORDER_POSITIONS NOTRANSL: Ergänzen der bestellbaren Artikel um Stammdaten und Filterung
WOD1_ADD_MDATA_ORDER_POSIT_ACC NOTRANSL: Ergänzen der bestellbaren Artikel um Stammdaten und Filterung
WOD1_ARTICLE_ORDER_PROPOSALS NOTRANSL: Bestellmengenvorschläge auf Artikelebene
WOD1_CALL_CUSTOMER_SETTINGS_1 NOTRANSL: Aufrufen User-Exits Steuerung Bestelltransaktion
WOD1_CONVERT_MEPO_FORMAT NOTRANSL: Konvertierung in / von MEPO Format
WOD1_DISPLAY_FORECAST_CONSUM NOTRANSL: Anzeigen der Prognose- und Verbrauchswerte
WOD1_GET_FIRST_DAY NOTRANSL: Ermittelt den ersten Tag einer Periode je nach Periodenkennzeich
WOD1_ONLINE_DISPO_MEPO NOTRANSL: Online Dispo in der Bestellung (MEPO)
WOD1_ONLINE_DISPO_MEPO_ACC NOTRANSL: Online Dispo in der Bestellung (MEPO)
WOD1_ONLINE_DISPO_OV NOTRANSL: Online Dispo
WOD1_ONLINE_DISPO_OV_ACC NOTRANSL: Online Dispo
WOD1_PRINT_ORDER_POSITION NOTRANSL: Bestellpositionen drucken
WOD1_READ_CONSUMPTIONS NOTRANSL: Funktionsbaustein zum Lesen von Verbrauchswerten
WOD1_READ_DATA_FROM_GM NOTRANSL: Lesen von Daten aus der Online Dispo
WOD1_READ_DATA_FROM_GM_ACC NOTRANSL: Lesen von Daten aus der Online Dispo
WOD1_READ_FORECAST NOTRANSL: Lesen von Prognosewerten
WOD1_READ_MULTI_FORECAST NOTRANSL: Prognosewerte für verschiedene Kombinationen Artikel/Werke
WOD1_READ_ORDER_POSITIONS NOTRANSL: Bestellbaren Artikel bestimmen, anreichern und filtern.
WOD1_READ_ORDER_POSITIONS_ACC NOTRANSL: Bestellbaren Artikel bestimmen, anreichern und filtern.
WOD1_RELEASE_PURCHASE_ORDER NOTRANSL: Freigabe einer Bestellung
WOD1_SAVE_ORDER_POSITIONS NOTRANSL: Anlegen / Ändern von Bestellungen aus der Online-Dispo
WOD1_SAVE_ORDER_POSITIONS_ACC NOTRANSL: Anlegen / Ändern von Bestellungen aus der Online-Dispo
WOD1_SELECT_ORDER_POSITIONS NOTRANSL: Bestimmung der bestellbaren Artikel
WOD1_SELECT_ORDER_POSITION_ACC NOTRANSL: Bestimmung der bestellbaren Artikel
WOD1_SEND_DATA_TO_GM NOTRANSL: Senden von Daten an die Online Dispo
WOD1_SEND_DATA_TO_GM_ACC NOTRANSL: Senden von Daten an die Online Dispo
WOD1_SORT_ORDER_POSITIONS NOTRANSL: Sortierung der bestellbaren Artikel
WOD1_WORK_ON_ORDER_POSITION NOTRANSL: Bearbeiten der bestellbaren Artikel
WOD1_WORK_ON_ORDER_POSITIO_ACC NOTRANSL: Bearbeiten der bestellbaren Artikel

IMPORTING Parameters details for EXIT_SAPLWOD1_007

I_MATNR - Material Number

Data type: MVER-MATNR
Optional: No
Call by Reference: Yes

I_WERKS - Plant

Data type: MVER-WERKS
Optional: No
Call by Reference: Yes

I_PERKZ - Period Indicator

Data type: MVER-PERKZ
Optional: No
Call by Reference: Yes

I_PERIV - Fiscal Year Variant

Data type: MARC-PERIV
Default: SPACE
Optional: Yes
Call by Reference: Yes

I_PROVB - Consumption Indicator of Forecast

Data type: T438A-PROVB
Optional: No
Call by Reference: Yes

CHANGING Parameters details for EXIT_SAPLWOD1_007

CH_READY - Indicates Whether This User Exit is Active

Data type: C
Optional: No
Call by Reference: Yes

TABLES Parameters details for EXIT_SAPLWOD1_007

T_GES_VERB -

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

T_UNG_VERB -

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

EXCEPTIONS details

ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for EXIT_SAPLWOD1_007 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_error  TYPE STRING, "   
lv_i_matnr  TYPE MVER-MATNR, "   
lv_ch_ready  TYPE C, "   
lt_t_ges_verb  TYPE STANDARD TABLE OF WOD1T_T_VERBRAUCH, "   
lv_i_werks  TYPE MVER-WERKS, "   
lt_t_ung_verb  TYPE STANDARD TABLE OF WOD1T_T_VERBRAUCH, "   
lv_i_perkz  TYPE MVER-PERKZ, "   
lv_i_periv  TYPE MARC-PERIV, "   SPACE
lv_i_provb  TYPE T438A-PROVB. "   

  CALL FUNCTION 'EXIT_SAPLWOD1_007'  "User Exit for Collecting Consumption Values
    EXPORTING
         I_MATNR = lv_i_matnr
         I_WERKS = lv_i_werks
         I_PERKZ = lv_i_perkz
         I_PERIV = lv_i_periv
         I_PROVB = lv_i_provb
    CHANGING
         CH_READY = lv_ch_ready
    TABLES
         T_GES_VERB = lt_t_ges_verb
         T_UNG_VERB = lt_t_ung_verb
    EXCEPTIONS
        ERROR = 1
. " EXIT_SAPLWOD1_007




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLWOD1_007

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.

 
"SELECT single MATNR FROM MVER INTO @DATA(ld_i_matnr).
 
 
 
"SELECT single WERKS FROM MVER INTO @DATA(ld_i_werks).
 
 
"SELECT single PERKZ FROM MVER INTO @DATA(ld_i_perkz).
 
"SELECT single PERIV FROM MARC INTO @DATA(ld_i_periv).
DATA(ld_i_periv) = ' '.
 
"SELECT single PROVB FROM T438A INTO @DATA(ld_i_provb).
 


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!