SAP RV_COMMON_TABLE_UPDATE Function Module for NOTRANSL: Update der Status- und Belegflußtabellen









RV_COMMON_TABLE_UPDATE is a standard rv common table update 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: Update der Status- und Belegflußtabellen 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 rv common table update FM, simply by entering the name RV_COMMON_TABLE_UPDATE into the relevant SAP transaction such as SE37 or SE38.

Function Group: V45V
Program Name: SAPLV45V
Main Program: SAPLV45V
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RV_COMMON_TABLE_UPDATE 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 'RV_COMMON_TABLE_UPDATE'"NOTRANSL: Update der Status- und Belegflußtabellen
EXPORTING
* F_VBELN = ' ' "Document number of current documen
* VMVL_UPDATE = ' ' "
* F_MULT = ' ' "
* IS_APOINF = ' ' "
* FXVBAK = "
* VBAK_VGBEL = ' ' "Document Number of the Reference Document
* VBAK_VGTYP = ' ' "Document Category of Preceding SD Document

TABLES
FXSADR = "
* FXVBPA2 = "
FYSADR = "
FYVBBE = "
FYVBBS = "
FYVBPA = "Corresponds to YVBPA
FYVBUK = "Corresponds to YVBUK
FYVBUP = "Corresponds to YVBUP
* FYQTVB = "
* FYVBPA2 = "
* FXVBAP = "
FXVBBE = "
* FXLIPS = "
FXVBBS = "
FXVBPA = "Corresponds to XVBPA
FXVBUK = "Corresponds to XVBUK
FXVBUP = "Corresponds to XVBUP
* FXQTCH = "
* FXQTVB = "
* FXAPOI = "
.



IMPORTING Parameters details for RV_COMMON_TABLE_UPDATE

F_VBELN - Document number of current documen

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

VMVL_UPDATE -

Data type:
Default: ' '
Optional: Yes
Call by Reference: No ( called with pass by value option)

F_MULT -

Data type: V50AGL-MULT
Default: SPACE
Optional: Yes
Call by Reference: Yes

IS_APOINF -

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

FXVBAK -

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

VBAK_VGBEL - Document Number of the Reference Document

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

VBAK_VGTYP - Document Category of Preceding SD Document

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

TABLES Parameters details for RV_COMMON_TABLE_UPDATE

FXSADR -

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

FXVBPA2 -

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

FYSADR -

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

FYVBBE -

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

FYVBBS -

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

FYVBPA - Corresponds to YVBPA

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

FYVBUK - Corresponds to YVBUK

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

FYVBUP - Corresponds to YVBUP

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

FYQTVB -

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

FYVBPA2 -

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

FXVBAP -

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

FXVBBE -

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

FXLIPS -

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

FXVBBS -

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

FXVBPA - Corresponds to XVBPA

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

FXVBUK - Corresponds to XVBUK

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

FXVBUP - Corresponds to XVBUP

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

FXQTCH -

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

FXQTVB -

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

FXAPOI -

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

Copy and paste ABAP code example for RV_COMMON_TABLE_UPDATE 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_fxsadr  TYPE STANDARD TABLE OF SADRVB, "   
lv_f_vbeln  TYPE VBAK-VBELN, "   SPACE
lt_fxvbpa2  TYPE STANDARD TABLE OF VBPA2VB, "   
lt_fysadr  TYPE STANDARD TABLE OF SADRVB, "   
lt_fyvbbe  TYPE STANDARD TABLE OF VBBED, "   
lt_fyvbbs  TYPE STANDARD TABLE OF VBBSD, "   
lt_fyvbpa  TYPE STANDARD TABLE OF VBPAVB, "   
lt_fyvbuk  TYPE STANDARD TABLE OF VBUKVB, "   
lt_fyvbup  TYPE STANDARD TABLE OF VBUPVB, "   
lt_fyqtvb  TYPE STANDARD TABLE OF QTVBD, "   
lt_fyvbpa2  TYPE STANDARD TABLE OF VBPA2VB, "   
lt_fxvbap  TYPE STANDARD TABLE OF VBAPVB, "   
lt_fxvbbe  TYPE STANDARD TABLE OF VBBED, "   
lv_vmvl_update  TYPE VBBED, "   ' '
lt_fxlips  TYPE STANDARD TABLE OF LIPSVB, "   
lt_fxvbbs  TYPE STANDARD TABLE OF VBBSD, "   
lv_f_mult  TYPE V50AGL-MULT, "   SPACE
lt_fxvbpa  TYPE STANDARD TABLE OF VBPAVB, "   
lv_is_apoinf  TYPE SHP_APOINF, "   SPACE
lv_fxvbak  TYPE VBAK, "   
lt_fxvbuk  TYPE STANDARD TABLE OF VBUKVB, "   
lt_fxvbup  TYPE STANDARD TABLE OF VBUPVB, "   
lv_vbak_vgbel  TYPE VGBEL, "   SPACE
lt_fxqtch  TYPE STANDARD TABLE OF QTCHD, "   
lv_vbak_vgtyp  TYPE VBTYP_V, "   SPACE
lt_fxqtvb  TYPE STANDARD TABLE OF QTVBD, "   
lt_fxapoi  TYPE STANDARD TABLE OF ATPFIELD. "   

  CALL FUNCTION 'RV_COMMON_TABLE_UPDATE'  "NOTRANSL: Update der Status- und Belegflußtabellen
    EXPORTING
         F_VBELN = lv_f_vbeln
         VMVL_UPDATE = lv_vmvl_update
         F_MULT = lv_f_mult
         IS_APOINF = lv_is_apoinf
         FXVBAK = lv_fxvbak
         VBAK_VGBEL = lv_vbak_vgbel
         VBAK_VGTYP = lv_vbak_vgtyp
    TABLES
         FXSADR = lt_fxsadr
         FXVBPA2 = lt_fxvbpa2
         FYSADR = lt_fysadr
         FYVBBE = lt_fyvbbe
         FYVBBS = lt_fyvbbs
         FYVBPA = lt_fyvbpa
         FYVBUK = lt_fyvbuk
         FYVBUP = lt_fyvbup
         FYQTVB = lt_fyqtvb
         FYVBPA2 = lt_fyvbpa2
         FXVBAP = lt_fxvbap
         FXVBBE = lt_fxvbbe
         FXLIPS = lt_fxlips
         FXVBBS = lt_fxvbbs
         FXVBPA = lt_fxvbpa
         FXVBUK = lt_fxvbuk
         FXVBUP = lt_fxvbup
         FXQTCH = lt_fxqtch
         FXQTVB = lt_fxqtvb
         FXAPOI = lt_fxapoi
. " RV_COMMON_TABLE_UPDATE




ABAP code using 7.40 inline data declarations to call FM RV_COMMON_TABLE_UPDATE

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_f_vbeln).
DATA(ld_f_vbeln) = ' '.
 
 
 
 
 
 
 
 
 
 
 
 
DATA(ld_vmvl_update) = ' '.
 
 
 
"SELECT single MULT FROM V50AGL INTO @DATA(ld_f_mult).
DATA(ld_f_mult) = ' '.
 
 
DATA(ld_is_apoinf) = ' '.
 
 
 
 
DATA(ld_vbak_vgbel) = ' '.
 
 
DATA(ld_vbak_vgtyp) = ' '.
 
 
 


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!