SAP SHP_VL10_DELIVERY_CREATE_PARA Function Module for NOTRANSL: Anlegen Lieferungen, die auf Zusammenführung geprüft werden müss
SHP_VL10_DELIVERY_CREATE_PARA is a standard shp vl10 delivery create para 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 Lieferungen, die auf Zusammenführung geprüft werden müss 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 vl10 delivery create para FM, simply by entering the name SHP_VL10_DELIVERY_CREATE_PARA into the relevant SAP transaction such as SE37 or SE38.
Function Group: V50R_CREA
Program Name: SAPLV50R_CREA
Main Program: SAPLV50R_CREA
Appliation area: D
Release date: N/A
Mode(Normal, Remote etc): Remote-Enabled
Update:
Function SHP_VL10_DELIVERY_CREATE_PARA 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_VL10_DELIVERY_CREATE_PARA'"NOTRANSL: Anlegen Lieferungen, die auf Zusammenführung geprüft werden müss.
EXPORTING
IF_LEDAT = "
IF_NUR_VORGABE_POS = "
* IS_CONTROL = "Control Parameters for Expanding Deliveries
* IF_SEL_CRIT_IGNORE_ITEM = "Select Entire Documents if an Item Meets Criteria
TABLES
* IT_VBSK_ALL = "
* IT_VBPA = "Reference structure for XVBPA/YVBPA
* IT_VORGABE_DATEN = "
* IT_VETVG = "
* IT_KOMDLGN = "
* IT_KEY_ENQUE = "
* IT_KEY_ENQUE_READ = "
* ET_VBSK_ALL = "
* ET_VBFS = "Error Log - Deliveries
* ET_KEY_LATE = "Table with Packets of Items (Order Combination)
* ET_VORGABE_LATE = "Data for FB RV_DELIVERY_CREATE, to be Defined Outside System
* IT_VBLS = "
* ET_KOMDLGN_LATE = "Transfer Structure GN_Delivery_Create
* ET_VBLS = "Return Structure of Delivery Items Created
* ET_KEY_ENQUE_READ = "Table with Packets of Items (Order Combination)
* IT_LEDAT_RANGE = "
* IT_VSBED_RANGE = "
* IT_MATNR_RANGE = "
* IT_MATKL_RANGE = "
* IT_WAKTI_RANGE = "
* IT_WERKS_RANGE = "Range for Plant
* IT_LGORT_RANGE = "Storage Location Range
* IT_VBAK = "
* IT_ABLAD_RANGE = "
* IT_AULWE_RANGE = "
* IT_WADAT_RANGE = "
* IT_WAUHR_RANGE = "
* IT_G_RTE_RANGE = "Table Type for Range Table for GEO Route
* IT_ITEM_SERIAL_NO = "
* IT_VBAP = "
* IT_VBEP = "
* IT_VBUK = "
* IT_VBUP = "
* IT_VBKD = "
* IT_VBFA = "
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_SAPLV50R_CREA_001 Data Transfer - BAPI Interface External -> Internal
EXIT_SAPLV50R_CREA_002 SD Data Transfer: BAPI Interface Internal -> Delivery Creation
EXIT_SAPLV50R_CREA_003 Data Transfer MM: BAPI Interface Internal -> Delivery Creation
IMPORTING Parameters details for SHP_VL10_DELIVERY_CREATE_PARA
IF_LEDAT -
Data type: LFDAT_AOptional: No
Call by Reference: No ( called with pass by value option)
IF_NUR_VORGABE_POS -
Data type: XFELDOptional: No
Call by Reference: No ( called with pass by value option)
IS_CONTROL - Control Parameters for Expanding Deliveries
Data type: LESHP_DELIVERY_PROC_CONTROL_INOptional: Yes
Call by Reference: No ( called with pass by value option)
IF_SEL_CRIT_IGNORE_ITEM - Select Entire Documents if an Item Meets Criteria
Data type: SHP_VL10_SEL_CRIT_IGNORE_SOptional: Yes
Call by Reference: No ( called with pass by value option)
TABLES Parameters details for SHP_VL10_DELIVERY_CREATE_PARA
IT_VBSK_ALL -
Data type: SHP_VBSK_TOptional: Yes
Call by Reference: Yes
IT_VBPA - Reference structure for XVBPA/YVBPA
Data type: VBPAVBOptional: Yes
Call by Reference: Yes
IT_VORGABE_DATEN -
Data type: SHP_VORGABE_DATEN_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_VETVG -
Data type: SHP_VL10_VETVG_TOptional: Yes
Call by Reference: Yes
IT_KOMDLGN -
Data type: SHP_KOMDLGN_TOptional: Yes
Call by Reference: No ( called with pass by value option)
IT_KEY_ENQUE -
Data type: SHP_VL10_PACKAGE_TOptional: Yes
Call by Reference: Yes
IT_KEY_ENQUE_READ -
Data type: SHP_VL10_PACKAGE_TOptional: Yes
Call by Reference: Yes
ET_VBSK_ALL -
Data type: SHP_VBSK_TOptional: Yes
Call by Reference: No ( called with pass by value option)
ET_VBFS - Error Log - Deliveries
Data type: SHP_VBFS_TOptional: Yes
Call by Reference: Yes
ET_KEY_LATE - Table with Packets of Items (Order Combination)
Data type: SHP_VL10_PACKAGE_TOptional: Yes
Call by Reference: Yes
ET_VORGABE_LATE - Data for FB RV_DELIVERY_CREATE, to be Defined Outside System
Data type: SHP_VORGABE_DATEN_TOptional: Yes
Call by Reference: Yes
IT_VBLS -
Data type: SHP_VBLS_TOptional: Yes
Call by Reference: Yes
ET_KOMDLGN_LATE - Transfer Structure GN_Delivery_Create
Data type: SHP_KOMDLGN_TOptional: Yes
Call by Reference: Yes
ET_VBLS - Return Structure of Delivery Items Created
Data type: SHP_VBLS_TOptional: Yes
Call by Reference: Yes
ET_KEY_ENQUE_READ - Table with Packets of Items (Order Combination)
Data type: SHP_VL10_PACKAGE_TOptional: Yes
Call by Reference: Yes
IT_LEDAT_RANGE -
Data type: SHP_LEDAT_RANGE_TOptional: Yes
Call by Reference: Yes
IT_VSBED_RANGE -
Data type: SHP_VSBED_RANGE_TOptional: Yes
Call by Reference: Yes
IT_MATNR_RANGE -
Data type: SHP_MATNR_RANGE_TOptional: Yes
Call by Reference: Yes
IT_MATKL_RANGE -
Data type: SHP_MATKL_RANGE_TOptional: Yes
Call by Reference: Yes
IT_WAKTI_RANGE -
Data type: SHP_WAKTI_RANGE_TOptional: Yes
Call by Reference: Yes
IT_WERKS_RANGE - Range for Plant
Data type: SHP_WERKS_RANGE_TOptional: Yes
Call by Reference: Yes
IT_LGORT_RANGE - Storage Location Range
Data type: SHP_LGORT_RANGE_TOptional: Yes
Call by Reference: Yes
IT_VBAK -
Data type: VBAKOptional: Yes
Call by Reference: Yes
IT_ABLAD_RANGE -
Data type: SHP_ABLAD_RANGE_TOptional: Yes
Call by Reference: Yes
IT_AULWE_RANGE -
Data type: SHP_AULWE_RANGE_TOptional: Yes
Call by Reference: Yes
IT_WADAT_RANGE -
Data type: SHP_WADAT_RANGE_TOptional: Yes
Call by Reference: Yes
IT_WAUHR_RANGE -
Data type: SHP_WAUHR_RANGE_TOptional: Yes
Call by Reference: Yes
IT_G_RTE_RANGE - Table Type for Range Table for GEO Route
Data type: SHP_G_RTE_RANGE_TOptional: Yes
Call by Reference: Yes
IT_ITEM_SERIAL_NO -
Data type: BAPIOBDLVITMSERNOOptional: Yes
Call by Reference: Yes
IT_VBAP -
Data type: VBAPVBOptional: Yes
Call by Reference: Yes
IT_VBEP -
Data type: VBEPVBOptional: Yes
Call by Reference: Yes
IT_VBUK -
Data type: VBUKVBOptional: Yes
Call by Reference: Yes
IT_VBUP -
Data type: VBUPVBOptional: Yes
Call by Reference: Yes
IT_VBKD -
Data type: VBKDVBOptional: Yes
Call by Reference: Yes
IT_VBFA -
Data type: VBFAVBOptional: Yes
Call by Reference: Yes
Copy and paste ABAP code example for SHP_VL10_DELIVERY_CREATE_PARA 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_if_ledat | TYPE LFDAT_A, " | |||
lt_it_vbsk_all | TYPE STANDARD TABLE OF SHP_VBSK_T, " | |||
lt_it_vbpa | TYPE STANDARD TABLE OF VBPAVB, " | |||
lt_it_vorgabe_daten | TYPE STANDARD TABLE OF SHP_VORGABE_DATEN_T, " | |||
lt_it_vetvg | TYPE STANDARD TABLE OF SHP_VL10_VETVG_T, " | |||
lt_it_komdlgn | TYPE STANDARD TABLE OF SHP_KOMDLGN_T, " | |||
lt_it_key_enque | TYPE STANDARD TABLE OF SHP_VL10_PACKAGE_T, " | |||
lt_it_key_enque_read | TYPE STANDARD TABLE OF SHP_VL10_PACKAGE_T, " | |||
lt_et_vbsk_all | TYPE STANDARD TABLE OF SHP_VBSK_T, " | |||
lt_et_vbfs | TYPE STANDARD TABLE OF SHP_VBFS_T, " | |||
lt_et_key_late | TYPE STANDARD TABLE OF SHP_VL10_PACKAGE_T, " | |||
lt_et_vorgabe_late | TYPE STANDARD TABLE OF SHP_VORGABE_DATEN_T, " | |||
lt_it_vbls | TYPE STANDARD TABLE OF SHP_VBLS_T, " | |||
lv_if_nur_vorgabe_pos | TYPE XFELD, " | |||
lt_et_komdlgn_late | TYPE STANDARD TABLE OF SHP_KOMDLGN_T, " | |||
lt_et_vbls | TYPE STANDARD TABLE OF SHP_VBLS_T, " | |||
lt_et_key_enque_read | TYPE STANDARD TABLE OF SHP_VL10_PACKAGE_T, " | |||
lt_it_ledat_range | TYPE STANDARD TABLE OF SHP_LEDAT_RANGE_T, " | |||
lt_it_vsbed_range | TYPE STANDARD TABLE OF SHP_VSBED_RANGE_T, " | |||
lt_it_matnr_range | TYPE STANDARD TABLE OF SHP_MATNR_RANGE_T, " | |||
lt_it_matkl_range | TYPE STANDARD TABLE OF SHP_MATKL_RANGE_T, " | |||
lt_it_wakti_range | TYPE STANDARD TABLE OF SHP_WAKTI_RANGE_T, " | |||
lt_it_werks_range | TYPE STANDARD TABLE OF SHP_WERKS_RANGE_T, " | |||
lt_it_lgort_range | TYPE STANDARD TABLE OF SHP_LGORT_RANGE_T, " | |||
lt_it_vbak | TYPE STANDARD TABLE OF VBAK, " | |||
lv_is_control | TYPE LESHP_DELIVERY_PROC_CONTROL_IN, " | |||
lt_it_ablad_range | TYPE STANDARD TABLE OF SHP_ABLAD_RANGE_T, " | |||
lt_it_aulwe_range | TYPE STANDARD TABLE OF SHP_AULWE_RANGE_T, " | |||
lt_it_wadat_range | TYPE STANDARD TABLE OF SHP_WADAT_RANGE_T, " | |||
lt_it_wauhr_range | TYPE STANDARD TABLE OF SHP_WAUHR_RANGE_T, " | |||
lt_it_g_rte_range | TYPE STANDARD TABLE OF SHP_G_RTE_RANGE_T, " | |||
lt_it_item_serial_no | TYPE STANDARD TABLE OF BAPIOBDLVITMSERNO, " | |||
lt_it_vbap | TYPE STANDARD TABLE OF VBAPVB, " | |||
lv_if_sel_crit_ignore_item | TYPE SHP_VL10_SEL_CRIT_IGNORE_S, " | |||
lt_it_vbep | TYPE STANDARD TABLE OF VBEPVB, " | |||
lt_it_vbuk | TYPE STANDARD TABLE OF VBUKVB, " | |||
lt_it_vbup | TYPE STANDARD TABLE OF VBUPVB, " | |||
lt_it_vbkd | TYPE STANDARD TABLE OF VBKDVB, " | |||
lt_it_vbfa | TYPE STANDARD TABLE OF VBFAVB. " |
  CALL FUNCTION 'SHP_VL10_DELIVERY_CREATE_PARA' "NOTRANSL: Anlegen Lieferungen, die auf Zusammenführung geprüft werden müss |
