cancel
Showing results for 
Search instead for 
Did you mean: 

No Message Out of BPM

former_member184619
Active Contributor
0 Kudos

Hi Folks

I m doing a scenario in which i collecting two idocs of same type using BPM and sending it to flat file.

My BPM looks like this

Start=><b>LOOP</b>->Receiver->Container->Counter-><b>LOOP</b>=>Transformation->Sender=>Stop

Details are as under:-

Receiver -> I m receving IDOCS

Container-> Container for Collecting IDOCs

Counter..-> To Count the Idocs

Transformation-> to transform from Collected IDocs to Abstract File Interface

Sender->Sending the data

<b>Loop.....-> Condition|| counter!= 2</b>

I m sending two idocs of same type (CREMAS)

Now the problem is see no message out of BPM in SXMB_MONI

I refered these BLOG

/people/pooja.pandey/blog/2005/07/27/idocs-multiple-types-collection-in-bpm

/people/krishna.moorthyp/blog/2005/06/09/walkthrough-with-bpm

Plz let me know where i m wrong.

Regards

Sachin

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member184619
Active Contributor
0 Kudos

Hi Folks,

I m not able to give some reward points to Robin, Mario...n others..

As due to some update at SDN it is showing that this post is answered..

Thanks a lot..

Sachin

Former Member
0 Kudos

Hi Sachin,

I guess you forgot a receiver detemination in your ID with sender = yourBPM.

Regards Mario

former_member184619
Active Contributor
0 Kudos

Hi Robin, Mario...

Reciever determination.. and other things in ID is ok...

In Moni i m getting the sender as my r/3 system and reciever as my BPM.

<b>but the other message from BPM to file system is not there</b>

I also check in the workflow...

Where i get the result FALSE in front of loop.

Basically i m not getting a clear picture that Hoe to terminate this loop.

I think it's clear.

Regards

-


Sachin

Former Member
0 Kudos

Hi,

so the BP is still running?

And the Receiver Step is waiting for a new Message.

Thats why the process stucks and no message is sending from the process.

check your condition of the loop.

in technical detail of worklfow protokoll you can see in detail which step is running and doing what.

As well look if you see each step in workflow protokoll.. maybe you have some cache problems and not the right process version in runtime.

Regards,

Robin

former_member184619
Active Contributor
0 Kudos

Hi Robin,

I checked in the workflow..

yes it is in BP till now...

It is in the loop..

What i want is what condition shuold i give to terminate this loop.

My requirement is to collect 2 idocs coming from R/3 and then stop.

Regards

Sachin

Former Member
0 Kudos

Hi,

check in the condition some value wich only occure in the second idoc.

Regards,

Robin

Former Member
0 Kudos

Hi,

Yu have give loop condition as <>2.

But if u put it equal to 2 then it will become truen when two idocs are received.

regards

Vijaya

Former Member
0 Kudos

Hi Sachin,

in the container of your BPM define a simple type container element. Let's assume you name it COUNT.

Within your loop increment COUNT.

Also define the condition on COUNT.

You will find a good example in your Integration repository under the software component SAP BASIS.

Regards Mario

former_member184619
Active Contributor
0 Kudos

Hi Vijaya...Mario...

I checked for each n every possiblities...

count = 2

count != 2

and also for SAP BASIS example pattern

Still my message is within the loop.

i m not finding the way to terminate the loop.

Plz help me out..

Regards

-


Sachin Dhingra

Former Member
0 Kudos

hi,

go to technical view of your BPM and check container value. Maybe you are compering Cont, not count (typo).

Regards,

Wojciech

Former Member
0 Kudos

hi,

go to technical view of your BPM and check container value. Maybe you are comparing Cont, not count (typo).

Regards,

Wojciech

Former Member
0 Kudos

Hi Sachin,

Do you see the Two IDoc with goes to the BP in the XI Monitoring?

What is the Exit Status of this Messages?

And there are also no error in the Workflow Protokoll of the process?

Regards,

Robin