Ansicht
Dokumentation

/SPE/RET_DIST_DELVRY_IDOC - ALE interface function module for sending delivery idocs

/SPE/RET_DIST_DELVRY_IDOC - ALE interface function module for sending delivery idocs

BAL_S_LOG - Application Log: Log header data   Vendor Master (General Section)  
This documentation is copyright by SAP AG.
SAP E-Book

Functionality

This function module is the interface from the application to the ALE layer on the outbound side. The application can pass an IDoc, the so-called master IDoc, as an internal table using the parameters MASTER_IDOC_CONTROL and MASTER_IDOC_DATA.

This IDoc is then converted into one or communcation IDocs and stored in the ALE layer. IDocs for which no errors occurred are passed to dispatch control.

In the table parameter COMMUNICATION_IDOC_CONTROL the header records for the communication IDocs created are retturned. You can tell whether processing was successful from the field STATUS.

A COMMIT WORK must be dispatched in the calling program, otherwise the IDocs may not be dispatched.

Example

Notes

Further information

For further information about using MASTER_IDOC_DISTRIBUTE refer to the ALE Programming guide in online help.





Parameters

CT_COMMUNICATION_IDOC_CONTROL
IP_CHNUM
IP_MASTER_IDOC_CONTROL
IP_OBJ_TYPE
IP_SYNCHRON
IT_BOR_OBJECT
IT_MASTER_IDOC_DATA

Exceptions

ERROR_IN_IDOC_CONTROL
ERROR_IN_IDOC_DATA
ERROR_WRITING_IDOC_STATUS
SENDING_LOGICAL_SYSTEM_UNKNOWN

Function Group

/SAPLRET_ERROR_CORR

General Data in Customer Master   CPI1466 during Backup  
This documentation is copyright by SAP AG.

Length: 1408 Date: 20240427 Time: 004301     sap01-206 ( 29 ms )