Skip to Content
0

Fetching Session ID in BPM as Response and Passing it to Request message to Sync Asyn Bridge

Nov 03, 2016 at 09:48 AM

117

avatar image
Former Member

Hi Gurus,

My Scenario is something like this.

There is a Async request comming from ECC , once it hits PI Box.

We need to trigger a webservice with UserID and Certificate and in return it will fetch me session ID . which i need to store temporary and then put in one of the field in Initial Request and pass it to the Asynch Synch Bridge in BPM to other webserice.

Can you help me how to acheive that.

I know there is SOAP UDF lookup option and other option available as well , but client has decided to go with CCBPM approach

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Bhavesh Kantilal Nov 03, 2016 at 10:20 AM
0

BPM Steps

  1. Receive Step - Receives Message from ECC
  2. Send Synch Step - Sends Login Request & Gets Response session ID
  3. Transformation Step - N:1 Mapping - 2 Request Messages -> ECC Request Message & Response Message from Previous Step. Output of Transformation Step will be the Webservice Request
  4. Send Synch Step - Make Actual Webservice call with the output of 2:1 Mapping

Container Elements required

  1. Request Message for Receive Step
  2. Login Request
  3. Login Response
  4. SOAP Request ( Webservice Call )
  5. SOAP Response.

Regards,

Bhavesh

Show 2 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks Bhavesh,

Actually I missed to mention. once i recieve the response back form the second webserive i need to pass the response to Asynch Reciever Interface in ECC. Does the suggestion and steps given by you work for that as well? Please guide

0
Former Member

Its like Outbound Asych Interface1 -> PI -> Trigger Request to Webserice1 and bring back Response -> Response of session ID need to be put in Asych Interface1 -> Trigger Weservice2 -> Response comming needs to be mapped to Asynch Interface2 in Ecc Side.

So we require Asynch Synch bridge also in BPM. Kindly help

0
Bhavesh Kantilal Nov 04, 2016 at 03:12 AM
0

Hello Rohit,

If your Proxy in SAP is Asynch - then you cannot send a response back to it.

You have 2 options,

  • Make the Proxy in SAP as Synchronous - in the Receive Step of your BPM, you can set option - Open Sync Async Bridge. In the Final Send Step, you can select option Close Sync Async Bridge.
  • Generate a new Inbound Asynch Interface and send the response back to SAP by mapping this.

Regards,

Bhavesh

Show 1 Share
10 |10000 characters needed characters left characters exceeded
Former Member

Thanks a lot Bhavesh for your Inputs. I need to go with option two suggested by you

  • Generate a new Inbound Asynch Interface and send the response back to SAP by mapping this.

Regards,

In this regard above BPM steps guided by you will there be any change in that. I guess after 4 ? Please guide as i am new to BPM

  1. Receive Step - Receives Message from ECC
  2. Send Synch Step - Sends Login Request & Gets Response session ID
  3. Transformation Step - N:1 Mapping - 2 Request Messages -> ECC Request Message & Response Message from Previous Step. Output of Transformation Step will be the Webservice Request
  4. Send Synch Step - Make Actual Webservice call with the output of 2:1 Mapping

Container Elements required

  1. Request Message for Receive Step
  2. Login Request
  3. Login Response
  4. SOAP Request ( Webservice Call )
  5. SOAP Response.
0