SAP PI 7.1 supports adapter to adapter messaging thus bypassing the ABAP stack of Integration server altogether. This is known to improve performance by a factor of 10. This article explains how to use this functionality with a simple file to file scenario.
With Advanced Adapter Engine (AAE), messages can be sent asynchronously as well as synchronously. Use of mapping programs is also supported. Configuration effort is significantly reduced as now we only have to create communication channels and an ICo (Integrated Configuration) object. Receiver/Interface Determination, Sender/Receiver Agreements are not required.
A few points to be noted however are:
- Local processing is supported only for adapters residing in the Adapter Engine. ABAP based adapters like IDoc/HTTP etc are not supported. (IDoc adapter is expected to be moved to Java stack in future releases/enhancement packs)
- ccBPM is not supported as this is a service provided by ABAP stack
- ABAP Mapping is not supported
- Proxies are not supported
- Message splits and content-based routing is not currently possible
Now let us understand this concept of local processing within AAE by creating a simple file-to-file scenario.
Create the required design objects (data types, message types, interfaces, mappings) in the repository (ESR).
Create File sender and receiver communication channels as usual. You may want to group your scenario objects under a folder by creating a folder and creating your objects within it. You can also drag and drop already created objects into the desired folder.
Creating Integrated Configuration Object
- Right click your folder (or anywhere in the Objects tabpage) and choose ‘New’
- From the left pane, select Collaboration Agreement -> Integrated Configuration
- Specify the Sender Communication Component (Business Service) and the outbound interface/namespace. Click on Create button to create new Integrated Configuration object.
- In the ‘Inbound Processing’ tab, choose the File sender communication channel previously created
- Go to ‘Receiver Interfaces’ tab and choose your Receiver using F4 help. Also choose the corresponding operation mapping created in the ESR.
- Go to ‘Outbound Processing’ tab and select your receiver communication channel using F4 help.
- Save and activate all the objects.
You can now test the configuration by putting the input file in the folder as per the File Sender communication channel configuration. Once the input file gets processed, target file would get created in the destination folder.
Using the ICo object, messages are processed locally in the advanced adapter engine. Hence, if you use transaction SXI_MONITOR (or SXMB_MONI) to check for processed messages, you will not find any message corresponding to your scenario. To check for the messages locally processed by AAE, you can use the message monitoring in the RWB. In RWB Message Monitoring, choose your Adapter Engine under ‘Messages from Component’ and then select Database. Then Click on Display button to proceed.
You can also check the message audit log to verify that the message was processed within the adapter engine.
Hi Riyaz,
Congrats!! Great Achievement..
You are doing great job by providing such informative consolidated articles.
This are really helpfull for those who are new to SAP XI.
I have simple question.
1) Whenever message from external system reaches to XI.How XI determine SENDER BUSINESS SYSTEM and SENDER INTERFACE from message.Is this information is provided from the sender in header of message?
Thanks in advance.
ABDUR RASHEED
Sender agreement is used to identify the correct sender communication channel. Sender details are part of message header or may be added by the sender adapter while processing in the AE.
Hi Riyaz,
I have finish to implement a simple one-way, asynchronous link between a file sender and the R/3 system, using XI. Can you show me the way to configuration SAP XI 3.0 to automatic send file from source system into target system use SAP XI 3.0 when source system create new file ( may be create new Vendor )
Thanks
Check out this link. Should be useful.
Hello,
Any idea when the Idoc adapter will be available on the AAE ? Is it already présent on PI 7.1 EHP1 ?
Thanks for feedback
Regards
Antoine
Antoine,
As far as I know, SAP JEE based IDoc Adapter is planned for next major release. Its not available in PI 7.1 EHP1 I guess.
Regards,
Riyaz
I have a scenario Proxy PI 3rd Party.
I am unable to send transactions out of PI, error : Transport protocol DEST//… not supported in adapter XI.
What could be the problem?
You probably mistyped the HTTP destination in the communication channel. I guess you missed to include the colons. Use DEST://… instead of DEST//… Also make sure that the RFC connection with that name exists in SM59.
Hi Riyaz,
One query about AAE. Are AAE and Adapter Engine different entities or just AAE is new name with additional features to AE?
Regards,
Akhil