SAP Connector Guide > Part VI: Data Integration Using IDocs > Mapping and Mapping Configuration Tasks Using IDocs > IDoc Reader Sources in Mappings
  

IDoc Reader Sources in Mappings

To read IDocs from an SAP application, use an SAP IDoc Reader connection and configure the IDoc Reader source properties in the Source transformation in a mapping.
Specify the name and description of the IDoc Reader source. Configure the source and advanced properties for the source object.
The following table describes the IDoc Reader source properties that you can configure in a Source transformation:
Property
Description
Connection
Name of the source connection.
Source Type
Source type. Select Single for a single source object.
When you select an SAP IDoc Reader as connection, the source type can be a single object and source object is the IDoc Reader Object. The source object has the generic structure of an IDoc message.
Object
Source object.
The following table describes the SAP IDoc Reader advanced source properties:
Property
Description
Idle Time
Indicates the number of seconds the Secure Agent waits for IDocs to arrive before it stops reading from the SAP source. For example, if you enter 30 seconds for idle time, the Secure Agent waits 30 seconds after reading from the SAP source. If no new IDocs arrive within 30 seconds, the Secure Agent stops reading from the SAP source. Default is 300.
Packet Count
Controls the number of packets the Secure Agent reads from SAP before stopping. For example, if you enter 10 for Packet Count, the Secure Agent reads the first 10 packets from the SAP source and then stops. The packet Size property in the ALE configuration determines the number of IDocs the Secure Agent receives in a packet.
If you enter packet count as -1, you can read infinite number of packets. Default is -1.
Realtime Flush Latency
Determines, in seconds, how often the Secure Agent flushes data from the source.
Reader Time Limit
Sets a period of time, in seconds, during which the Secure Agent reads IDocs from the SAP source. For example, if you specify 10 as the reader time limit, the Secure Agent stops reading from the SAP source after 10 seconds.
If you enter reader time limit as 0, the Security Agent continues to read IDocs from SAP for an infinite period of time. Default is 0.
Recovery Cache Folder
Specifies the location of the recovery cache folder.
Tracing Level
Sets the amount of detail that appears in the log file. You can choose terse, normal, verbose initialization or verbose data. Default is normal.