SAP EXIT_SAPLWVLB_010 Function Module for User Exit for Identifying Optimized Purchase Orders









EXIT_SAPLWVLB_010 is a standard exit saplwvlb 010 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 Identifying Optimized Purchase Orders 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 saplwvlb 010 FM, simply by entering the name EXIT_SAPLWVLB_010 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLWVLB_010 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_SAPLWVLB_010'"User Exit for Identifying Optimized Purchase Orders
CHANGING
IE_EBELN_TC = "One Line From the Purchase Order Table Control

TABLES
T_RESTRI = "Restrictions for the Purchase Order
.



Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
GET_PD_ORG_INVBUY NOTRANSL: find a responsable person for this workitem in ISR
WLB1_COND_SELECT_FOR_DOCU_TYPE NOTRANSL: Ermittelt Konditionssätze zu Zeitraum und Selektion für INV BUY
WLB_DISPLAY_ERROR_LIST NOTRANSL: Funktionsbaustein zum Anzeigen eine Liste von Fehlern.
WLB_F4_HELP_RESTRICTION_PROFIL NOTRANSL: F4-Hilfe für Restriktionsprofile
WLB_F4_HELP_SUBMISSIONS_NUMMER NOTRANSL: F4-Hilfe für Submissions Nummer
WLB_INVESTMENT_BUY_ANALYSIS NOTRANSL: function makes analysis on goods movements after investment buys
WLB_INVESTMENT_BUY_CEATE_PREQ NOTRANSL: Investment-Buy Banfen erzeugen, Investment logging schreiben
WLB_INVESTMENT_BUY_DATA_CREATE NOTRANSL: Ermitteln und bereitstellen der Investment-Buy Daten
WLB_INVESTMENT_BUY_DATA_PREP NOTRANSL: Investment-Buy Daten vorbereiten
WLB_INVESTMENT_BUY_PROCESS NOTRANSL: Function to search for needs because of price changes with inter
WLB_MULTIPLE_PO NOTRANSL: Bearbeitungsschirm zur optimierten Bestellbündelung
WLB_MULTIPLE_PO_CONDITIONS NOTRANSL: Bestimme die Bestellbündelungs-Konditionen für eine gebündelte B
WLB_MULTIPLE_PO_RELEASE NOTRANSL: Freigabeprüfung in der Bestellbündelung
WLB_PO_FILL_WITH_SUBMI NOTRANSL: Vergabe einer Submissionsnummer für eine Bestellung
WLB_PO_FILL_WITH_VALUES NOTRANSL: Für eine Bestellung werden die übergebenen Felder mit Werten gef
WLB_PO_SPLITTING NOTRANSL: Funktionsbaustein zum Splitten von Bestellungen
WLB_READ_ROI_PARAMETER NOTRANSL: Load input structure for WLB_CALCULATE_ROI function.
WLB_WRITE_INVESTBUY_LOGGING NOTRANSL: function writes investment buy run to logging table
WVB_DEL_OLD_INVBUY_LOGGING NOTRANSL: deletes old Investment Buy logging entries

CHANGING Parameters details for EXIT_SAPLWVLB_010

IE_EBELN_TC - One Line From the Purchase Order Table Control

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

TABLES Parameters details for EXIT_SAPLWVLB_010

T_RESTRI - Restrictions for the Purchase Order

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

Copy and paste ABAP code example for EXIT_SAPLWVLB_010 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:
lt_t_restri  TYPE STANDARD TABLE OF MDR2P_T_RESTRI, "   
lv_ie_ebeln_tc  TYPE WVLBT_S_EBELN_TC. "   

  CALL FUNCTION 'EXIT_SAPLWVLB_010'  "User Exit for Identifying Optimized Purchase Orders
    CHANGING
         IE_EBELN_TC = lv_ie_ebeln_tc
    TABLES
         T_RESTRI = lt_t_restri
. " EXIT_SAPLWVLB_010




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLWVLB_010

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!