SAP RV_XVBAPF_CREATE Function Module for NOTRANSL: Aufbau der auf Positionsebene verdichteten Flußtabelle









RV_XVBAPF_CREATE is a standard rv xvbapf create 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: Aufbau der auf Positionsebene verdichteten Flußtabelle 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 xvbapf create FM, simply by entering the name RV_XVBAPF_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function RV_XVBAPF_CREATE 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_XVBAPF_CREATE'"NOTRANSL: Aufbau der auf Positionsebene verdichteten Flußtabelle
EXPORTING
VBELN = "Document number, for which table i
* I_BUKRS = "Company Code
* I_VBAK = "
* I_VBEP_GEFUELLT = ' ' "
* I_RMENGE_NEEDED_LP = 'X' "
* I_POSNR = '000000' "Sales document item
* I_ABART = "Rel. Type
* I_ABRDT = "Date of Scheduling Agreement Release (Transmission Date)
* I_ABEFZ = "Cumulative Quantity Received by Customer
* I_CALL_FROM_DEL = ' ' "

TABLES
FXVBAPF = "Corresponds to XVBAPF
FXVBFA = "Corresponds to XVBFA
* FXVBEP = "
.




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_XVBAPF_CREATE

VBELN - Document number, for which table i

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

I_BUKRS - Company Code

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

I_VBAK -

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

I_VBEP_GEFUELLT -

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

I_RMENGE_NEEDED_LP -

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

I_POSNR - Sales document item

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

I_ABART - Rel. Type

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

I_ABRDT - Date of Scheduling Agreement Release (Transmission Date)

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

I_ABEFZ - Cumulative Quantity Received by Customer

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

I_CALL_FROM_DEL -

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

TABLES Parameters details for RV_XVBAPF_CREATE

FXVBAPF - Corresponds to XVBAPF

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

FXVBFA - Corresponds to XVBFA

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

FXVBEP -

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

Copy and paste ABAP code example for RV_XVBAPF_CREATE 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_vbeln  TYPE VBAK-VBELN, "   
lt_fxvbapf  TYPE STANDARD TABLE OF VBAPF, "   
lv_i_bukrs  TYPE BUKRS, "   
lt_fxvbfa  TYPE STANDARD TABLE OF VBFAVB, "   
lv_i_vbak  TYPE VBAK, "   
lt_fxvbep  TYPE STANDARD TABLE OF VBEPVB, "   
lv_i_vbep_gefuellt  TYPE C, "   ' '
lv_i_rmenge_needed_lp  TYPE C, "   'X'
lv_i_posnr  TYPE VBLB-POSNR, "   '000000'
lv_i_abart  TYPE VBLB-ABART, "   
lv_i_abrdt  TYPE VBLB-ABRDT, "   
lv_i_abefz  TYPE VBLB-ABEFZ, "   
lv_i_call_from_del  TYPE C. "   ' '

  CALL FUNCTION 'RV_XVBAPF_CREATE'  "NOTRANSL: Aufbau der auf Positionsebene verdichteten Flußtabelle
    EXPORTING
         VBELN = lv_vbeln
         I_BUKRS = lv_i_bukrs
         I_VBAK = lv_i_vbak
         I_VBEP_GEFUELLT = lv_i_vbep_gefuellt
         I_RMENGE_NEEDED_LP = lv_i_rmenge_needed_lp
         I_POSNR = lv_i_posnr
         I_ABART = lv_i_abart
         I_ABRDT = lv_i_abrdt
         I_ABEFZ = lv_i_abefz
         I_CALL_FROM_DEL = lv_i_call_from_del
    TABLES
         FXVBAPF = lt_fxvbapf
         FXVBFA = lt_fxvbfa
         FXVBEP = lt_fxvbep
. " RV_XVBAPF_CREATE




ABAP code using 7.40 inline data declarations to call FM RV_XVBAPF_CREATE

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_vbeln).
 
 
 
 
 
 
DATA(ld_i_vbep_gefuellt) = ' '.
 
DATA(ld_i_rmenge_needed_lp) = 'X'.
 
"SELECT single POSNR FROM VBLB INTO @DATA(ld_i_posnr).
DATA(ld_i_posnr) = '000000'.
 
"SELECT single ABART FROM VBLB INTO @DATA(ld_i_abart).
 
"SELECT single ABRDT FROM VBLB INTO @DATA(ld_i_abrdt).
 
"SELECT single ABEFZ FROM VBLB INTO @DATA(ld_i_abefz).
 
DATA(ld_i_call_from_del) = ' '.
 


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!