SAP GN_DELIVERY_CREATE_FOR_DIALOG Function Module for NOTRANSL: Anlegen von Lieferungen aus allgemeiner Schnittstelle mit Datenr









GN_DELIVERY_CREATE_FOR_DIALOG is a standard gn delivery create for dialog 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: Anlegen von Lieferungen aus allgemeiner Schnittstelle mit Datenr 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 gn delivery create for dialog FM, simply by entering the name GN_DELIVERY_CREATE_FOR_DIALOG 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 GN_DELIVERY_CREATE_FOR_DIALOG 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 'GN_DELIVERY_CREATE_FOR_DIALOG'"NOTRANSL: Anlegen von Lieferungen aus allgemeiner Schnittstelle mit Datenr
EXPORTING
VBSK_I = "Result before actions
* IS_DELIVERY_EXTEND = "Data for Enhancement of Deliveries in RV_DELIVERY_CREATE
* IF_NO_AUTOMATIC_PACKING = ' ' "Deactivate Automatic Packing
* IF_NO_DEQUE = ' ' "
* IF_NO_TEXT_DETERMINATION = ' ' "

IMPORTING
VBSK_E = "Result of actions

TABLES
* FXLIKP = "Created delivery headers
XKOMDLGN = "Transfer area for deliveries to be created
* XVBFS = "Error log
* XVBLS = "Log of created deliveries
* IT_GN_SERNR = "
* IT_GN_PARTNER = "Partner Data for Transmission to WMS
* IT_BAPIADDR1 = "BAPI Reference Structure for Addresses (Org./Company)
* FXLIPS = "Created delivery items
* FXVBFA = "Resulting flow from created deliveries
* FXVBPA = "Partner of created deliveries
* FXVBUK = "Status of participating transactions
* FXVBUP = "Status of Items
* FYVBUK = "Original statuses which underwent a change
* FYVBUP = "Original status of items which were changed
* FXVBUV = "Incompleteness
.




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 GN_DELIVERY_CREATE_FOR_DIALOG

VBSK_I - Result before actions

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

IS_DELIVERY_EXTEND - Data for Enhancement of Deliveries in RV_DELIVERY_CREATE

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

IF_NO_AUTOMATIC_PACKING - Deactivate Automatic Packing

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

IF_NO_DEQUE -

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

IF_NO_TEXT_DETERMINATION -

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

EXPORTING Parameters details for GN_DELIVERY_CREATE_FOR_DIALOG

VBSK_E - Result of actions

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

TABLES Parameters details for GN_DELIVERY_CREATE_FOR_DIALOG

FXLIKP - Created delivery headers

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

XKOMDLGN - Transfer area for deliveries to be created

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

XVBFS - Error log

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

XVBLS - Log of created deliveries

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

IT_GN_SERNR -

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

IT_GN_PARTNER - Partner Data for Transmission to WMS

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

IT_BAPIADDR1 - BAPI Reference Structure for Addresses (Org./Company)

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

FXLIPS - Created delivery items

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

FXVBFA - Resulting flow from created deliveries

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

FXVBPA - Partner of created deliveries

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

FXVBUK - Status of participating transactions

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

FXVBUP - Status of Items

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

FYVBUK - Original statuses which underwent a change

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

FYVBUP - Original status of items which were changed

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

FXVBUV - Incompleteness

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

Copy and paste ABAP code example for GN_DELIVERY_CREATE_FOR_DIALOG 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_fxlikp  TYPE STANDARD TABLE OF LIKPVB, "   
lv_vbsk_e  TYPE VBSK, "   
lv_vbsk_i  TYPE VBSK, "   
lt_xkomdlgn  TYPE STANDARD TABLE OF KOMDLGN, "   
lt_xvbfs  TYPE STANDARD TABLE OF VBFS, "   
lt_xvbls  TYPE STANDARD TABLE OF VBLS, "   
lt_it_gn_sernr  TYPE STANDARD TABLE OF V50S_SERN_T, "   
lt_it_gn_partner  TYPE STANDARD TABLE OF PARTNER_GN, "   
lt_it_bapiaddr1  TYPE STANDARD TABLE OF BAPIADDR1, "   
lt_fxlips  TYPE STANDARD TABLE OF LIPSVB, "   
lv_is_delivery_extend  TYPE LESHP_DELIVERY_EXTEND_RV, "   
lt_fxvbfa  TYPE STANDARD TABLE OF VBFAVB, "   
lv_if_no_automatic_packing  TYPE V50AGL_NO_AUTOMATIC_PACKING, "   SPACE
lt_fxvbpa  TYPE STANDARD TABLE OF VBPAVB, "   
lv_if_no_deque  TYPE XFELD, "   SPACE
lt_fxvbuk  TYPE STANDARD TABLE OF VBUKVB, "   
lv_if_no_text_determination  TYPE XFELD, "   SPACE
lt_fxvbup  TYPE STANDARD TABLE OF VBUPVB, "   
lt_fyvbuk  TYPE STANDARD TABLE OF VBUKVB, "   
lt_fyvbup  TYPE STANDARD TABLE OF VBUPVB, "   
lt_fxvbuv  TYPE STANDARD TABLE OF VBUVVB. "   

  CALL FUNCTION 'GN_DELIVERY_CREATE_FOR_DIALOG'  "NOTRANSL: Anlegen von Lieferungen aus allgemeiner Schnittstelle mit Datenr
    EXPORTING
         VBSK_I = lv_vbsk_i
         IS_DELIVERY_EXTEND = lv_is_delivery_extend
         IF_NO_AUTOMATIC_PACKING = lv_if_no_automatic_packing
         IF_NO_DEQUE = lv_if_no_deque
         IF_NO_TEXT_DETERMINATION = lv_if_no_text_determination
    IMPORTING
         VBSK_E = lv_vbsk_e
    TABLES
         FXLIKP = lt_fxlikp
         XKOMDLGN = lt_xkomdlgn
         XVBFS = lt_xvbfs
         XVBLS = lt_xvbls
         IT_GN_SERNR = lt_it_gn_sernr
         IT_GN_PARTNER = lt_it_gn_partner
         IT_BAPIADDR1 = lt_it_bapiaddr1
         FXLIPS = lt_fxlips
         FXVBFA = lt_fxvbfa
         FXVBPA = lt_fxvbpa
         FXVBUK = lt_fxvbuk
         FXVBUP = lt_fxvbup
         FYVBUK = lt_fyvbuk
         FYVBUP = lt_fyvbup
         FXVBUV = lt_fxvbuv
. " GN_DELIVERY_CREATE_FOR_DIALOG




ABAP code using 7.40 inline data declarations to call FM GN_DELIVERY_CREATE_FOR_DIALOG

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_if_no_automatic_packing) = ' '.
 
 
DATA(ld_if_no_deque) = ' '.
 
 
DATA(ld_if_no_text_determination) = ' '.
 
 
 
 
 


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!