cancel
Showing results for 
Search instead for 
Did you mean: 

Error with BPM

Former Member
0 Kudos

Hey guys

i m doin 1-N Message mapping by taking help from https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/2748. [original link is broken] [original link is broken] [original link is broken] [original link is broken]

in MONI i see one chequered Flag,sender file is picked up but not delivered,in SXI_CACHE the process code for BPM is 0.in MONI when i try to troubleshoot my BPM by taking help from https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb4...

under the Context menu(right click) for MESSAGES_IN i see one entry(that correct as i have one abstract interface comin in BPM,but under the Context menu for MESSAGES_OUT i dont see any entry(there should be 2 entries as i have 2 receiveres)

i checked the message mapping by copyin payload from MONI and its working fine.

where else i can look for error?

thanx

ahmad

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

As you said in PE graphical editor every thing completed successfully,

But i would like to know steps you used.

for message out prob, send step. Check the container variable which was configured for send steps.here two send steps,those are sending to two receivers

. please check .. here receivers means receiver which was config in ID ,receiver dietermination. check Rec det. config also.

In PE graphical editor.. in second meeageout - click on message button in technical monitor , you can see the content or error message..

let me know your BPM steps and config.. check as per blog..

Regards

Chilla...

Former Member
0 Kudos

Hey

my BPM is as follows

Receive(using AI for sender)>>Transformation(One source,two target)>>fork>>

Branch1>>Receiver det>>send(using AI for receiver1)

Branch2>>Receiver det.>>send(using AI for receiver2).

earlier when i created my mapping and tried to test it under test tab,it wasn't generating proper result,den all of a sudden it stared working fine.

now mapping is working fine,i check with the payload from MONI.

thanx

ahmad

Former Member
0 Kudos

Hi,

Yes correct as per blog you have configured BPM very well.

And you said your mapping is working fine.

And you are able to see the two mesges in moni right..?

As per blog

Create sender agreement for the input file.

Receiver Determination plays a key role.

Three Receiver Determinations are required. One for the Sender to BPM and two others for BPM to the corresponding output files. In the Interface Determination for the two Receivers, specify the corresponding Interfaces.

Create Receiver agreements for the output files.

Did you configured right..?

now what is you r correct error desc..in PE ..

Regards

Chilla..

Former Member
0 Kudos

Hey

in MONI i see only 1 message(sender business system to Integration process).

actually in PE when i check the container for mapping,its supposed to show me 2 entries in MESSAGES_OUT but its not showing any of them,it definately showing 1 entry for MESSAGES_IN.

problem is that target message types are not getting generated.

thanx

ahmad

Former Member
0 Kudos

hey

my source XML in mapping is

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns:MT_MultiMap_sender xmlns:ns="http://tb1.com">

<Name>Mark</Name>

<Age>25</Age>

<Dept>XI</Dept>

</ns:MT_MultiMap_sender>

</ns0:Message1>

</ns0:Messages>

and the target XML is

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns:MT_MultiMap_recv1 xmlns:ns="http://tb1.com">

<Name1>Mark</Name1>

<Age1>25</Age1>

<Dept1>XI</Dept1>

</ns:MT_MultiMap_recv1>

</ns0:Message1>

<ns0:Message2>

<ns:MT_MultiMap_recv2 xmlns:ns="http://tb1.com">

<Name2>Mark</Name2>

<Age2>25</Age2>

<Dept2>XI</Dept2>

</ns:MT_MultiMap_recv2>

</ns0:Message2>

</ns0:Messages>

this looks fine to me.but what was happening during the day was that my source was same but target was something like this

<?xml version="1.0" encoding="UTF-8"?>

<ns0:Messages xmlns:ns0="http://sap.com/xi/XI/SplitAndMerge">

<ns0:Message1>

<ns:MT_MultiMap_recv1 xmlns:ns="http://tb1.com">

</ns:MT_MultiMap_recv1>

</ns0:Message1>

<ns0:Message2>

<ns:MT_MultiMap_recv2 xmlns:ns="http://tb1.com">

</ns:MT_MultiMap_recv2>

</ns0:Message2>

</ns0:Messages>

i had to disconnect from XI then click on log back on and click on generate instance,then it started working fine,i tried the same thing right now but its not working

thanx

ahmad

Former Member
0 Kudos

Hi,

Please go to SXMB_MONI select process option , select PE ID , go to PE graphical editor , and each step double click and check the result.

I hope after receive step the transformation step is not working fine.check Interface mapping for target occurr..corretly config or not.

Regards

Chilla..

prabhu_s2
Active Contributor
0 Kudos

also if not working fine u can check that in the graphical ediotor of PE by the GREEN line in the path. Check the green line is extended even after the transformation step .

Former Member
0 Kudos

yes green line is extended all the way till the end,and i double checked my IP ,it is properly configured,

lemme send u a mail with a snap shot of the palce where i m getting the error.

thanx

ahmad

Former Member
0 Kudos

hey

prabhu i send a mail to your hp id,Chilla i couldn't find your mail address in your business card.

thanx

ahmad

Former Member
0 Kudos

Hi Ahmad,

While giving the input file remove the <messages> and <message1> elements, then your scenario will work fine.

Your input message should be like this:

<ns:MT_MultiMap_sender xmlns:ns="http://tb1.com">

<Name>Mark</Name>

<Age>25</Age>

<Dept>XI</Dept>

</ns:MT_MultiMap_sender>

Regards,

P.Venkat

Message was edited by:

Venkataramanan

Former Member
0 Kudos

Yeah

its working fine now,thanx Venkat,Chilla and Prabhu,i m using the input message which venkat suggested:)

