SAP EXIT_SAPLWVLB_007 Function Module for User Exit for Splitting a Purchase Order With Maximum Restrictions
EXIT_SAPLWVLB_007 is a standard exit saplwvlb 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 Splitting a Purchase Order With Maximum Restrictions 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 007 FM, simply by entering the name EXIT_SAPLWVLB_007 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_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_SAPLWVLB_007'"User Exit for Splitting a Purchase Order With Maximum Restrictions.
EXPORTING
I_IN = "General Input Parameters -> Long Text
I_EKKO = "Order Header Data -> Long Text
CHANGING
CH_SUCCESS = "Success Indicator -> Long Text
TABLES
T_EKPO = "Order Items -> Long Text
T_SPLIT_EKET = "Vendor Schedule Lines With Split Information -> Long Text
EXCEPTIONS
ERROR = 1
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
IMPORTING Parameters details for EXIT_SAPLWVLB_007
I_IN - General Input Parameters -> Long Text
Data type: WLB0010Optional: No
Call by Reference: No ( called with pass by value option)
I_EKKO - Order Header Data -> Long Text
Data type: EKKOOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for EXIT_SAPLWVLB_007
CH_SUCCESS - Success Indicator -> Long Text
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for EXIT_SAPLWVLB_007
T_EKPO - Order Items -> Long Text
Data type: EKPOOptional: No
Call by Reference: No ( called with pass by value option)
T_SPLIT_EKET - Vendor Schedule Lines With Split Information -> Long Text
Data type: WVLBT_T_SPLIT_TYPEOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR - Error with Error Message
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for EXIT_SAPLWVLB_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_i_in | TYPE WLB0010, " | |||
lv_error | TYPE WLB0010, " | |||
lt_t_ekpo | TYPE STANDARD TABLE OF EKPO, " | |||
lv_ch_success | TYPE EKPO, " | |||
lv_i_ekko | TYPE EKKO, " | |||
lt_t_split_eket | TYPE STANDARD TABLE OF WVLBT_T_SPLIT_TYPE. " |
  CALL FUNCTION 'EXIT_SAPLWVLB_007' "User Exit for Splitting a Purchase Order With Maximum Restrictions |
EXPORTING | ||
I_IN | = lv_i_in | |
I_EKKO | = lv_i_ekko | |
CHANGING | ||
CH_SUCCESS | = lv_ch_success | |
TABLES | ||
T_EKPO | = lt_t_ekpo | |
T_SPLIT_EKET | = lt_t_split_eket | |
EXCEPTIONS | ||
ERROR = 1 | ||
. " EXIT_SAPLWVLB_007 |
ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLWVLB_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.Search for further information about these or an SAP related objects