cancel
Showing results for 
Search instead for 
Did you mean: 

MultiMapping to BAPIS

Former Member
0 Kudos

Hi

I got WS->BAPIS scenario

one Message Type needs to be mapped to 4 BAPIS

what will b the best way to do it?

its a synchronic interface , and in the interface mapping it wont let me add the 4 bapis ( for request n reply )

bcz its synchronic

thx,Shai

Accepted Solutions (1)

Accepted Solutions (1)

STALANKI
Active Contributor
0 Kudos

Do not use a BPM for this.

Instead create 4 message interfaces and 4 inetrface determinations.That should soleve the problem.

Answers (6)

Answers (6)

Former Member
0 Kudos

Hi Shai,

For which company do you work for?

Former Member
0 Kudos

add me to your msn

shai-r@bezeqint.net

Former Member
0 Kudos

thx for the answer Stefan,Ill try to cr8 wrapper RFC

can u ellborate on using interfaces structure from the web service? do u have relevant weblogs/pdfs?

thx,shai

Hi Shai,

are you an ABAP developer? Then create a wrapper RFC with calls the BAPI and sends the result back.

When your application is 6.20 or higher, you can use the message interfaces structure from the web services and create sync. inbound proxies as a wrapper. In that case you need no mapping at all.

Regards

Stefan

Former Member
0 Kudos

Hi,

blogs on webservice

/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi

/people/shabarish.vijayakumar/blog/2006/03/28/rfc--xi--webservice--a-complete-walkthrough-part-2

cheers

jithesh

stefan_grube
Active Contributor
0 Kudos

If you are using RFC instead of ABAP proxy, don't care about the interface of the web service. Just create an RFC with input and output parameters that fit to your scenario. You have to do a mapping between web service and RFC anyway.

Regards

Stefan

stefan_grube
Active Contributor
0 Kudos

Hi Shai,

are you an ABAP developer? Then create a wrapper RFC with calls the BAPI and sends the result back.

When your application is 6.20 or higher, you can use the message interfaces structure from the web services and create sync. inbound proxies as a wrapper. In that case you need no mapping at all.

Regards

Stefan

Former Member
0 Kudos

hi

I tried cr8ing number of Interface determenantion

but I get error in the monitoring saying it doesnt support syncrhonic

i also have problem doing the bpm scenario

ofer,where do u work in israel?

Former Member
0 Kudos

Hi Shai,

If "WS" stands for webservice and it expects a response and if the BAPIs that you have imported have a response structure in them...then, you are dealing with a sync-sync scenario.

Is your source message ready for four responses?? How exactly are you planning to do the mapping - both request and response-please explain your mapping in detail.

Regards,

Sushumna

Former Member
0 Kudos

Hello Shai,

Sound to me like you need a BPM with a sync/async bridge, followed by a fork with 4 branches (it's a fork that runs all branches).

Each branch can call a specific Bapi and save its sync result.

After the fork perform a mapping from the 4 sync results (the mapping sources), and build the WS sync response (the mapping target).

Then you close the sync/async bridge by a send step- sending your WS response.

stefan_grube
Active Contributor
0 Kudos

You should never do this, when you expect much traffic on the system or a dialog user waiting for the response.

It is OK to use BPM, when a expect only low traffic for this scenario.

Regards

Stefan