Start of Content Area

Procedure documentation Starting IDoc Generation  Locate the document in its SAP Library structure

Use

The intermediate document (IDoc) is a container for exchanging data between SAP systems and non-SAP systems. The LSM Workbench uses IDocs as standard interface for data transfer.

IDocs are generated during distribution of message types and (object) methods.

The message type is the format for the transfer of data for a specific business process.

The IDoc technology uses two basic steps to import data in a file: You can call these steps in the LSM Workbench:

·         Starting IDoc Generation First, the file with the converted data is read. The packets of information in this file are then saved to the SAP database in IDoc format, but not to the database of the corresponding application. The system assigns a number to each IDoc. The file with the converted data is then deleted.

·         Starting IDoc Processing The IDocs created in the first step are sent to the associated application program. This application program checks the data and updates it in the application database, if necessary.

Whether the second step is started automatically or not depends on the ALE/IDoc settings.

One of the main parameters is stored in the partner profile (for a partner and a message type). Here, you can specify whether the IDocs are processed immediately or in a background program.

Note

For the partner profiles created by the LSM Workbench automatically, this parameter is set to: Start by background program.

Note

Step Start IDoc creation is not required if you selected the option Create IDocs directly for data conversion.

Prerequisites

Method IDoc or BAPI must have been selected as object type. This is done in first step Maintain object attributes.

Procedure

...

       1.      From the list of steps, choose Start IDoc creation.
The file name and path of the converted file is displayed.

       2.      Choose Execute.

Result

The following message is displayed: "File passed to IDoc inbound processing."

 

 

End of Content Area