venkat what waz the problem with my mapping?even though my mapping was working fine in IR,moreover in Multi Mappaing isn't the stress on <Message>

thanx

and appreciate ur help guys

ahmad

Message was edited by:

Ahmad

Former Member
0 Kudos

Hi Ahmad,

It all comes thro experience :). I was facing a similar issue while am trying 1:N scenario.

In the mapping editor we will get those <messages> and <message> added to the message type. This also has some different namespace(I think its all for internal working with test tab). While running the scenario u need to give original inputs with proper message type and namespace.

Regards,

P.Venkat

Former Member
0 Kudos

Hi,

See here two imp points .

-check your source and target msg struct with occurreces,How MM,IM configured.or let me see these.this will impact on transformation setp.

-check receiver determinations what you configured,and did you defined receivers in container variables.the receiver determination step .this will impact on each send step to get output.

if you want i will send some examples.

Regards

Chilla..

Former Member
0 Kudos

Hey Chilla

even though my problem is solved but i want to know a bit more and would appreciate if u can please e-mail me some examples. at ansari.xi@gmail.com

thanx

ahmad

prabhu_s2
Active Contributor
0 Kudos

hi venkat

one quick q. The message0 and message1 is enabled when we go for multipmapping. Do u mean to say that we need to remove those in the mapping editor? if so kindly let know. We had configured a similar scenario but didnt get any error for that kind.

Answers (2)

Answers (2)

prabhu_s2
Active Contributor
0 Kudos

u can check with the graphical log of the workflow by navigating thru the PE. let us know the desc on that.

Former Member
0 Kudos

Hey

in the graphical log in PE,everything is said as completed.

thanx

ahmad

Former Member
0 Kudos

>>in the graphical log in PE,everything is said as completed

This means, your mapping is completed but the mapping has not produced 2 messages as expected.

Regards,

Jai Shankar

Former Member
0 Kudos

Ahmad,

What is the status of your mapping test in IR? Is that sucessful?

Also, Click on the PE entry in SXMB_MONI, there you can see the error if any...

I guess the mapping is not correct...

Regards,

Jai Shankar

Former Member
0 Kudos

hey

mapping is successful in IR and in MONI i see only 1 msg(for BPM it should be 2) the error i m getting is in PE,when i click on show container in mapping(inside PE) i dont get any entries in context menu for MESSAGES_OUT,but my mapping is working fine in IR.

thanx

ahmad