Skip to Content
May 02, 2016 at 05:13 AM

design Query?


Hello All,

I am working on a requirement and need your inputs to best design and implement it, here is the scenario.

SAP HANA ->SAP PI 7.4(Java Single Stack)-> Third Part Messaging System and vice versa.

Scenario: SAP will trigger email message (Email Id, Subject, Email Body) via outbound SAP proxy, which will come to SAP PI and will be send to3rd party messaging system using Rest adapter. Once SAP message is acknowledged for processing by 3rd party messaging system than it will return me unique message id for each of the email message in a field called location.

Please refer screenshot for the API below.

Response Example

The following code is an example response from a successful message sendout.

view source print ?

1 HTTP 1.1 202 Accepted

2 Location:<yourkey>


4 Your message has been accepted for processing.

This message id than needs to be used again to query the third party system for the status of each Email message (delivered, failed etc).

  1. Considering I need to receive the message id and then use it to query again the third party system
  2. Do I need to have separate interface to query the status? Meaning first time the message will come from SAP to PI and then to 3rd party system. The message id will be stored in SAP R/3 . Then another proxy will take the message id and through PI will query again the 3rd party system through a new interface.
  3. What is the best way to retrieve and store the message id from field location and how can it be done? I mean should I use synchronous service interface at SAP end and 3rd party system or it can be done in better way?
  4. What is the use of tab “HTTP Header” and “Response determination” in REST adapter?

Please let me know if you need more details from my end.