Skip to Content
Author's profile photo Daniel Graversen

Easy searching in your messages with SAP PI/PO

As a seasoned PI consultant, I wanted to create an archiving solution that would make a developer’s work easier. Specifically, I wanted to create an archiving module that would store a lot of metadata on the file, while also adding a useful search function to it. This is how was born, it is no longer being maintained because there is other solutions. Some of the newer user-defined message search modules also have different search criteria for text and so does HANA.

I was talking with a friend around searching content and how easy it would be to implement your own search solution.

After taking a look at search APIs, such as Amazon’s, and having long discussions with a friend, I came across this useful page:

My friend mentioned that this would be very simple to use in a PI context for full-text searches, in case you wish to view and save certain documents.

After gathering my ideas, I had created a module. In only takes one hour to learn and implement the code in an SAP PI module.

To get started, you need to add the API URL that should be used. The next step is to create and add the Index. After these steps, the content should be put into the text field and uploaded. A step-by-step explanation is shown in my video, with examples on how to find message IDs after the completion of keyword-based searches.

This is an easy application for those who wish to search through all of their content using Searchify in a PI/PO context. It is good for scenarios where you don’t have a HANA instance to save and search through messages.

It is also quite inexpensive, at only $59 per month which will not let you run much servers.

If this was to be used in a real scenario there should be a focus creating more stabile code and a async process. There would obvious also be the need for better front end.

For a more in-depth explanation, watch my video at.

I posted the code for my module on my other blog: Searching SAP PI/PO message content with module development – SAP PI course

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Dipen Pandya
      Dipen Pandya

      Hi Daniel,

      How are you.

      Thanks a lot for sharing such a useful information.

      Best Regards,

      Dipen Pandya.

      Author's profile photo Carlos Ocampos
      Carlos Ocampos

      Good Job Daniel,

      Sounds very interesting..

      Thanks for sharing

      Kind regards