SAP STOREORDER_WF_VA01 Function Module for NOTRANSL: sales order workitem Batch_input via VA01
STOREORDER_WF_VA01 is a standard storeorder wf va01 SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for NOTRANSL: sales order workitem Batch_input via VA01 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 storeorder wf va01 FM, simply by entering the name STOREORDER_WF_VA01 into the relevant SAP transaction such as SE37 or SE38.
Function Group: WVFB
Program Name: SAPLWVFB
Main Program: SAPLWVFB
Appliation area: W
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function STOREORDER_WF_VA01 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 'STOREORDER_WF_VA01'"NOTRANSL: sales order workitem Batch_input via VA01.
EXPORTING
S_WVFB = "
I_DOCNUM = "
IMPORTING
E_STATUS = "Error
TABLES
S_WPLST = "
EXCEPTIONS
ERROR_IN_APPLICATION = 1
Customer Function user exits
Below is a list of CUSTOMER FUNCTION exit user exits that are available within this program and maybe relevant for this FM.EXIT_SAPLWVFB_001 Store Order Confirmation Customer Exit 'Change Control Record'
EXIT_SAPLWVFB_002 User Exit for Enhancing Store Order IDoc Data Segments
EXIT_SAPLWVFB_003 Change Data Segment Confirmation in Store Order
EXIT_SAPLWVFB_009 Individual Field in IDOC SEGMENT WGSREQ-E1WGRP1
IMPORTING Parameters details for STOREORDER_WF_VA01
S_WVFB -
Data type: WVFBOptional: No
Call by Reference: No ( called with pass by value option)
I_DOCNUM -
Data type: EDIDC-DOCNUMOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for STOREORDER_WF_VA01
E_STATUS - Error
Data type: IOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for STOREORDER_WF_VA01
S_WPLST -
Data type: WPLSTOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
ERROR_IN_APPLICATION -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for STOREORDER_WF_VA01 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_s_wvfb | TYPE WVFB, " | |||
| lt_s_wplst | TYPE STANDARD TABLE OF WPLST, " | |||
| lv_e_status | TYPE I, " | |||
| lv_error_in_application | TYPE I, " | |||
| lv_i_docnum | TYPE EDIDC-DOCNUM. " |
|   CALL FUNCTION 'STOREORDER_WF_VA01' "NOTRANSL: sales order workitem Batch_input via VA01 |
| EXPORTING | ||
| S_WVFB | = lv_s_wvfb | |
| I_DOCNUM | = lv_i_docnum | |
| IMPORTING | ||
| E_STATUS | = lv_e_status | |
| TABLES | ||
| S_WPLST | = lt_s_wplst | |
| EXCEPTIONS | ||
| ERROR_IN_APPLICATION = 1 | ||
| . " STOREORDER_WF_VA01 | ||
ABAP code using 7.40 inline data declarations to call FM STOREORDER_WF_VA01
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 DOCNUM FROM EDIDC INTO @DATA(ld_i_docnum). | ||||
Search for further information about these or an SAP related objects