SAP EXIT_SAPLWVFI_005 Function Module for User Exit for Fill. Customer Segment In IDoc Outbound for Store Phys.Inv.









EXIT_SAPLWVFI_005 is a standard exit saplwvfi 005 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 Fill. Customer Segment In IDoc Outbound for Store Phys.Inv. 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 saplwvfi 005 FM, simply by entering the name EXIT_SAPLWVFI_005 into the relevant SAP transaction such as SE37 or SE38.

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



Function EXIT_SAPLWVFI_005 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_SAPLWVFI_005'"User Exit for Fill. Customer Segment In IDoc Outbound for Store Phys.Inv.
EXPORTING
P_IMPORT_INTERFACE = "Copy Header and Item Segment to the User Exit

TABLES
T_USER_SEGMENTS = "User Segments (Added After Item Segment)
.



Related IDocs

Below is a list of IDoc processing function modules and the associated IDocs this Function user exits is relevant for.
IDOC_INPUT_STORE_INVENTORY - SAP IDoc WVINVE01
IDOC_INPUT_STORE_INVENTORY - SAP IDoc WVINVE02
IDOC_INPUT_STORE_INVENTORY - SAP IDoc WVINVE03

Related Function Modules

Below is a list of related SAP function modules this CUSTOMER FUNCTION exit / user exit is relevant for.
GET_PARS_METH_CREATE_AND_ENTER NOTRANSL: Einlesen Zusatzparameter für Batch-Input bei Methode create_and_
GET_PD_ORG_STORE_PHYS_INV NOTRANSL: find a responsible person for this workitem in ISR
READ_LAYOUTS NOTRANSL: Einlesen der Layoutinformation für eine Liste von Werken
VWWS_A2_OBJ_CUSTOMIZING NOTRANSL: Baustein für handling der Customizingdaten Filialinventur
VWWS_CALL_BY_WORKITEM NOTRANSL: Aufruf der IDOC-Verarbeitung aus Workitemmethode
VWWS_FILINV_APPL_INIT NOTRANSL: Init der Eingangsverarbeitung bei neuem Eingangs-IDOC (Filialinv
VWWS_FILINV_APPL_LOG_DELETE NOTRANSL: Löschen WPLST für Inventur-IDoc
VWWS_FILINV_DOCUMENT_HEAD NOTRANSL: Daten des Kopfsegments E1WVINH (Filialinventur) einlesen
VWWS_FILINV_DOCUMENT_ITEM NOTRANSL: Daten eines Positions-Segments E1WVINI (Filialinventur) einlesen
VWWS_FILINV_HEADER_PROC NOTRANSL: Verarbeitung Beleg (Eingang Zähldaten Filialinventur)
VWWS_FILINV_POSITION_PROC NOTRANSL: Verarbeitung einer IDOC-Position (Eingang Zähldaten Filialinvent
VWWS_FILINV_USER_EXIT NOTRANSL: Eingangsverarbeitung Filialinventur: Verarbeitung des Kundensegm
VWWS_IDOC_CREATE_WVINVE01 NOTRANSL: Filialinventur Download: IDOC aufbauen und versenden
VWWS_INSERT_WVFB2_SATZ NOTRANSL: Einfügen eines WVFB2-Satzes (Test Doppelbuchung)
VWWS_SAVE_AND_PROCESS_IDOC_IN Write and Execute Inbound IDoc: Store Inventory
VWWS_WRITE_MESSAGES_TO_WPLST NOTRANSL: Schreibt Meldungen in WPLST (für fehlerfreie IDOCs)

IMPORTING Parameters details for EXIT_SAPLWVFI_005

P_IMPORT_INTERFACE - Copy Header and Item Segment to the User Exit

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

TABLES Parameters details for EXIT_SAPLWVFI_005

T_USER_SEGMENTS - User Segments (Added After Item Segment)

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

Copy and paste ABAP code example for EXIT_SAPLWVFI_005 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_user_segments  TYPE STANDARD TABLE OF WVFIT_USERSEG_EXPORT_TAB, "   
lv_p_import_interface  TYPE WVFIT_IMPORT_STRUCTURE_TYP2. "   

  CALL FUNCTION 'EXIT_SAPLWVFI_005'  "User Exit for Fill. Customer Segment In IDoc Outbound for Store Phys.Inv.
    EXPORTING
         P_IMPORT_INTERFACE = lv_p_import_interface
    TABLES
         T_USER_SEGMENTS = lt_t_user_segments
. " EXIT_SAPLWVFI_005




ABAP code using 7.40 inline data declarations to call FM EXIT_SAPLWVFI_005

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.

 
 

See full list of SAP IDocs

See full list of SAP Function Modules



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!