cancel
Showing results for 
Search instead for 
Did you mean: 

Business Process: Fork: Error when mapping

Former Member
0 Kudos

Hello everybody,

I am not sure if SXMB_MONI_BPE is throwing me an irritating error?

I have an integration process starting with ONE receive step. After the receive step I have a fork (NOT in a block), with two branches! In every branch there is first a transformation step, then a send step

The hierarchy with other words:

1) receive step

2) fork

2.1) branch #1

2.1.1) mapping

2.1.2) send step

2.2) branch #2

2.2.1) mapping

2.2.2) send step

Although then second branch is almost the same as the first branch, I get an mapping error!

Is this maybe because the received message can ONLY BE USED ONCE(in the first branch)?

What could be the reason?

Thanks a lot, Mario

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi,

Try using a container after your receive step.

Regards,

Smitha.

Former Member
0 Kudos

Hi ,

Try using a block with par-for-each option.

Thanks & Regards,

Ashish Sharma .

Former Member
0 Kudos

Immediately after the first receive step,

insert a receiver determination step.

This Receiver determination will fetch the list of receivers.

You use Block to combine steps that you want to execute one after the other.

Use ParForEach or ForEach mode in the block. Give the multi-line receiver list as the value for Multiline element. Use Local Correlations if required.

Former Member
0 Kudos

Hi

you are using one receive step. The message that is received by this step can only be processed in one line of the fork.

But the fork waits for all lines to return true to come out of the fork.

I think this would be the problem. Try using one receive step for each line of the fork.

you can achieve sending simultaneously by using a block with parforeach .

VaaS

Former Member
0 Kudos

Hi Mario,

Are u getting Mapping error in both the branches?

or getting error in a particular branch.

clarification needed.

Regards,

Sudharshan.

moorthy
Active Contributor
0 Kudos

Hi,

What is the error you are getting? Check the necessary bracnhes of Fork (properties )Step in the BPM ?

If you want to execute two branches at any point of time then make necessary braches entry into 2.

Hope this helps,

Regards,

Moorthy

Former Member
0 Kudos

Hi Moorthy,

the property is set to 2, so this seems to be allright.

Can it be that i have to use the fork inside a BLOCK.

Because I have never seen in any demo/help a fork outside a BLOCK.

Regards Mario

moorthy
Active Contributor
0 Kudos

Hi,

It is not required inside the Block. In your case Block can be used for more readability purpose . You can group your related logcial steps within the Block.

For more on Block-

http://help.sap.com/saphelp_nw2004s/helpdata/en/f6/e1283f2bbad036e10000000a114084/frameset.htm

Hope this helps,

Pls acknowledge ,

Regards,

Moorthy