cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (2)

Answers (2)

bhavesh_kantilal
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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.
bhavesh_kantilal
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

Former Member
0 Kudos

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