Local Processing in the Advanced Adapter Engine using PI 7.1

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.

Create Integrated Configuration Object

  • In the ‘Inbound Processing’ tab, choose the File sender communication channel previously created

ICo Inbound Processing

  • Go to ‘Receiver Interfaces’ tab and choose your Receiver using F4 help. Also choose the corresponding operation mapping created in the ESR.

ICo Receiver Interfaces

  • Go to ‘Outbound Processing’ tab and select your receiver communication channel using F4 help.

ICo Outbound Processing

  • 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.

ICo Message Monitoring

You can also check the message audit log to verify that the message was processed within the adapter engine.

This entry was posted in SAP, SAP XI / PI and tagged . Bookmark the permalink. Post a comment or leave a trackback: Trackback URL.
Around the Web »»

8 Comments

  1. Abdur Rasheed
    Posted December 27, 2008 at 2:25 pm | Permalink

    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

  2. Posted December 28, 2008 at 12:43 pm | Permalink

    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.

  3. Posted April 15, 2009 at 3:53 pm | Permalink

    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

  4. Posted April 16, 2009 at 4:58 pm | Permalink

    Check out this link. Should be useful.

  5. Bonnefoy antoine
    Posted June 7, 2010 at 2:17 pm | Permalink

    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

  6. Posted June 7, 2010 at 3:54 pm | Permalink

    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

  7. Ngoneni
    Posted June 10, 2010 at 4:19 pm | Permalink

    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?

  8. Posted June 10, 2010 at 4:30 pm | Permalink

    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.

Post a Comment

Login with your Facebook or Twitter Account to comment. Alternatively, please fill in the fields marked *.

.

Connect with Facebook

*
*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

CommentLuv Enabled

Subscribe without commenting

GetSocial