cancel
Showing results for 
Search instead for 
Did you mean: 

BPM S/A Bridge

Former Member
0 Kudos

When does one use a S/A Bridge.. I am looking at SAP Help as per which, they have an example to convert a synch interface to Asynch? Do we need to use this?

I have the following interfaces

a) file sender adapter

b) Consume webservice

c) Based on the response from webservice, will invoke a BAPI.

d) Write the BAPI response to file..

What would be the blocks in BPM? Is the following right?

a) Outside of BPM, receive the file input

1) Aynchronous Receive step - Abstract asynchronous interface to receive the details

2) Synch Send step - Abstract synch send step to consume webservice

3) Asynch Send step to gather the response from webservice

4) Synch Send step - Abstract synch send step to invoke BAPI?

5) Abstract asynch interface with BAPI response

b) Outside of BPM to write the BAPI response to flat file

I am guessing i don't need S/A bridge and transformation steps. Please correct me if i am wrong..

Accepted Solutions (0)

Answers (2)

Answers (2)

moorthy
Active Contributor
0 Kudos

Hi,

Just go thru following link- it will give similar idea of what you required.

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

You will be doing Mapping(Transformation) to get the response back into the file.

Regards,

Moorthy

Former Member
0 Kudos

Hi SSG,

There is an example of the Sync/Async Bridge in th SWCV: SAP BASIS.

Namespace: http://sap.com/xi/XI/System/Patterns

Hope this helps

Regards

Vijaya

sam_raju
Contributor
0 Kudos

Hi SSG,

>>>>>>I<i> am guessing i don't need S/A bridge and transformation steps</i>.<<<<<<

Yes, you don't a S/A bridge but you might need a transformation step to transform your Web service response to your Bapi Request.

Your BPM Process should have the following steps:

-Async Receive Step

-Sync send step to invoke Web service

-Transform step to transform your webservice response to bapi request

-Sync send step to invoke Bapi

-Async send step to send the Bapi response to your file(if mapping is required, try to do it outside the BPM).

Hope this helps.

Rgds,

Sam Raju

Former Member
0 Kudos

Hi Sam,

Can you please outline how I would use transformation? The weblog 1926 does not seem to use transformation.

1) Asynch send interace INTERFACE_ONE

2) Synch send interface Interface_two

The output from this step is the webservice response

3) Transformation steps? What would be the interface mapping for this step? Should I define two new interfaces one with MT same as webservice response and another with MT same as BAPI's request?

moorthy
Active Contributor
0 Kudos

HI,

Steps in BPM

1) Receive the File Message ( after mapping with target sturcuture i.e WebService)

i.e you have Mapped data to send into WebService

2) Send (Sync) - to send into WebService

3) Get the Response from Webservice

4) Execute the Transformation step ( map between response and BAPI request)

5) send the BAPI request Sync.

6) Get the response back

7) Send it into File.

And Weblog

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

tells about File-BPM->RFC->BPM->File

Regards,

Moorthy

Former Member
0 Kudos

Thnx Krishna. I followed the following steps and it seems to work..

1) Asynch receive step

2) Synch send step to consume webservice

3) Synch send step to call BAPI

4) Asynch send step to send the BAPI response outside BPM..

What are the issues if I don't use transform step? Mapping occurs in steps 2 and 3 (when I consume webservices/ invoke BAPI)?