cancel
Showing results for 
Search instead for 
Did you mean: 

BPM Block step

Former Member
0 Kudos

Hi everyone,

In my scenario IDOC XI JDBC scenario I am using the BPM.

My IDOC message type is Vendor master and needs to send to 4 Legacy systems.

My BPM steps are:

1)Receive step

2)Transformation step.

3)Fork step(4 branches).

Inside the fork

a)4 receiver determination steps.

b)4 Send steps.

My question is I need to monitor each and every step in BPM.

So how many BLOCK steps can I have for my scenario?

And in the BLOCK step properties can anyone explain me what is Multiline element,Current Line element and End Condition?

I have gone through the SAP BASIS BPM patterns in XI but it is very confusing for me.

If any one can help me out that would be great and I appreciate your help.

Thank you,

Mili

Accepted Solutions (0)

Answers (2)

Answers (2)

moorthy
Active Contributor
0 Kudos

Hi,

Did you look this help-it is having very good explanations

http://help.sap.com/saphelp_nw2004s/helpdata/en/43/6211b11c895f6ce10000000a1553f6/content.htm

and Multiline is used if you are using loop in the BPM like Parforeach , or foreach loop..

Regards,

Moorthy

Former Member
0 Kudos

Hi Moorthy,

Actually I configured the BPM for vendor master as I mentioned earlier and is working fine.

I got stuck with the BLock step.I am planning to have a Block step before FORK step for hnadling Exceptions in BPM.

I am confused with the MultiLine element ,currentline element and end condition.

As I am not using the Loop in BPM so the Block step properties I can set as DEFAULT.

No ParforEach or ForEach as it is not loop.

Am I right?

Please correct me If I am wrong?

And I appreciate your support.

Thankyou,

Mili.

Former Member
0 Kudos

Hi all,

Need help.

Thank you.

agasthuri_doss
Active Contributor
0 Kudos

Hi Mili,

You went for a good Option placing the Block then Fork.

Multiline - for array of messages.

Current line- single line messages.

Thanks & Regards

Agasthuri Doss

moorthy
Active Contributor
0 Kudos

Hi,

<i>

As I am not using the Loop in BPM so the Block step properties I can set as DEFAULT.

No ParforEach or ForEach as it is not loop.

Am I right?</i>

>>.If there is no loop is required then Block properties, you can set as default.

Are you getting any error ?

Regards,

Moorthy

Former Member
0 Kudos

Hi Mili,

imagine you have to a message that has a unknown number of order items. But your receiver wants to have messages separated by order items.

Sample:

You send a order IDOC from R/3 to your XI. The XI does not know how many order items are in the IDOC. So you do a transformation step. In this case a so called multi-mappping. the multi mapping splits your IDOC into several Messages.

Imagine also that you BPM is generated coding! Now imagine a table (like in EXCEL) where these single messages (your order items) are. The multiline element is your excel.

Now you want to send the EXCEL rows (=order items) step by step.

So your send step has to take the actual message that should be processed.

This is the SINGLE LINE.

Take care: MULTILINE Container element and SINGLE Line Container element have to refer to the same message interface!

But in your case you do not need a multi mapping as the number of receivers is known (=4).

Also you do not need a end condition.

You need only one send step!!!

In Integration directory configure a receiver determination where your 4 receivers are!

Also 4 interface determinations and 4 communication channels.

One question:

What do you mean by:

>>>My question is I need to monitor each and every step in BPM.

Thats all!

Regards mario

Former Member
0 Kudos

Hi Mario,

<u><i>In Integration directory configure a receiver determination where your 4 receivers are!</i></u>

Can you explain me how this is done?

So I will have <u><i><b>only 1</b></i></u> Receiever Determination step and <b><u>only 1</u></b> send step in BPM?

I appreciate your help.

Thank you,

Mili

Former Member
0 Kudos

Hi Mili,

the Business process engine is NOT the integration engine.

Thats why BPM have to be SERVICES in the integration directory!

With other words: BPMs are sender or receiver of messages!

So you can send a message from BPM with a send step to your integration directory (=ID). The ID wonders what to do with this message. OK, the message should be routet to a special ore more receivers. So you need to configure a receiver agreement & interface agreement.

In a receiver agreement you can maintain more than one receivers (have a look at the buttons!)

At least configure the communication channels for the receiver(s)

Thats it!

Regards Mario

You do not need a receiver determination step in BPM for your purpose!

Message was edited by: Mario Müller

Former Member
0 Kudos

Hi Mario,

Yes I agree with you that we can maintain more than 1 reciever in RECEIVER DETERMINATION step of XI ID.

But this is true only if the MESSAGE INTERFACE is same.

In my scenario the sender is Integration Process ,but the Message Interfaces are different these are the four different Abstract Interfaces for Legacy systems.

How it is possible to create only one receiver determination step?

Please elaborate on this If I am wrong?

Thankyou.

Former Member
0 Kudos

Hi Mili,

when you have 4 different interfaces:

In ID in interface detemination you can also configure a mappings before sending the message to your receivers.

So your problem with different interfaces should be solved.

Regards Mario