SAP RV_SCHEDULE_CHECK_DELIVERIES Function Module for NOTRANSL: Bestimmen der noch zu liefernden Einteilungsmengen









RV_SCHEDULE_CHECK_DELIVERIES is a standard rv schedule check deliveries 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: Bestimmen der noch zu liefernden Einteilungsmengen 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 schedule check deliveries FM, simply by entering the name RV_SCHEDULE_CHECK_DELIVERIES into the relevant SAP transaction such as SE37 or SE38.

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



Function RV_SCHEDULE_CHECK_DELIVERIES 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_SCHEDULE_CHECK_DELIVERIES'"NOTRANSL: Bestimmen der noch zu liefernden Einteilungsmengen
EXPORTING
FBELEG = "Order, for which quantities are de
FPOSNR = "G/L account number
* FVERRECHNUNG = ' ' "Indicator for offsetting quantitie
* FS073_ALT = ' ' "
* IF_NO_SORT = ' ' "

TABLES
FVBFA = "Flow table for this order
FVBUP = "Status of order items
FXVBEP = "Table of schedule line with dynami
* FVBLB = "
FVBAP = "

EXCEPTIONS
FEHLER_BEI_LESEN_FVBUP = 1 FEHLER_BEI_LESEN_FXVBEP = 2
.



IMPORTING Parameters details for RV_SCHEDULE_CHECK_DELIVERIES

FBELEG - Order, for which quantities are de

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

FPOSNR - G/L account number

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

FVERRECHNUNG - Indicator for offsetting quantitie

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

FS073_ALT -

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

IF_NO_SORT -

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

TABLES Parameters details for RV_SCHEDULE_CHECK_DELIVERIES

FVBFA - Flow table for this order

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

FVBUP - Status of order items

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

FXVBEP - Table of schedule line with dynami

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

FVBLB -

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

FVBAP -

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

EXCEPTIONS details

FEHLER_BEI_LESEN_FVBUP - Error when reading Table FVBUP

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

FEHLER_BEI_LESEN_FXVBEP - Error when reading Table FXVBEP

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

Copy and paste ABAP code example for RV_SCHEDULE_CHECK_DELIVERIES 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_fvbfa  TYPE STANDARD TABLE OF VBFA, "   
lv_fbeleg  TYPE VBAK-VBELN, "   
lv_fehler_bei_lesen_fvbup  TYPE VBAK, "   
lt_fvbup  TYPE STANDARD TABLE OF VBUP, "   
lv_fposnr  TYPE VBAP-POSNR, "   
lv_fehler_bei_lesen_fxvbep  TYPE VBAP, "   
lt_fxvbep  TYPE STANDARD TABLE OF VBEPVB, "   
lv_fverrechnung  TYPE VBEPVB, "   SPACE
lt_fvblb  TYPE STANDARD TABLE OF VBLBVB, "   
lv_fs073_alt  TYPE VBLBVB, "   SPACE
lt_fvbap  TYPE STANDARD TABLE OF VBAPVB, "   
lv_if_no_sort  TYPE VBAPVB. "   SPACE

  CALL FUNCTION 'RV_SCHEDULE_CHECK_DELIVERIES'  "NOTRANSL: Bestimmen der noch zu liefernden Einteilungsmengen
    EXPORTING
         FBELEG = lv_fbeleg
         FPOSNR = lv_fposnr
         FVERRECHNUNG = lv_fverrechnung
         FS073_ALT = lv_fs073_alt
         IF_NO_SORT = lv_if_no_sort
    TABLES
         FVBFA = lt_fvbfa
         FVBUP = lt_fvbup
         FXVBEP = lt_fxvbep
         FVBLB = lt_fvblb
         FVBAP = lt_fvbap
    EXCEPTIONS
        FEHLER_BEI_LESEN_FVBUP = 1
        FEHLER_BEI_LESEN_FXVBEP = 2
. " RV_SCHEDULE_CHECK_DELIVERIES




ABAP code using 7.40 inline data declarations to call FM RV_SCHEDULE_CHECK_DELIVERIES

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_fbeleg).
 
 
 
"SELECT single POSNR FROM VBAP INTO @DATA(ld_fposnr).
 
 
 
DATA(ld_fverrechnung) = ' '.
 
 
DATA(ld_fs073_alt) = ' '.
 
 
DATA(ld_if_no_sort) = ' '.
 


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!