SAP UPDATE_FEBEP_VB_STATUS Function Module for NOTRANSL: Setzen der Flags VB1OK/VB2OK









UPDATE_FEBEP_VB_STATUS is a standard update febep vb status 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: Setzen der Flags VB1OK/VB2OK 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 update febep vb status FM, simply by entering the name UPDATE_FEBEP_VB_STATUS into the relevant SAP transaction such as SE37 or SE38.

Function Group: F030
Program Name: SAPLF030
Main Program: SAPLF030
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update: 1



Function UPDATE_FEBEP_VB_STATUS 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 'UPDATE_FEBEP_VB_STATUS'"NOTRANSL: Setzen der Flags VB1OK/VB2OK
EXPORTING
* I_AWTYP = "Reference Transaction
I_RCSNUM = "
I_AUGST_AVIS = "Numeric 1-character
* I_AWREF = "Reference Document Number
I_AWKEY = "Reference Key
* I_AWORG = ' ' "Reference Organizational Units
* I_POSTING_AREA = '1' "Posting area
I_KUKEY = "Short key (surrogate)
I_ESNUM = "Single Record Number (Line Item Number in Account Statement)
I_KOMK = "
I_XAKON = "

TABLES
* I_VBKEP = "Collection of Bank Statement Items for Compression
* I_XFEBCL = "Clearing data for an electronic bank statement line item
.



IMPORTING Parameters details for UPDATE_FEBEP_VB_STATUS

I_AWTYP - Reference Transaction

Data type: ACCHD-AWTYP
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_RCSNUM -

Data type: FEBCL-CSNUM
Optional: No
Call by Reference: No ( called with pass by value option)

I_AUGST_AVIS - Numeric 1-character

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

I_AWREF - Reference Document Number

Data type: ACCHD-AWREF
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_AWKEY - Reference Key

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

I_AWORG - Reference Organizational Units

Data type: ACCHD-AWORG
Default: SPACE
Optional: Yes
Call by Reference: No ( called with pass by value option)

I_POSTING_AREA - Posting area

Data type: FEBEBA-BUBER
Default: '1'
Optional: No
Call by Reference: No ( called with pass by value option)

I_KUKEY - Short key (surrogate)

Data type: FEBEP-KUKEY
Optional: No
Call by Reference: No ( called with pass by value option)

I_ESNUM - Single Record Number (Line Item Number in Account Statement)

Data type: FEBEP-ESNUM
Optional: No
Call by Reference: No ( called with pass by value option)

I_KOMK -

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

I_XAKON -

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

TABLES Parameters details for UPDATE_FEBEP_VB_STATUS

I_VBKEP - Collection of Bank Statement Items for Compression

Data type: SVBKEP
Optional: Yes
Call by Reference: Yes

I_XFEBCL - Clearing data for an electronic bank statement line item

Data type: FEBCL
Optional: Yes
Call by Reference: Yes

Copy and paste ABAP code example for UPDATE_FEBEP_VB_STATUS 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_awtyp  TYPE ACCHD-AWTYP, "   
lt_i_vbkep  TYPE STANDARD TABLE OF SVBKEP, "   
lv_i_rcsnum  TYPE FEBCL-CSNUM, "   
lv_i_augst_avis  TYPE NUM1, "   
lv_i_awref  TYPE ACCHD-AWREF, "   
lt_i_xfebcl  TYPE STANDARD TABLE OF FEBCL, "   
lv_i_awkey  TYPE AWKEY, "   
lv_i_aworg  TYPE ACCHD-AWORG, "   SPACE
lv_i_posting_area  TYPE FEBEBA-BUBER, "   '1'
lv_i_kukey  TYPE FEBEP-KUKEY, "   
lv_i_esnum  TYPE FEBEP-ESNUM, "   
lv_i_komk  TYPE CHAR1, "   
lv_i_xakon  TYPE CHAR1. "   

  CALL FUNCTION 'UPDATE_FEBEP_VB_STATUS'  "NOTRANSL: Setzen der Flags VB1OK/VB2OK
    EXPORTING
         I_AWTYP = lv_i_awtyp
         I_RCSNUM = lv_i_rcsnum
         I_AUGST_AVIS = lv_i_augst_avis
         I_AWREF = lv_i_awref
         I_AWKEY = lv_i_awkey
         I_AWORG = lv_i_aworg
         I_POSTING_AREA = lv_i_posting_area
         I_KUKEY = lv_i_kukey
         I_ESNUM = lv_i_esnum
         I_KOMK = lv_i_komk
         I_XAKON = lv_i_xakon
    TABLES
         I_VBKEP = lt_i_vbkep
         I_XFEBCL = lt_i_xfebcl
. " UPDATE_FEBEP_VB_STATUS




ABAP code using 7.40 inline data declarations to call FM UPDATE_FEBEP_VB_STATUS

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 AWTYP FROM ACCHD INTO @DATA(ld_i_awtyp).
 
 
"SELECT single CSNUM FROM FEBCL INTO @DATA(ld_i_rcsnum).
 
 
"SELECT single AWREF FROM ACCHD INTO @DATA(ld_i_awref).
 
 
 
"SELECT single AWORG FROM ACCHD INTO @DATA(ld_i_aworg).
DATA(ld_i_aworg) = ' '.
 
"SELECT single BUBER FROM FEBEBA INTO @DATA(ld_i_posting_area).
DATA(ld_i_posting_area) = '1'.
 
"SELECT single KUKEY FROM FEBEP INTO @DATA(ld_i_kukey).
 
"SELECT single ESNUM FROM FEBEP INTO @DATA(ld_i_esnum).
 
 
 


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!