Outbound Processing Step by Step
An IDoc is similar to a normal letter in that it has a sender and a receiver. If the receiver has not been explicitly identified by the application, then the ALE layer uses the distribution model to help determine the receivers for the message.
The ALE layer can find out from the model whether any distributed systems should receive the message and, if so, then how many. The result may be that one, several or no receivers at all are found.
For each of the identified distributed systems that have been ascertained to be receiver systems, the data that is specified by the filter objects in the distribution model is selected from the master IDoc. This data is then used to fill an IDoc, and the appropriate system is entered as a receiver.
Individual segments can be deleted from the IDoc before dispatch by selecting Functions for IDoc processing ® Settings for filtering in ALE Customizing. The appropriate setting depends on the sending and receiving logical R/3 System.
Receiver-specific field conversions are defined under Functions for IDoc processing ® Conversion in ALE Customizing.
General rules can be specified for field conversions; these are important for converting data fields to exchange information between R/2 and R/3 Systems. For example, the field "plant" can be converted from a 2 character field to a 4 character field.
The conversion is done using general EIS conversion tools (Executive Information System).
IDoc Version Change
SAP ensures that ALE functions between different R/3 System releases. By changing the IDoc format you can convert message types of different R/3 releases.
SAP Development use the following rules when converting existing message types:
· Fields may be appended to a segment type;
· Segments can be added;
ALE Customizing keeps a record of which version of each message type is in use for each receiver. The correct version of the communication IDoc is created in the ALE output.
Controlling the time of dispatch:
· The IDocs can either be sent immediately or be sent in a batch job. This setting is made in the partner profile.
· If the IDoc is to be sent in batch, a job has to be scheduled. You can chose how often this is carried out.
Controlling the amount of data sent:
· IDocs can be dispatched in packets. To define a packet size appropriate for a specific partner, select Communication ® Manual maintenance of partner profiles ® Maintain partner profiles in ALE Customizing.
This setting only works if the IDocs are being processed in batch.