SAP LE_TRA_MAP_DLV_SN Function Module for NOTRANSL: Mapped Bestellbest. zu Anlieferungen









LE_TRA_MAP_DLV_SN is a standard le tra map dlv sn 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: Mapped Bestellbest. zu Anlieferungen 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 le tra map dlv sn FM, simply by entering the name LE_TRA_MAP_DLV_SN into the relevant SAP transaction such as SE37 or SE38.

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



Function LE_TRA_MAP_DLV_SN 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 'LE_TRA_MAP_DLV_SN'"NOTRANSL: Mapped Bestellbest. zu Anlieferungen
EXPORTING
IV_DO_SN_TO_DLV = "Single-Character Indicator

TABLES
IT_ITM_IN = "VS: Communication Layer: Shipment Item Data
ET_ITM_OUT = "VS: Communication Layer: Shipment Item Data
* ET_ITM_COMPL = "VS: Communication Layer: Shipment Item Data
* IT_IOS_IN = "VS Communication Layer: Deliveries in Stages
* ET_IOS_OUT = "VS Communication Layer: Deliveries in Stages
* IT_STG_IN = "VS: Communication Layer: Shipment Stages
* ET_STG_OUT = "VS: Communication Layer: Shipment Stages

EXCEPTIONS
READ_ERROR = 1
.



IMPORTING Parameters details for LE_TRA_MAP_DLV_SN

IV_DO_SN_TO_DLV - Single-Character Indicator

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

TABLES Parameters details for LE_TRA_MAP_DLV_SN

IT_ITM_IN - VS: Communication Layer: Shipment Item Data

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

ET_ITM_OUT - VS: Communication Layer: Shipment Item Data

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

ET_ITM_COMPL - VS: Communication Layer: Shipment Item Data

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

IT_IOS_IN - VS Communication Layer: Deliveries in Stages

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

ET_IOS_OUT - VS Communication Layer: Deliveries in Stages

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

IT_STG_IN - VS: Communication Layer: Shipment Stages

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

ET_STG_OUT - VS: Communication Layer: Shipment Stages

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

EXCEPTIONS details

READ_ERROR -

Data type:
Optional: No
Call by Reference: Yes

Copy and paste ABAP code example for LE_TRA_MAP_DLV_SN 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_itm_in  TYPE STANDARD TABLE OF VSRSHP_ITM, "   
lv_read_error  TYPE VSRSHP_ITM, "   
lv_iv_do_sn_to_dlv  TYPE CHAR1, "   
lt_et_itm_out  TYPE STANDARD TABLE OF VSRSHP_ITM, "   
lt_et_itm_compl  TYPE STANDARD TABLE OF VSRSHP_ITM, "   
lt_it_ios_in  TYPE STANDARD TABLE OF VSRSHP_IOS, "   
lt_et_ios_out  TYPE STANDARD TABLE OF VSRSHP_IOS, "   
lt_it_stg_in  TYPE STANDARD TABLE OF VSRSHP_STG, "   
lt_et_stg_out  TYPE STANDARD TABLE OF VSRSHP_STG. "   

  CALL FUNCTION 'LE_TRA_MAP_DLV_SN'  "NOTRANSL: Mapped Bestellbest. zu Anlieferungen
    EXPORTING
         IV_DO_SN_TO_DLV = lv_iv_do_sn_to_dlv
    TABLES
         IT_ITM_IN = lt_it_itm_in
         ET_ITM_OUT = lt_et_itm_out
         ET_ITM_COMPL = lt_et_itm_compl
         IT_IOS_IN = lt_it_ios_in
         ET_IOS_OUT = lt_et_ios_out
         IT_STG_IN = lt_it_stg_in
         ET_STG_OUT = lt_et_stg_out
    EXCEPTIONS
        READ_ERROR = 1
. " LE_TRA_MAP_DLV_SN




ABAP code using 7.40 inline data declarations to call FM LE_TRA_MAP_DLV_SN

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!