SAP LE_ATP_INT_MAP_ATP_TO_DEL Function Module for NOTRANSL: Zuweisung der ATP Rückgabewerte an die Lieferung
LE_ATP_INT_MAP_ATP_TO_DEL is a standard le atp int map atp to del 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: Zuweisung der ATP Rückgabewerte an die Lieferung 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 atp int map atp to del FM, simply by entering the name LE_ATP_INT_MAP_ATP_TO_DEL into the relevant SAP transaction such as SE37 or SE38.
Function Group: LE_ATP_DELIVERY_INTERFACE
Program Name: SAPLLE_ATP_DELIVERY_INTERFACE
Main Program: SAPLLE_ATP_DELIVERY_INTERFACE
Appliation area: V
Release date: N/A
Mode(Normal, Remote etc): Normal Function Module
Update:

Function LE_ATP_INT_MAP_ATP_TO_DEL 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_ATP_INT_MAP_ATP_TO_DEL'"NOTRANSL: Zuweisung der ATP Rückgabewerte an die Lieferung.
EXPORTING
IS_ITEM_OUTDATA = "Return Values of the Availability Check in LES
IMPORTING
ES_SHP_SET_OF_QUANTITY = "Attributes that describe a quantity in 2 units
CHANGING
CS_LIPS = "SD document: Delivery: Item data
CS_LIPS_OLD = "SD document: Delivery: Item data
CS_LIPSD = "Dynamic Part of the Delivery Item
IMPORTING Parameters details for LE_ATP_INT_MAP_ATP_TO_DEL
IS_ITEM_OUTDATA - Return Values of the Availability Check in LES
Data type: LES_SHP_ATP_ITEM_OUTDATAOptional: No
Call by Reference: No ( called with pass by value option)
EXPORTING Parameters details for LE_ATP_INT_MAP_ATP_TO_DEL
ES_SHP_SET_OF_QUANTITY - Attributes that describe a quantity in 2 units
Data type: SHP_SET_OF_QUANTITYOptional: No
Call by Reference: No ( called with pass by value option)
CHANGING Parameters details for LE_ATP_INT_MAP_ATP_TO_DEL
CS_LIPS - SD document: Delivery: Item data
Data type: LIPSOptional: No
Call by Reference: No ( called with pass by value option)
CS_LIPS_OLD - SD document: Delivery: Item data
Data type: LIPSOptional: No
Call by Reference: No ( called with pass by value option)
CS_LIPSD - Dynamic Part of the Delivery Item
Data type: LIPSDOptional: No
Call by Reference: No ( called with pass by value option)
Copy and paste ABAP code example for LE_ATP_INT_MAP_ATP_TO_DEL 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_cs_lips | TYPE LIPS, " | |||
| lv_is_item_outdata | TYPE LES_SHP_ATP_ITEM_OUTDATA, " | |||
| lv_es_shp_set_of_quantity | TYPE SHP_SET_OF_QUANTITY, " | |||
| lv_cs_lips_old | TYPE LIPS, " | |||
| lv_cs_lipsd | TYPE LIPSD. " |
|   CALL FUNCTION 'LE_ATP_INT_MAP_ATP_TO_DEL' "NOTRANSL: Zuweisung der ATP Rückgabewerte an die Lieferung |
| EXPORTING | ||
| IS_ITEM_OUTDATA | = lv_is_item_outdata | |
| IMPORTING | ||
| ES_SHP_SET_OF_QUANTITY | = lv_es_shp_set_of_quantity | |
| CHANGING | ||
| CS_LIPS | = lv_cs_lips | |
| CS_LIPS_OLD | = lv_cs_lips_old | |
| CS_LIPSD | = lv_cs_lipsd | |
| . " LE_ATP_INT_MAP_ATP_TO_DEL | ||
ABAP code using 7.40 inline data declarations to call FM LE_ATP_INT_MAP_ATP_TO_DEL
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