cancel
Showing results for 
Search instead for 
Did you mean: 

BPM with more than one incoming interface.

Former Member
0 Kudos

Hi experts.

My scenario is File --> BPM --> SOAP

The BPM is: Fork Step - Necessary branches is set to one.

First branch - Async recieve step for Msg1 Interface. Start process is checked.

Second branch - Async recieve step for Msg2 Interface. Start process is checked.

Transformation step - Which maps the recieved msg to another interface.

Async Send step - Which sends the message to the receiver.

There are a few more steps in the bpm before the send step but they are not relevant.

The goal of the bpm is to recieve one of the 2 messages and perform the needed actions on it.

I took the idea from the SAP BASIS template of the "BPMpattermColectMultiIf" bpm,

and changed to the number of necessary branches to 1.

My problem is that the process runs fine only for the first msg.

When Msg2 is being set to the bpm a SYS EROR ocuurs in the inbound side of the bpm "BPM parameter error".

I have made a few checks and figured that if the Property of "Start process" is not set on both recieve steps the error doesn't ocurr.

Hope you will be able to help me solve my problem.

Regards Max.

Accepted Solutions (0)

Answers (5)

Answers (5)

maciej_jarecki
Contributor
0 Kudos

try to do sxi_cache, send error message from sxi_monitor

Former Member
0 Kudos

try to do sxi_cache, send error message from sxi_monitor

What do you mean by "send error message from sxi_monitor". How to do this?

Regards Max.

maciej_jarecki
Contributor
0 Kudos

just go to sxi_monitor and double click on message copy paste error message

Former Member
0 Kudos

Still not working...

Hope for your help guys...

Regards Max.

maciej_jarecki
Contributor
0 Kudos

As far as i understand, you have set on two branches for receiver "Starrt Process" ??

I thing that you second message is not well formated or there is a problem with mapping

First thy to open xml file in web browser

Second remember to remove from xml file this "Message" tag.

use SXMB_ADM_BPE to diagnose your solution

Regards

Maciej

Former Member
0 Kudos

As far as i understand, you have set on two branches for receiver "Start Process" ??

Yes you are wright.

Both recieve steps can starts the process.

But in case the property "start Process" of the first MSG recieve step is unchecked,

the second msg is recieved just fine.

And in case both recieve steps may start the process only the first msg could be recieved.

maciej_jarecki
Contributor
0 Kudos

So it's wrong! two messages should be able to start process.

I thing this IS was changed after activation, so try to refresh cache and if it dosen't help use sxmb_adm_bpe and restart BPE.

Regards

Maciej

former_member200962
Active Contributor
0 Kudos
And in case both recieve steps may start the process only the first msg could be recieved.

I think this has something to do with the Number of required branches

Former Member
0 Kudos

think this has something to do with the Number of required branches

The numb. of the required branches is set to one. In order the workflow continues running after any of the MSGs will be recieved.

I also checked in sxmb_adm_bpe, the process seems fine there.

I can't see the light in the end of the tunnel.

Former Member
0 Kudos

I think this problem is due to the transformation step in your Integration process.

change the Occurence of Message type you specify in Message mapping and interface mapping to 0..1.

as one of the messages will be received.

Regards

Kubra Fatima

Former Member
0 Kudos

can you also go to sxi_cache and check the status of the BPM? The return code should be 0 once you activate it there

I checked. status is o. Green mark.

I think this problem is due to the transformation step in your Integration process.

change the Occurence of Message type you specify in Message mapping and interface mapping to 0..1.

I changed to 0..1 still same error.

Trying to figure it out...

Former Member
0 Kudos

I did.

Everything seems OK.

Correct me if a am wrong but, if there is a syntax error it would be impossible to activate the object.

Shabarish_Nair
Active Contributor
0 Kudos

true.

can you also go to sxi_cache and check the status of the BPM? The return code should be 0 once you activate it there

Shabarish_Nair
Active Contributor
0 Kudos

do an F7 on your BPM (syntax check)