SAP RV_XVBUP_MAINTAIN Function Module for NOTRANSL: Statusermittlung Position









RV_XVBUP_MAINTAIN is a standard rv xvbup maintain 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: Statusermittlung Position 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 xvbup maintain FM, simply by entering the name RV_XVBUP_MAINTAIN into the relevant SAP transaction such as SE37 or SE38.

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



Function RV_XVBUP_MAINTAIN 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_XVBUP_MAINTAIN'"NOTRANSL: Statusermittlung Position
EXPORTING
* F_ALTERNATIVPOSITIONEN = ' ' "Alternative items are possibly ava
* F_VORGAENGER = ' ' "
* F_DCSTA_ERMITTELN = ' ' "
F_POSNR = "Item number
F_VBELN = "Document number
F_XVBAP_SORTIERT = "X = items table is sorted (XVBAP)
* F_XVBUV_BERUECKSICHTIGEN = 'X' "X = Determine completeness status. Define XVBUV
* F_FPLNR = ' ' "
* F_XFPLT_BERUECKSICHTIGEN = ' ' "
* F_REQ_BLOCK = ' ' "
* F_BESTA_ERMITTELN = ' ' "

IMPORTING
E_VBUP_CHANGE = "VBUP has been changed

TABLES
FXVBAP = "Corresponds to XVBAP.
FXVBAPF = "Corresponds to XVBAPF
FXVBEP = "
FXVBUP = "Corresponds to XVBUP
FXVBUV = "Corresponds to XVBUV
FYVBUP = "Corresponds to YVBUP
* FXFPLT = "
* FXFPLA = "
* FXVBKD = "
.




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_SAPLV45P_002 User Exit: Transfer of Conditions into Cost

IMPORTING Parameters details for RV_XVBUP_MAINTAIN

F_ALTERNATIVPOSITIONEN - Alternative items are possibly ava

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

F_VORGAENGER -

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

F_DCSTA_ERMITTELN -

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

F_POSNR - Item number

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

F_VBELN - Document number

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

F_XVBAP_SORTIERT - X = items table is sorted (XVBAP)

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

F_XVBUV_BERUECKSICHTIGEN - X = Determine completeness status. Define XVBUV

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

F_FPLNR -

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

F_XFPLT_BERUECKSICHTIGEN -

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

F_REQ_BLOCK -

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

F_BESTA_ERMITTELN -

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

EXPORTING Parameters details for RV_XVBUP_MAINTAIN

E_VBUP_CHANGE - VBUP has been changed

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

TABLES Parameters details for RV_XVBUP_MAINTAIN

FXVBAP - Corresponds to XVBAP.

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

FXVBAPF - Corresponds to XVBAPF

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

FXVBEP -

Data type: VBEPVB
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)

FXVBUV - Corresponds to XVBUV

Data type: VBUVVB
Optional: No
Call by Reference: Yes

FYVBUP - Corresponds to YVBUP

Data type: VBUPVB
Optional: No
Call by Reference: Yes

FXFPLT -

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

FXFPLA -

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

FXVBKD -

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

Copy and paste ABAP code example for RV_XVBUP_MAINTAIN 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_fxvbap  TYPE STANDARD TABLE OF VBAPVB, "   
lv_e_vbup_change  TYPE VBAPVB, "   
lv_f_alternativpositionen  TYPE VBAPVB, "   ' '
lv_f_vorgaenger  TYPE VBAPVB, "   ' '
lv_f_dcsta_ermitteln  TYPE TVAK-DELCF, "   ' '
lt_fxvbapf  TYPE STANDARD TABLE OF VBAPF, "   
lv_f_posnr  TYPE VBAP-POSNR, "   
lt_fxvbep  TYPE STANDARD TABLE OF VBEPVB, "   
lv_f_vbeln  TYPE VBAK-VBELN, "   
lt_fxvbup  TYPE STANDARD TABLE OF VBUPVB, "   
lv_f_xvbap_sortiert  TYPE VBUPVB, "   
lt_fxvbuv  TYPE STANDARD TABLE OF VBUVVB, "   
lv_f_xvbuv_beruecksichtigen  TYPE VBUVVB, "   'X'
lt_fyvbup  TYPE STANDARD TABLE OF VBUPVB, "   
lv_f_fplnr  TYPE VBKD-FPLNR, "   SPACE
lt_fxfplt  TYPE STANDARD TABLE OF FPLTVB, "   
lv_f_xfplt_beruecksichtigen  TYPE FPLTVB, "   SPACE
lt_fxfpla  TYPE STANDARD TABLE OF FPLAVB, "   
lv_f_req_block  TYPE TVLS-SPEBE, "   SPACE
lt_fxvbkd  TYPE STANDARD TABLE OF VBKDVB, "   
lv_f_besta_ermitteln  TYPE VBKDVB. "   SPACE

  CALL FUNCTION 'RV_XVBUP_MAINTAIN'  "NOTRANSL: Statusermittlung Position
    EXPORTING
         F_ALTERNATIVPOSITIONEN = lv_f_alternativpositionen
         F_VORGAENGER = lv_f_vorgaenger
         F_DCSTA_ERMITTELN = lv_f_dcsta_ermitteln
         F_POSNR = lv_f_posnr
         F_VBELN = lv_f_vbeln
         F_XVBAP_SORTIERT = lv_f_xvbap_sortiert
         F_XVBUV_BERUECKSICHTIGEN = lv_f_xvbuv_beruecksichtigen
         F_FPLNR = lv_f_fplnr
         F_XFPLT_BERUECKSICHTIGEN = lv_f_xfplt_beruecksichtigen
         F_REQ_BLOCK = lv_f_req_block
         F_BESTA_ERMITTELN = lv_f_besta_ermitteln
    IMPORTING
         E_VBUP_CHANGE = lv_e_vbup_change
    TABLES
         FXVBAP = lt_fxvbap
         FXVBAPF = lt_fxvbapf
         FXVBEP = lt_fxvbep
         FXVBUP = lt_fxvbup
         FXVBUV = lt_fxvbuv
         FYVBUP = lt_fyvbup
         FXFPLT = lt_fxfplt
         FXFPLA = lt_fxfpla
         FXVBKD = lt_fxvbkd
. " RV_XVBUP_MAINTAIN




ABAP code using 7.40 inline data declarations to call FM RV_XVBUP_MAINTAIN

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.

 
 
DATA(ld_f_alternativpositionen) = ' '.
 
DATA(ld_f_vorgaenger) = ' '.
 
"SELECT single DELCF FROM TVAK INTO @DATA(ld_f_dcsta_ermitteln).
DATA(ld_f_dcsta_ermitteln) = ' '.
 
 
"SELECT single POSNR FROM VBAP INTO @DATA(ld_f_posnr).
 
 
"SELECT single VBELN FROM VBAK INTO @DATA(ld_f_vbeln).
 
 
 
 
DATA(ld_f_xvbuv_beruecksichtigen) = 'X'.
 
 
"SELECT single FPLNR FROM VBKD INTO @DATA(ld_f_fplnr).
DATA(ld_f_fplnr) = ' '.
 
 
DATA(ld_f_xfplt_beruecksichtigen) = ' '.
 
 
"SELECT single SPEBE FROM TVLS INTO @DATA(ld_f_req_block).
DATA(ld_f_req_block) = ' '.
 
 
DATA(ld_f_besta_ermitteln) = ' '.
 


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!