SAP RV_DISPATCH_DUE_DATE_VIEW Function Module for Determe orders due for shipping
RV_DISPATCH_DUE_DATE_VIEW is a standard rv dispatch due date view SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Determe orders due for shipping 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 dispatch due date view FM, simply by entering the name RV_DISPATCH_DUE_DATE_VIEW into the relevant SAP transaction such as SE37 or SE38.
Function Group: V05L
Program Name: SAPLV05L
Main Program: SAPLV05L
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function RV_DISPATCH_DUE_DATE_VIEW 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_DISPATCH_DUE_DATE_VIEW'"Determe orders due for shipping.
EXPORTING
COMWA = "Selection criteria delivery due in
IMPORTING
ANZGI = "
ANZGP = "
TABLES
VBVFI_TAB = "determined delivery due indices
VBVFP_TAB = "
IMPORTING Parameters details for RV_DISPATCH_DUE_DATE_VIEW
COMWA - Selection criteria delivery due in
Data type: VBCO2Optional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for RV_DISPATCH_DUE_DATE_VIEW
ANZGI -
Data type: VBSK-ANZGIOptional: No
Call by Reference: No ( called with pass by value option)
ANZGP -
Data type: VBSK-ANZGPOptional: No
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for RV_DISPATCH_DUE_DATE_VIEW
VBVFI_TAB - determined delivery due indices
Data type: VBVFIOptional: No
Call by Reference: No ( called with pass by value option)
VBVFP_TAB -
Data type: VBVFPOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for RV_DISPATCH_DUE_DATE_VIEW 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_anzgi | TYPE VBSK-ANZGI, " | |||
| lv_comwa | TYPE VBCO2, " | |||
| lt_vbvfi_tab | TYPE STANDARD TABLE OF VBVFI, " | |||
| lv_anzgp | TYPE VBSK-ANZGP, " | |||
| lt_vbvfp_tab | TYPE STANDARD TABLE OF VBVFP. " |
|   CALL FUNCTION 'RV_DISPATCH_DUE_DATE_VIEW' "Determe orders due for shipping |
| EXPORTING | ||
| COMWA | = lv_comwa | |
| IMPORTING | ||
| ANZGI | = lv_anzgi | |
| ANZGP | = lv_anzgp | |
| TABLES | ||
| VBVFI_TAB | = lt_vbvfi_tab | |
| VBVFP_TAB | = lt_vbvfp_tab | |
| . " RV_DISPATCH_DUE_DATE_VIEW | ||
ABAP code using 7.40 inline data declarations to call FM RV_DISPATCH_DUE_DATE_VIEW
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 ANZGI FROM VBSK INTO @DATA(ld_anzgi). | ||||
| "SELECT single ANZGP FROM VBSK INTO @DATA(ld_anzgp). | ||||
Search for further information about these or an SAP related objects