SAP SD_IMPORT_SALESDOC_PROCESS Function Module for Parallel Processing of Import Sales Order









SD_IMPORT_SALESDOC_PROCESS is a standard sd import salesdoc process SAP function module available within SAP R/3 or S/4 Hana systems, depending on your version and release level. It is used for Parallel Processing of Import Sales Order 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 sd import salesdoc process FM, simply by entering the name SD_IMPORT_SALESDOC_PROCESS into the relevant SAP transaction such as SE37 or SE38.

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



Function SD_IMPORT_SALESDOC_PROCESS 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 'SD_IMPORT_SALESDOC_PROCESS'"Parallel Processing of Import Sales Order
EXPORTING
* IV_IMPORTID = "16 Byte UUID in 22 Characters (Usually Base64 Encoded)
IS_SALES_ORDER_BULK = "Order Data in Xstring
* IT_CUSTOM_DOCUMENT = "Sales Order Import Custom Fields

TABLES
* RT_RETURN = "Return parameter table
.



IMPORTING Parameters details for SD_IMPORT_SALESDOC_PROCESS

IV_IMPORTID - 16 Byte UUID in 22 Characters (Usually Base64 Encoded)

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

IS_SALES_ORDER_BULK - Order Data in Xstring

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

IT_CUSTOM_DOCUMENT - Sales Order Import Custom Fields

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

TABLES Parameters details for SD_IMPORT_SALESDOC_PROCESS

RT_RETURN - Return parameter table

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

Copy and paste ABAP code example for SD_IMPORT_SALESDOC_PROCESS 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_rt_return  TYPE STANDARD TABLE OF BAPIRET2_T, "   
lv_iv_importid  TYPE SYSUUID_C22, "   
lv_is_sales_order_bulk  TYPE SDSLS_ESR_SALES_ORDER_BULK_MES, "   
lv_it_custom_document  TYPE SDSLS_SOIMPRT_CUSTOM_DOC_TAB. "   

  CALL FUNCTION 'SD_IMPORT_SALESDOC_PROCESS'  "Parallel Processing of Import Sales Order
    EXPORTING
         IV_IMPORTID = lv_iv_importid
         IS_SALES_ORDER_BULK = lv_is_sales_order_bulk
         IT_CUSTOM_DOCUMENT = lv_it_custom_document
    TABLES
         RT_RETURN = lt_rt_return
. " SD_IMPORT_SALESDOC_PROCESS




ABAP code using 7.40 inline data declarations to call FM SD_IMPORT_SALESDOC_PROCESS

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!