SAP LEINT_DELIVERY_CHANGE Function Module for Updates decisions with delivery changes and deletions









LEINT_DELIVERY_CHANGE is a standard leint delivery change SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Updates decisions with delivery changes and deletions 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 leint delivery change FM, simply by entering the name LEINT_DELIVERY_CHANGE into the relevant SAP transaction such as SE37 or SE38.

Function Group: LEINT_LDSRV
Program Name: SAPLLEINT_LDSRV
Main Program: SAPLLEINT_LDSRV
Appliation area:
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:



Function LEINT_DELIVERY_CHANGE 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 'LEINT_DELIVERY_CHANGE'"Updates decisions with delivery changes and deletions
EXPORTING
IT_XLIKP = "Deliveries
IT_YVBPA = "Table Type for Partners (Structure VBPAVB, Standard Key)
IT_XVBFA = "SD Document Flow
IT_YVBFA = "SD Document Flow
IT_XVBADR = "Addresses: Reference Table Type for XVBADR
IS_V50AGL = "Global Delivery Control Flags
IF_TRTYP = "Transaction type
IF_TCODE = "Functional Transaction Code in Delivery Processing
IS_V50AGL_CUST = "Control Flags for Delivery Processing (Customer Part)
IT_YLIKP = "Table Type for Delivery Headers (Based on LIKP)
IT_XVBUK = "SD Order Status
IT_YVBUK = "SD Order Status
IT_XVBUP = "SD Order Item Status
IT_YVBUP = "SD Order Item Status
IT_XLIPS = "Delivery Item Upwardly Compatible
IT_YLIPS = "Delivery Item Upwardly Compatible
IT_XVBPA = "Table Type for Partners (Structure VBPAVB, Standard Key)
.



IMPORTING Parameters details for LEINT_DELIVERY_CHANGE

IT_XLIKP - Deliveries

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

IT_YVBPA - Table Type for Partners (Structure VBPAVB, Standard Key)

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

IT_XVBFA - SD Document Flow

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

IT_YVBFA - SD Document Flow

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

IT_XVBADR - Addresses: Reference Table Type for XVBADR

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

IS_V50AGL - Global Delivery Control Flags

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

IF_TRTYP - Transaction type

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

IF_TCODE - Functional Transaction Code in Delivery Processing

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

IS_V50AGL_CUST - Control Flags for Delivery Processing (Customer Part)

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

IT_YLIKP - Table Type for Delivery Headers (Based on LIKP)

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

IT_XVBUK - SD Order Status

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

IT_YVBUK - SD Order Status

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

IT_XVBUP - SD Order Item Status

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

IT_YVBUP - SD Order Item Status

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

IT_XLIPS - Delivery Item Upwardly Compatible

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

IT_YLIPS - Delivery Item Upwardly Compatible

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

IT_XVBPA - Table Type for Partners (Structure VBPAVB, Standard Key)

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

Copy and paste ABAP code example for LEINT_DELIVERY_CHANGE 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_it_xlikp  TYPE SHP_LIKP_T, "   
lv_it_yvbpa  TYPE SHP_VBPAVB_T, "   
lv_it_xvbfa  TYPE SHP_VL10_VBFA_T, "   
lv_it_yvbfa  TYPE SHP_VL10_VBFA_T, "   
lv_it_xvbadr  TYPE SHP_SADRVB_T, "   
lv_is_v50agl  TYPE V50AGL, "   
lv_if_trtyp  TYPE TRTYP, "   
lv_if_tcode  TYPE LE_SHP_TCODE, "   
lv_is_v50agl_cust  TYPE V50AGL_CUST, "   
lv_it_ylikp  TYPE SHP_YLIKP_T, "   
lv_it_xvbuk  TYPE SHP_VL10_VBUK_T, "   
lv_it_yvbuk  TYPE SHP_VL10_VBUK_T, "   
lv_it_xvbup  TYPE SHP_VL10_VBUP_T, "   
lv_it_yvbup  TYPE SHP_VL10_VBUP_T, "   
lv_it_xlips  TYPE SHP_LIPS_T, "   
lv_it_ylips  TYPE SHP_LIPS_T, "   
lv_it_xvbpa  TYPE SHP_VBPAVB_T. "   

  CALL FUNCTION 'LEINT_DELIVERY_CHANGE'  "Updates decisions with delivery changes and deletions
    EXPORTING
         IT_XLIKP = lv_it_xlikp
         IT_YVBPA = lv_it_yvbpa
         IT_XVBFA = lv_it_xvbfa
         IT_YVBFA = lv_it_yvbfa
         IT_XVBADR = lv_it_xvbadr
         IS_V50AGL = lv_is_v50agl
         IF_TRTYP = lv_if_trtyp
         IF_TCODE = lv_if_tcode
         IS_V50AGL_CUST = lv_is_v50agl_cust
         IT_YLIKP = lv_it_ylikp
         IT_XVBUK = lv_it_xvbuk
         IT_YVBUK = lv_it_yvbuk
         IT_XVBUP = lv_it_xvbup
         IT_YVBUP = lv_it_yvbup
         IT_XLIPS = lv_it_xlips
         IT_YLIPS = lv_it_ylips
         IT_XVBPA = lv_it_xvbpa
. " LEINT_DELIVERY_CHANGE




ABAP code using 7.40 inline data declarations to call FM LEINT_DELIVERY_CHANGE

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.

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 


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!