SAP RV_REQUIREMENT_SET Function Module for Transfer of a New or Changed Requirement per Material and Plant









RV_REQUIREMENT_SET is a standard rv requirement set SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Transfer of a New or Changed Requirement per Material and Plant 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 requirement set FM, simply by entering the name RV_REQUIREMENT_SET into the relevant SAP transaction such as SE37 or SE38.

Function Group: V03V
Program Name: SAPLV03V
Main Program: SAPLV03V
Appliation area:
Release date: 20-Dec-1994
Mode(Normal, Remote etc): Normal Function Module
Update:



Function RV_REQUIREMENT_SET 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_REQUIREMENT_SET'"Transfer of a New or Changed Requirement per Material and Plant
EXPORTING
* BEDARF_KOPIEREN = ' ' "
* EINMALREF_AENDERN = ' ' "
* OMENG_REF = 0 "
* VMENG_REF = 0 "
* MONTAGE_AKT = "
* BELEG = "

IMPORTING
BEDARF_ZUORDNEN = "

TABLES
AVBBD = "
BVBBD = "
* XMVERF_POS = "

EXCEPTIONS
KEINE_STEUERUNG = 1
.



IMPORTING Parameters details for RV_REQUIREMENT_SET

BEDARF_KOPIEREN -

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

EINMALREF_AENDERN -

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

OMENG_REF -

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

VMENG_REF -

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

MONTAGE_AKT -

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

BELEG -

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

EXPORTING Parameters details for RV_REQUIREMENT_SET

BEDARF_ZUORDNEN -

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

TABLES Parameters details for RV_REQUIREMENT_SET

AVBBD -

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

BVBBD -

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

XMVERF_POS -

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

EXCEPTIONS details

KEINE_STEUERUNG -

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

Copy and paste ABAP code example for RV_REQUIREMENT_SET 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_avbbd  TYPE STANDARD TABLE OF BV03V, "   
lv_bedarf_kopieren  TYPE BV03V, "   SPACE
lv_bedarf_zuordnen  TYPE BV03V, "   
lv_keine_steuerung  TYPE BV03V, "   
lt_bvbbd  TYPE STANDARD TABLE OF BV03V, "   
lv_einmalref_aendern  TYPE BV03V, "   SPACE
lv_omeng_ref  TYPE VBBE-OMENG, "   0
lt_xmverf_pos  TYPE STANDARD TABLE OF V03V_XMVERF_POS, "   
lv_vmeng_ref  TYPE VBBE-VMENG, "   0
lv_montage_akt  TYPE VBBE, "   
lv_beleg  TYPE VBAK-VBELN. "   

  CALL FUNCTION 'RV_REQUIREMENT_SET'  "Transfer of a New or Changed Requirement per Material and Plant
    EXPORTING
         BEDARF_KOPIEREN = lv_bedarf_kopieren
         EINMALREF_AENDERN = lv_einmalref_aendern
         OMENG_REF = lv_omeng_ref
         VMENG_REF = lv_vmeng_ref
         MONTAGE_AKT = lv_montage_akt
         BELEG = lv_beleg
    IMPORTING
         BEDARF_ZUORDNEN = lv_bedarf_zuordnen
    TABLES
         AVBBD = lt_avbbd
         BVBBD = lt_bvbbd
         XMVERF_POS = lt_xmverf_pos
    EXCEPTIONS
        KEINE_STEUERUNG = 1
. " RV_REQUIREMENT_SET




ABAP code using 7.40 inline data declarations to call FM RV_REQUIREMENT_SET

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_bedarf_kopieren) = ' '.
 
 
 
 
DATA(ld_einmalref_aendern) = ' '.
 
"SELECT single OMENG FROM VBBE INTO @DATA(ld_omeng_ref).
 
 
"SELECT single VMENG FROM VBBE INTO @DATA(ld_vmeng_ref).
 
 
"SELECT single VBELN FROM VBAK INTO @DATA(ld_beleg).
 


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!