Skip to Content

Why this document?

I had the opportunity to work with a third-party adapter on our SAP PI 7.11 and PI 7.3 system. In both cases, the adapter was not 100% integrated into the alerting framework and we had to find a solution for that.

So, I wrote an ABAP program reading the adapter status. Based on that status the report produces an e-mail.

I just want to share the adapter status reading part and something extra to build this solution.

ABAP code logic

The code fragment to read the adapter status:

/wp-content/uploads/2013/05/1_217048.jpg

The return code must be checked. If this is 200, the adapter status can be read. If not, I created an alert e-mail mentioning that the adapter engine is not accessible.

/wp-content/uploads/2013/05/2_217064.jpg


Now, you can build and send your e-mail.

Extras

To be able to read the adapter status, an extra role must be granted to the user. Please note this role must be assigned to the user via the SAP NetWeaver Administrator. Make sure the following actions are assigned to the role:

/wp-content/uploads/2013/05/3_217065.jpg

Questions or remarks?

If you have a (technical) question, feel free to send me an e-mail or post your thought or question.

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

    1. Dimitri Sannen Post author

      Hi Nicolas,

      The URL is this one:

      http://<host>:<HTTPport>/AdapterFramework/ChannelAdminServlet?party=’xxxx’&service=’xxxx’&channel=’xxxx’&action=status

      Kind regards,

      Dimitri

      (0) 

Leave a Reply