SAP ISIDE_ASN_CREATE Function Module for Create inbound delivery









ISIDE_ASN_CREATE is a standard iside asn create SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Create inbound delivery 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 iside asn create FM, simply by entering the name ISIDE_ASN_CREATE into the relevant SAP transaction such as SE37 or SE38.

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



Function ISIDE_ASN_CREATE 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 'ISIDE_ASN_CREATE'"Create inbound delivery
EXPORTING
IS_INB_DELIVERY_HEADER = "Inbound Delivery List
* IF_VENDOR = "Vendor's account number
* IT_TEXT = "Tabtyp of structure ISI_TEXT for transfering header and pos
* IT_PACKAGING = "
IT_INBDD_DATA = "Tabtyp for isauto_inb_delivery_details structure

IMPORTING
EF_DELIVERY = "Inbound delivery
EF_DELIVERY2 = "Inbound delivery
ET_RETURN = "Return parameters
.



IMPORTING Parameters details for ISIDE_ASN_CREATE

IS_INB_DELIVERY_HEADER - Inbound Delivery List

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

IF_VENDOR - Vendor's account number

Data type: BAPIEKKO-VENDOR
Optional: Yes
Call by Reference: No ( called with pass by value option)

IT_TEXT - Tabtyp of structure ISI_TEXT for transfering header and pos

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

IT_PACKAGING -

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

IT_INBDD_DATA - Tabtyp for isauto_inb_delivery_details structure

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

EXPORTING Parameters details for ISIDE_ASN_CREATE

EF_DELIVERY - Inbound delivery

Data type: ISAUTO_INB_DELIVERY_LIST-DELIVERY
Optional: No
Call by Reference: No ( called with pass by value option)

EF_DELIVERY2 - Inbound delivery

Data type: ISAUTO_INB_DELIVERY_LIST-DELIVERY
Optional: No
Call by Reference: No ( called with pass by value option)

ET_RETURN - Return parameters

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

Copy and paste ABAP code example for ISIDE_ASN_CREATE 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_ef_delivery  TYPE ISAUTO_INB_DELIVERY_LIST-DELIVERY, "   
lv_is_inb_delivery_header  TYPE ISAUTO_INB_DELIVERY_LIST, "   
lv_if_vendor  TYPE BAPIEKKO-VENDOR, "   
lv_ef_delivery2  TYPE ISAUTO_INB_DELIVERY_LIST-DELIVERY, "   
lv_it_text  TYPE ISI_TEXT_TT, "   
lv_et_return  TYPE ISI_BAPIRETURN1_TT, "   
lv_it_packaging  TYPE PDT_T_PRTHUPO, "   
lv_it_inbdd_data  TYPE INB_DELIVERY_DETAILS_TABTYP. "   

  CALL FUNCTION 'ISIDE_ASN_CREATE'  "Create inbound delivery
    EXPORTING
         IS_INB_DELIVERY_HEADER = lv_is_inb_delivery_header
         IF_VENDOR = lv_if_vendor
         IT_TEXT = lv_it_text
         IT_PACKAGING = lv_it_packaging
         IT_INBDD_DATA = lv_it_inbdd_data
    IMPORTING
         EF_DELIVERY = lv_ef_delivery
         EF_DELIVERY2 = lv_ef_delivery2
         ET_RETURN = lv_et_return
. " ISIDE_ASN_CREATE




ABAP code using 7.40 inline data declarations to call FM ISIDE_ASN_CREATE

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.

"SELECT single DELIVERY FROM ISAUTO_INB_DELIVERY_LIST INTO @DATA(ld_ef_delivery).
 
 
"SELECT single VENDOR FROM BAPIEKKO INTO @DATA(ld_if_vendor).
 
"SELECT single DELIVERY FROM ISAUTO_INB_DELIVERY_LIST INTO @DATA(ld_ef_delivery2).
 
 
 
 
 


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!