EXPORTING | ||
IF_LEDAT | = lv_if_ledat | |
IF_NUR_VORGABE_POS | = lv_if_nur_vorgabe_pos | |
IS_CONTROL | = lv_is_control | |
IF_SEL_CRIT_IGNORE_ITEM | = lv_if_sel_crit_ignore_item | |
TABLES | ||
IT_VBSK_ALL | = lt_it_vbsk_all | |
IT_VBPA | = lt_it_vbpa | |
IT_VORGABE_DATEN | = lt_it_vorgabe_daten | |
IT_VETVG | = lt_it_vetvg | |
IT_KOMDLGN | = lt_it_komdlgn | |
IT_KEY_ENQUE | = lt_it_key_enque | |
IT_KEY_ENQUE_READ | = lt_it_key_enque_read | |
ET_VBSK_ALL | = lt_et_vbsk_all | |
ET_VBFS | = lt_et_vbfs | |
ET_KEY_LATE | = lt_et_key_late | |
ET_VORGABE_LATE | = lt_et_vorgabe_late | |
IT_VBLS | = lt_it_vbls | |
ET_KOMDLGN_LATE | = lt_et_komdlgn_late | |
ET_VBLS | = lt_et_vbls | |
ET_KEY_ENQUE_READ | = lt_et_key_enque_read | |
IT_LEDAT_RANGE | = lt_it_ledat_range | |
IT_VSBED_RANGE | = lt_it_vsbed_range | |
IT_MATNR_RANGE | = lt_it_matnr_range | |
IT_MATKL_RANGE | = lt_it_matkl_range | |
IT_WAKTI_RANGE | = lt_it_wakti_range | |
IT_WERKS_RANGE | = lt_it_werks_range | |
IT_LGORT_RANGE | = lt_it_lgort_range | |
IT_VBAK | = lt_it_vbak | |
IT_ABLAD_RANGE | = lt_it_ablad_range | |
IT_AULWE_RANGE | = lt_it_aulwe_range | |
IT_WADAT_RANGE | = lt_it_wadat_range | |
IT_WAUHR_RANGE | = lt_it_wauhr_range | |
IT_G_RTE_RANGE | = lt_it_g_rte_range | |
IT_ITEM_SERIAL_NO | = lt_it_item_serial_no | |
IT_VBAP | = lt_it_vbap | |
IT_VBEP | = lt_it_vbep | |
IT_VBUK | = lt_it_vbuk | |
IT_VBUP | = lt_it_vbup | |
IT_VBKD | = lt_it_vbkd | |
IT_VBFA | = lt_it_vbfa | |
. " SHP_VL10_DELIVERY_CREATE_PARA |
ABAP code using 7.40 inline data declarations to call FM SHP_VL10_DELIVERY_CREATE_PARA
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