Inbound Interface
For an inbound interface, the destination structure is usually pre-defined, since it has to fit to the data received from the external system. For example, for an ABAP proxy, the source structure is the type of INPUT parameter of the proxy class method.
Target Structure
The target Structure is sent from AIF to the final destination. In an Inbound Interface it is the SAP structure in an outbound Interface it is the RAW Structure.
Outbound Interface
For an outbound interface, the destination structure is usually pre-defined, since it has to fit to the data required by the external system. For example, for an outbound proxy interface, the structure is defined by the proxy class method's OUTPUT parameter. The raw data structure is the destination structure.
Inbound Interface
For an inbound interface, you usually have to create the destination structure in the ABAP dictionary. How the structure should look, depends on the functions you want to call in your actions. The SAP data structure is the destination structure. In our example, we will create customers and flight bookings by calling the corresponding BAPIs. Therefore, the destination structure has to contain the BAPIs' structures.
Engines
How an interface is processed and monitored in AIF is driven by the enginges. AIF knows 4 different engine types as shown in the figure. For all this engines at least one AIF own engine is provided. Also for a lot of interface technologies like IDoc or Proxy engines are delivered which use the origin interface technology inside of AIF.
The Application Engine determines how the received messages should be handled in Monitoring and Error Handling. Which application engine handles the requests depends on the technology used to process the data messages.
AIF delivers some standard engines:
The persistence engine determines which persistence engine class is used to retrieve or update the data messages on their corresponding persistence layer. Which persistence engine should be used depends on where the interface persists the processed message content.
AIF delivers the following standard persistence engines: