SAP IDOC_INPUT_DESADV Function Module for NOTRANSL: Eingang Lieferavis aus Zwischenstruktur ab Release 3.0A









IDOC_INPUT_DESADV is a standard idoc input desadv 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: Eingang Lieferavis aus Zwischenstruktur ab Release 3.0A 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 idoc input desadv FM, simply by entering the name IDOC_INPUT_DESADV into the relevant SAP transaction such as SE37 or SE38.

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



Function IDOC_INPUT_DESADV 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 'IDOC_INPUT_DESADV'"NOTRANSL: Eingang Lieferavis aus Zwischenstruktur ab Release 3.0A
EXPORTING
INPUT_METHOD = "Indicator: Process Data in Foreground or Background
MASS_PROCESSING = "Indicator: Mass Inbound Processing - Several IDocs

IMPORTING
WORKFLOW_RESULT = "?
APPLICATION_VARIABLE = "Not yet used
IN_UPDATE_TASK = "Indicator: Update Task was Implemented - Due to COMMIT
CALL_TRANSACTION_DONE = "Indicator: Was Inbound Processing Performed Using CALL TRANSACTION

TABLES
IDOC_CONTRL = "Control Records of Individual IDocs
IDOC_DATA = "Internal Table With IDoc Data
IDOC_STATUS = "Status Table for Updating Data
RETURN_VARIABLES = "Assignment Table - IDOC <-> Application Document
SERIALIZATION_INFO = "Serialization Information, if Required

EXCEPTIONS
WF_ERROR_PROCESS = 1
.


IDoc processing FM

This FM is the Processing Function module for IDoc: DESADV01
DESADV01 - External service agent processing (notifications)

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_SAPLEINM_001 Customer Enhancements for Control Record: Purchasing Document (Outbound)
EXIT_SAPLEINM_002 Customer Enhancements to Data Segments: Purchasing Document (Outbound)
EXIT_SAPLEINM_003 Customer Enhancements of Data Segment for Release Documentation (Outbound)
EXIT_SAPLEINM_004 Customer Enhancements for Release Documentation (Inbound)
EXIT_SAPLEINM_005 Customer Enhancements for Order Acknowledgment (Inbound)
EXIT_SAPLEINM_006 Customer Enhancements for Shipping Notification (Inbound)
EXIT_SAPLEINM_007 Customer Enhancements for Inbound Order Acknowledgment: Read IDOC Segments
EXIT_SAPLEINM_008 Customer Enhancements for Inbound Order Acknowledgment: Concluding Actions
EXIT_SAPLEINM_009 MM EDI ORDRSP: Custotmer Enhancement: Tolerances (Quantities/Dates/Prices)
EXIT_SAPLEINM_010 Cust. Enhancement for Inbound Shipping Notif.: Adopt Item Data from IDoc
EXIT_SAPLEINM_011 Concluding Customer Enhancement: EDI Outbound Purchase Order
EXIT_SAPLEINM_012 MM EDI ORDERS/ORDCHG: Customer Enhancement Transfer Configuration
EXIT_SAPLEINM_013 MM EDI ORDERS/ORDCHG: Customer Enhancement Configuration Structures
EXIT_SAPLEINM_014 MM EDI ORDRSP: Customer Enhancement: Price Tolerances
EXIT_SAPLEINM_015 MM EDI ORDRSP: Customer Enhancement: Vendor Material Change
EXIT_SAPLEINM_016 ALE Contract Distribution: Outbound: Enhancement of IDoc Segments
EXIT_SAPLEINM_017 Concluding Customer Enhancement for ALE Contract Distribution: Outbound
EXIT_SAPLEINM_018 Inbound Order Acknowledgment: Modify Segment E1EDK01
EXIT_SAPLEINM_019 Final User Exit: FRC
EXIT_SAPLEINM_020 Final User Exit: JIT

IMPORTING Parameters details for IDOC_INPUT_DESADV

