SAP SHP_BAPI_DELIVERY_CHANGE Function Module for NOTRANSL: Aufruf BAPI für Lieferungsänderung









SHP_BAPI_DELIVERY_CHANGE is a standard shp bapi 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 NOTRANSL: Aufruf BAPI für Lieferungsänderung 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 shp bapi delivery change FM, simply by entering the name SHP_BAPI_DELIVERY_CHANGE into the relevant SAP transaction such as SE37 or SE38.

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



Function SHP_BAPI_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 'SHP_BAPI_DELIVERY_CHANGE'"NOTRANSL: Aufruf BAPI für Lieferungsänderung
EXPORTING
* IF_SYNCHRON = ' ' "
IF_ALE_SERIAL_ID = "ALE Channel Number
* IF_DECSPLI = ' ' "Flag: Split Performed in Decentralized System
IS_V50AGL = "Global Delivery Control Indicators

TABLES
IT_XLIKP = "Reference Structure for XLIKP/YLIKP
IT_YVBUP = "Reference Structure for XVBUP/YVBUP
IT_XVBUK = "Reference structure for XVBUK/YVBUK
IT_YVBUK = "Reference structure for XVBUK/YVBUK
IT_YLIKP = "Reference Structure for XLIKP/YLIKP
IT_XLIPS = "Reference Structure for XLIPS/YLIPS
IT_YLIPS = "Reference Structure for XLIPS/YLIPS
IT_VBFA = "Reference Structure for XVBFA/YVBFA
IT_VBPA = "Reference structure for XVBPA/YVBPA
IT_VBADR = "Reference structure for XSADR/YSADR
IT_SERNO_CHANGE = "Delivery Items in Which Serial Numbers Were Changed
IT_XVBUP = "Reference Structure for XVBUP/YVBUP
.




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_SAPLV50K_005 User Exit BAPI Inbound Delivery Replication (Outbound from Sending System)
EXIT_SAPLV50K_006 User Exit BAPI Inbound Deliv. Confirmation (Outbound from Sending System)
EXIT_SAPLV50K_007 User Exit BAPI Outbound Delivery Replication (Outbound from Sender System)
EXIT_SAPLV50K_008 User Exit BAPI Outbound Deliv. Confirmation (Outbound from Sending System)
EXIT_SAPLV50K_011 User Exit BAPI for Changing Inbound Deliveries (Outbound)
EXIT_SAPLV50K_012 User Exit BAPI for Changing Outbound Deliveries (Outbound)

IMPORTING Parameters details for SHP_BAPI_DELIVERY_CHANGE

IF_SYNCHRON -

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

IF_ALE_SERIAL_ID - ALE Channel Number

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

IF_DECSPLI - Flag: Split Performed in Decentralized System

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

IS_V50AGL - Global Delivery Control Indicators

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

TABLES Parameters details for SHP_BAPI_DELIVERY_CHANGE

IT_XLIKP - Reference Structure for XLIKP/YLIKP

Data type: LIKPVB
Optional: No
Call by Reference: Yes

IT_YVBUP - Reference Structure for XVBUP/YVBUP

Data type: VBUPVB
Optional: No
Call by Reference: Yes

IT_XVBUK - Reference structure for XVBUK/YVBUK

Data type: VBUKVB
Optional: No
Call by Reference: Yes

IT_YVBUK - Reference structure for XVBUK/YVBUK

Data type: VBUKVB
Optional: No
Call by Reference: Yes

IT_YLIKP - Reference Structure for XLIKP/YLIKP

Data type: LIKPVB
Optional: No
Call by Reference: Yes

IT_XLIPS - Reference Structure for XLIPS/YLIPS

Data type: LIPSVB
Optional: No
Call by Reference: Yes

IT_YLIPS - Reference Structure for XLIPS/YLIPS

Data type: LIPSVB
Optional: No
Call by Reference: Yes

IT_VBFA - Reference Structure for XVBFA/YVBFA

Data type: VBFAVB
Optional: No
Call by Reference: Yes

IT_VBPA - Reference structure for XVBPA/YVBPA

Data type: VBPAVB
Optional: No
Call by Reference: Yes

IT_VBADR - Reference structure for XSADR/YSADR

Data type: SADRVB
Optional: No
Call by Reference: Yes

IT_SERNO_CHANGE - Delivery Items in Which Serial Numbers Were Changed

Data type: SHP_SERNO_CHANGE
Optional: No
Call by Reference: Yes

IT_XVBUP - Reference Structure for XVBUP/YVBUP

Data type: VBUPVB
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for SHP_BAPI_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:
lt_it_xlikp  TYPE STANDARD TABLE OF LIKPVB, "   
lv_if_synchron  TYPE LIKPVB, "   SPACE
lt_it_yvbup  TYPE STANDARD TABLE OF VBUPVB, "   
lt_it_xvbuk  TYPE STANDARD TABLE OF VBUKVB, "   
lt_it_yvbuk  TYPE STANDARD TABLE OF VBUKVB, "   
lt_it_ylikp  TYPE STANDARD TABLE OF LIKPVB, "   
lv_if_ale_serial_id  TYPE CHNUM, "   
lt_it_xlips  TYPE STANDARD TABLE OF LIPSVB, "   
lv_if_decspli  TYPE SPLIT_DONE, "   SPACE
lt_it_ylips  TYPE STANDARD TABLE OF LIPSVB, "   
lv_is_v50agl  TYPE V50AGL, "   
lt_it_vbfa  TYPE STANDARD TABLE OF VBFAVB, "   
lt_it_vbpa  TYPE STANDARD TABLE OF VBPAVB, "   
lt_it_vbadr  TYPE STANDARD TABLE OF SADRVB, "   
lt_it_serno_change  TYPE STANDARD TABLE OF SHP_SERNO_CHANGE, "   
lt_it_xvbup  TYPE STANDARD TABLE OF VBUPVB. "   

  CALL FUNCTION 'SHP_BAPI_DELIVERY_CHANGE'  "NOTRANSL: Aufruf BAPI für Lieferungsänderung
    EXPORTING
         IF_SYNCHRON = lv_if_synchron
         IF_ALE_SERIAL_ID = lv_if_ale_serial_id
         IF_DECSPLI = lv_if_decspli
         IS_V50AGL = lv_is_v50agl
    TABLES
         IT_XLIKP = lt_it_xlikp
         IT_YVBUP = lt_it_yvbup
         IT_XVBUK = lt_it_xvbuk
         IT_YVBUK = lt_it_yvbuk
         IT_YLIKP = lt_it_ylikp
         IT_XLIPS = lt_it_xlips
         IT_YLIPS = lt_it_ylips
         IT_VBFA = lt_it_vbfa
         IT_VBPA = lt_it_vbpa
         IT_VBADR = lt_it_vbadr
         IT_SERNO_CHANGE = lt_it_serno_change
         IT_XVBUP = lt_it_xvbup
. " SHP_BAPI_DELIVERY_CHANGE




ABAP code using 7.40 inline data declarations to call FM SHP_BAPI_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.

 
DATA(ld_if_synchron) = ' '.
 
 
 
 
 
 
 
DATA(ld_if_decspli) = ' '.
 
 
 
 
 
 
 
 


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!