cancel
Showing results for 
Search instead for 
Did you mean: 

Searching for a BPM scenario

Former Member
0 Kudos

Hi

I am searching for a BPM scenario which shows the need for BPM. I might use: JDBC, File, RFC and IDOC adapters.

Could you quickly describe me a scenario making use of those adapters which also has a business use case in the background?

That would be great !!!

Thanks.

Go:khan

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Gokhan,

Consider a Scenario with 2 senders and 1 receiver.the explanation is given below.

The steps to be followed to have 2 senders and 1 receiver in your case, we need to follow the following steps:

1) RFC from A will trigger the BPM.

2) Receive step

3) Send step (sync) to call RFC in B

4) Transform step map response from B and A's data to C

5) Send step send the output to C.

Think these 2 blogs can help you to configure a BPM using RFC synchronous call.

<a href="/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit">RFC Scenario using BPM for Starters</a>

<a href="https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken]">Usage of Sync-Async when both Sender and Receiver are Synchronous</a>

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/43/65d4dab39b0398e10000000a1553f6/content.htm">Defining Sync/Async Communication</a>

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm">Step Types in BPM</a>

http://help.sap.com/saphelp_nw04/helpdata/en/83/d2a84028c9e469e10000000a1550b0/content.

I hope I have answered your query.

Regards,

Abhy

Former Member
0 Kudos

Hi

Thank you guys for the suggestion of a slightly changed and one new scenario.

I think I will provide a file as input for an rfc call which creates a Vendor in the R/3 System. The result is then transfered to a database.

I still have one problem. I don't have to use any correlation in this scenario. Does anyone has a hint how to use correlation in the described business case??

Thanks

Go:khan

MichalKrawczyk
Active Contributor
0 Kudos

Hi,

1. if your RFC is sync you don't need correlation

2. if your RFC is asyn you can pass a GUID to this RFC

and in your BPM create a receive step that will

wait to another RFC

(invoked from the first one after the vendor creation)

and correlate both

correlations: question 24 on the XI FAQ

/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions

Regards,

michal

-


<a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions">XI FAQ - Frequently Asked Questions</a>

former_member187339
Active Contributor
0 Kudos

Hi,

For correlation, try this. Suppose your RFC requires two parameters as input, take the first input value from one file and second input from another. Now you can use corelation between these two files, you can use some id for the same. The stpes in BPM should be :

1)Fork having two receive (one for each file type).

Fork ends only when both the steps are executed.

2)Transformation

3)send step (for RFC)

eg: <b>File1</b>

<b><i><id></i></b>

<input1>

<b>File2</b>

<i><b><id></b></i>

<input2>

correlation based on <b><i>id's</i></b>

Regards

Suraj

moorthy
Active Contributor
0 Kudos

You can use correlation based on file id , or based on message id.

Correlation will group/correlate logically related messages based on the COrrelation ID defined. For each unique case it will create/correlate that messages.

Regards,

Moorthy

Former Member
0 Kudos

Thanks guys for the helpful hints.

My initial and vital question was how to show the need for BPM?

I think I can show it by using:

- Asyn/Syn call

- Correlation

- (Multiple-Split) it is in paranthesis because now (SP14) possible without BPM

Do you know other features which show strength/need for BPM before finally coming to a conclusion on my scenario???

Regards,

Go:khan

Answers (1)

Answers (1)

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Gokhan,

BPM is used for stateful message processing.

S for an example.

Consider the FLIGHT BOOKING situation. you are getting some input from a file, which makes an RFC call sysnchronously. ( Say Flight Booking ). Now, on the basis of the status of the RFC call, you might need to make an insertion or deletion into a Database and also, send an email to the user telling im the status of his file booking.

This situation needs a BPM. Likewise, BPM can be developed for several other scenarios. It just depends on how you want you message to be processed

and also on the dependencies between messages.

This scenario is available with more details on this link,

<a href="http://help.sap.com/saphelp_nw04/helpdata/en/69/4ad13fa69a4921e10000000a1550b0/content.htm">Flight Booking using BPM</a>

Also, several Blogs are available on SDN for BPM. just make a search on BPm and you will find many cases that can help you in your quest.

Do let us know if you need any further info,

Regards,

Bhavesh

bhavesh_kantilal
Active Contributor
0 Kudos

Hi Gokhan,

Think the link I pasted in the previous post was worng.

Here is the correct one,

http://help.sap.com/saphelp_nw04/helpdata/en/6e/57c53f3e0f0228e10000000a114084/content.htm

Regards,

Bhavesh

Former Member
0 Kudos

Hi Bhavesh

I clicked on examples and reached the site you mentioned

Thank you for the help. I think I have found a scenario exposing the need for BPM. I will use a asynchronous-synchronous bridge.

Scenario: Data is sent via http to the XI. This data is input for the creation of a purchase order (bapi) in R/3. The result is passed to a legacy system and/or to a database.

I have seen that multiple mapping can be achieved in SP14 without BPM therefore I am focusing on Asyn/Synch.

Regards,

Go:khan

phanikumar_akella
Participant
0 Kudos

Hi...

Take a file as your source and SQL Server(DB) as target.send file to XI which inturn communicate with a R3 and use this file as inputparameter to the RFC...

RFC executes and gives some output...take that output back to XI.

Take that output from RFC and insert or update the Database

moorthy
Active Contributor
0 Kudos

According to your requirement the Scenario is :

Http ->XI->R/3->Legacy System/Database.

For this you can do like this-

Http->XI>R/3->XI>Legacy System/Database

I don't think so, your scenario is of type Asyn/Sync. If this is the case you need to use BPM. It can be easily done using BPM.

Just go thru following link-

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

Regards,

Moorthy