SAP SD_ST_VBFA_CHECK_GI Function Module for NOTRANSL: ST_VBFA aufbauen und Warenausgang zum Abruf prüfen
SD_ST_VBFA_CHECK_GI is a standard sd st vbfa check gi 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: ST_VBFA aufbauen und Warenausgang zum Abruf prüfen 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 sd st vbfa check gi FM, simply by entering the name SD_ST_VBFA_CHECK_GI into the relevant SAP transaction such as SE37 or SE38.
Function Group: V45L
Program Name: SAPLV45L
Main Program: SAPLV45L
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function SD_ST_VBFA_CHECK_GI 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 'SD_ST_VBFA_CHECK_GI'"NOTRANSL: ST_VBFA aufbauen und Warenausgang zum Abruf prüfen.
EXPORTING
* I_VBELV = ' ' "
* I_UMVKZ = 1 "
* I_EDLUE = "External Service Agent Carry Forward
* I_VBLB = "Sales document: Release order data
* I_POSNV = ' ' "
* I_VBELN = ' ' "
* I_KORMNG = 0 "Correction qty for cumulative quantity
* I_KORDT = ' ' "
* I_KORLI = ' ' "
I_LIFFZ = "Cumulative delivered quantity
I_ABRFZ = "Cumulative Quantity Received by Customer
* I_UMVKN = 1 "
TABLES
FXVBFA = "
EXCEPTIONS
NO_GOODS_ISSUE = 1 OTHERS = 2
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_SAPLV45L_001 SD Component Processing: Release - Deviation Check
EXIT_SAPLV45L_002 SD Component Supply Processing: Supplement VBLB Structure
EXIT_SAPLV45L_004 Reset the Cumulative Delivered Quantity At Fiscal Year End
EXIT_SAPLV45L_005 Stop fiscal year change for scheduling agreements
IMPORTING Parameters details for SD_ST_VBFA_CHECK_GI
I_VBELV -
Data type: VBAK-VBELNDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_UMVKZ -
Data type: VBAP-UMVKZDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_EDLUE - External Service Agent Carry Forward
Data type: RV45Z-EDLUEOptional: Yes
Call by Reference: No ( called with pass by value option)
I_VBLB - Sales document: Release order data
Data type: VBLBOptional: Yes
Call by Reference: No ( called with pass by value option)
I_POSNV -
Data type: VBAP-POSNRDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_VBELN -
Data type: VBAK-VBELNDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KORMNG - Correction qty for cumulative quantity
Data type: LIPS-LFIMGOptional: Yes
Call by Reference: No ( called with pass by value option)
I_KORDT -
Data type: VBAPD-KORDTDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_KORLI -
Data type: TVAK-KORLIDefault: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)
I_LIFFZ - Cumulative delivered quantity
Data type: VBLB-ABEFZOptional: No
Call by Reference: No ( called with pass by value option)
I_ABRFZ - Cumulative Quantity Received by Customer
Data type: VBLB-ABEFZOptional: No
Call by Reference: No ( called with pass by value option)
I_UMVKN -
Data type: VBAP-UMVKNDefault: 1
Optional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SD_ST_VBFA_CHECK_GI
FXVBFA -
Data type: VBFAOptional: No
Call by Reference: No ( called with pass by value option)
EXCEPTIONS details
NO_GOODS_ISSUE -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
OTHERS -
Data type:Optional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for SD_ST_VBFA_CHECK_GI 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_fxvbfa | TYPE STANDARD TABLE OF VBFA, " | |||
| lv_i_vbelv | TYPE VBAK-VBELN, " SPACE | |||
| lv_no_goods_issue | TYPE VBAK, " | |||
| lv_i_umvkz | TYPE VBAP-UMVKZ, " 1 | |||
| lv_i_edlue | TYPE RV45Z-EDLUE, " | |||
| lv_i_vblb | TYPE VBLB, " | |||
| lv_others | TYPE VBLB, " | |||
| lv_i_posnv | TYPE VBAP-POSNR, " SPACE | |||
| lv_i_vbeln | TYPE VBAK-VBELN, " SPACE | |||
| lv_i_kormng | TYPE LIPS-LFIMG, " 0 | |||
| lv_i_kordt | TYPE VBAPD-KORDT, " SPACE | |||
| lv_i_korli | TYPE TVAK-KORLI, " SPACE | |||
| lv_i_liffz | TYPE VBLB-ABEFZ, " | |||
| lv_i_abrfz | TYPE VBLB-ABEFZ, " | |||
| lv_i_umvkn | TYPE VBAP-UMVKN. " 1 |
|   CALL FUNCTION 'SD_ST_VBFA_CHECK_GI' "NOTRANSL: ST_VBFA aufbauen und Warenausgang zum Abruf prüfen |
| EXPORTING | ||
| I_VBELV | = lv_i_vbelv | |
| I_UMVKZ | = lv_i_umvkz | |
| I_EDLUE | = lv_i_edlue | |
| I_VBLB | = lv_i_vblb | |
| I_POSNV | = lv_i_posnv | |
| I_VBELN | = lv_i_vbeln | |
| I_KORMNG | = lv_i_kormng | |
| I_KORDT | = lv_i_kordt | |
| I_KORLI | = lv_i_korli | |
| I_LIFFZ | = lv_i_liffz | |
| I_ABRFZ | = lv_i_abrfz | |
| I_UMVKN | = lv_i_umvkn | |
| TABLES | ||
| FXVBFA | = lt_fxvbfa | |
| EXCEPTIONS | ||
| NO_GOODS_ISSUE = 1 | ||
| OTHERS = 2 | ||
| . " SD_ST_VBFA_CHECK_GI | ||
ABAP code using 7.40 inline data declarations to call FM SD_ST_VBFA_CHECK_GI
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 VBELN FROM VBAK INTO @DATA(ld_i_vbelv). | ||||
| DATA(ld_i_vbelv) | = ' '. | |||
| "SELECT single UMVKZ FROM VBAP INTO @DATA(ld_i_umvkz). | ||||
| DATA(ld_i_umvkz) | = 1. | |||
| "SELECT single EDLUE FROM RV45Z INTO @DATA(ld_i_edlue). | ||||
| "SELECT single POSNR FROM VBAP INTO @DATA(ld_i_posnv). | ||||
| DATA(ld_i_posnv) | = ' '. | |||
| "SELECT single VBELN FROM VBAK INTO @DATA(ld_i_vbeln). | ||||
| DATA(ld_i_vbeln) | = ' '. | |||
| "SELECT single LFIMG FROM LIPS INTO @DATA(ld_i_kormng). | ||||
| "SELECT single KORDT FROM VBAPD INTO @DATA(ld_i_kordt). | ||||
| DATA(ld_i_kordt) | = ' '. | |||
| "SELECT single KORLI FROM TVAK INTO @DATA(ld_i_korli). | ||||
| DATA(ld_i_korli) | = ' '. | |||
| "SELECT single ABEFZ FROM VBLB INTO @DATA(ld_i_liffz). | ||||
| "SELECT single ABEFZ FROM VBLB INTO @DATA(ld_i_abrfz). | ||||
| "SELECT single UMVKN FROM VBAP INTO @DATA(ld_i_umvkn). | ||||
| DATA(ld_i_umvkn) | = 1. | |||
Search for further information about these or an SAP related objects