INPUT_METHOD - Indicator: Process Data in Foreground or Background

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

MASS_PROCESSING - Indicator: Mass Inbound Processing - Several IDocs

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

EXPORTING Parameters details for IDOC_INPUT_DESADV

WORKFLOW_RESULT - ?

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

APPLICATION_VARIABLE - Not yet used

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

IN_UPDATE_TASK - Indicator: Update Task was Implemented - Due to COMMIT

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

CALL_TRANSACTION_DONE - Indicator: Was Inbound Processing Performed Using CALL TRANSACTION

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

TABLES Parameters details for IDOC_INPUT_DESADV

IDOC_CONTRL - Control Records of Individual IDocs

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

IDOC_DATA - Internal Table With IDoc Data

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

IDOC_STATUS - Status Table for Updating Data

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

RETURN_VARIABLES - Assignment Table - IDOC <-> Application Document

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

SERIALIZATION_INFO - Serialization Information, if Required

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

EXCEPTIONS details

WF_ERROR_PROCESS - Error during inbound processing

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

Copy and paste ABAP code example for IDOC_INPUT_DESADV 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_idoc_contrl  TYPE STANDARD TABLE OF EDIDC, "   
lv_input_method  TYPE BDWFAP_PAR-INPUTMETHD, "   
lv_workflow_result  TYPE BDWF_PARAM-RESULT, "   
lv_wf_error_process  TYPE BDWF_PARAM, "   
lt_idoc_data  TYPE STANDARD TABLE OF EDIDD, "   
lv_mass_processing  TYPE BDWFAP_PAR-MASS_PROC, "   
lv_application_variable  TYPE BDWF_PARAM-APPL_VAR, "   
lt_idoc_status  TYPE STANDARD TABLE OF BDIDOCSTAT, "   
lv_in_update_task  TYPE BDWFAP_PAR-UPDATETASK, "   
lt_return_variables  TYPE STANDARD TABLE OF BDWFRETVAR, "   
lv_call_transaction_done  TYPE BDWFAP_PAR-CALLTRANS, "   
lt_serialization_info  TYPE STANDARD TABLE OF BDI_SER. "   

  CALL FUNCTION 'IDOC_INPUT_DESADV'  "NOTRANSL: Eingang Lieferavis aus Zwischenstruktur ab Release 3.0A
    EXPORTING
         INPUT_METHOD = lv_input_method
         MASS_PROCESSING = lv_mass_processing
    IMPORTING
         WORKFLOW_RESULT = lv_workflow_result
         APPLICATION_VARIABLE = lv_application_variable
         IN_UPDATE_TASK = lv_in_update_task
         CALL_TRANSACTION_DONE = lv_call_transaction_done
    TABLES
         IDOC_CONTRL = lt_idoc_contrl
         IDOC_DATA = lt_idoc_data
         IDOC_STATUS = lt_idoc_status
         RETURN_VARIABLES = lt_return_variables
         SERIALIZATION_INFO = lt_serialization_info
    EXCEPTIONS
        WF_ERROR_PROCESS = 1
. " IDOC_INPUT_DESADV




ABAP code using 7.40 inline data declarations to call FM IDOC_INPUT_DESADV

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 INPUTMETHD FROM BDWFAP_PAR INTO @DATA(ld_input_method).
 
"SELECT single RESULT FROM BDWF_PARAM INTO @DATA(ld_workflow_result).
 
 
 
"SELECT single MASS_PROC FROM BDWFAP_PAR INTO @DATA(ld_mass_processing).
 
"SELECT single APPL_VAR FROM BDWF_PARAM INTO @DATA(ld_application_variable).
 
 
"SELECT single UPDATETASK FROM BDWFAP_PAR INTO @DATA(ld_in_update_task).
 
 
"SELECT single CALLTRANS FROM BDWFAP_PAR INTO @DATA(ld_call_transaction_done).
 
 

See full list of SAP IDocs

See full list of SAP Function Modules



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!