SAP RV_DELIVERY_INIT Function Module for NOTRANSL: Initialisieren von Bereichen der Lieferungserstellung









RV_DELIVERY_INIT is a standard rv delivery init 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: Initialisieren von Bereichen der Lieferungserstellung 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 delivery init FM, simply by entering the name RV_DELIVERY_INIT into the relevant SAP transaction such as SE37 or SE38.

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



Function RV_DELIVERY_INIT 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_DELIVERY_INIT'"NOTRANSL: Initialisieren von Bereichen der Lieferungserstellung
EXPORTING
* STATUS_BUFF_INIT = "
* TEXT_MEMORY_INIT = ' ' "
* PP_DELIVERY = ' ' "Checkbox
* I_CALL_ACTIVITY = ' ' "
* IF_NO_DEQUE = ' ' "
.




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_SAPLV50S_001 User Exit for Controlling Document Number Assignment in Decentralized WMS
EXIT_SAPLV50S_002 Control for Whether Fields in Distributed Deliveries can be Changed
EXIT_SAPLV50S_911 TAS - Customer exit after creation of delivery (rushorder)

IMPORTING Parameters details for RV_DELIVERY_INIT

STATUS_BUFF_INIT -

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

TEXT_MEMORY_INIT -

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

PP_DELIVERY - Checkbox

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

I_CALL_ACTIVITY -

Data type: C
Default: SPACE
Optional: Yes
Call by Reference: Yes

IF_NO_DEQUE -

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

Copy and paste ABAP code example for RV_DELIVERY_INIT 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_status_buff_init  TYPE RVSEL-XFELD, "   
lv_text_memory_init  TYPE RVSEL-XFELD, "   SPACE
lv_pp_delivery  TYPE RVSEL-XFELD, "   SPACE
lv_i_call_activity  TYPE C, "   SPACE
lv_if_no_deque  TYPE XFELD. "   SPACE

  CALL FUNCTION 'RV_DELIVERY_INIT'  "NOTRANSL: Initialisieren von Bereichen der Lieferungserstellung
    EXPORTING
         STATUS_BUFF_INIT = lv_status_buff_init
         TEXT_MEMORY_INIT = lv_text_memory_init
         PP_DELIVERY = lv_pp_delivery
         I_CALL_ACTIVITY = lv_i_call_activity
         IF_NO_DEQUE = lv_if_no_deque
. " RV_DELIVERY_INIT




ABAP code using 7.40 inline data declarations to call FM RV_DELIVERY_INIT

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 XFELD FROM RVSEL INTO @DATA(ld_status_buff_init).
 
"SELECT single XFELD FROM RVSEL INTO @DATA(ld_text_memory_init).
DATA(ld_text_memory_init) = ' '.
 
"SELECT single XFELD FROM RVSEL INTO @DATA(ld_pp_delivery).
DATA(ld_pp_delivery) = ' '.
 
DATA(ld_i_call_activity) = ' '.
 
DATA(ld_if_no_deque) = ' '.
 


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!