cancel
Showing results for 
Search instead for 
Did you mean: 

BPM

Former Member
0 Kudos

HI,

My requirement is that I need to send multiple messages from my sender (A single system),append them in to a single file at end of the day and then send to the receiver1.

When ever the Sender side is updated The file must be appended with the file in the receiver1 (day end) and all consolidated file for 5 days must be send to Receiver 2.

Here both my sender and the receivers are Files.

I am Getting struck at Container.

The Steps I am using are...

Rec(To Reciver multiple messages)-> container(to append the messages) in a loop->Transformation and Send.

When I check the option Multiline I am Getting Error in the Scenario Design.

Please Clarify and correct me if i am wrong.

Thanks and Regards,

Srinivas

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Srinivas,

I did the same scenario.I think steps are

1. Create a loop within the loop <i>received step</i> and <i>container operation</i>.

2. Transformation.

3. Send step.

Cheer!

Former Member
0 Kudos

Hi ,

Can you please berif me in detail.

if possible can you please send me screen shots to srinivas5780@gmail.com

Thanks

Srinivasa

Former Member
0 Kudos

Hi,

1. Create a loop give the condition if necessary.

2. In the loop Receive Step give correlation if necessary.

3. After that put container operation in append mode in the loop.

4. Transformation (out side the loop).

5. Send Step.

Cheers!

Samarjit

henrique_pinto
Active Contributor
0 Kudos

Check the sample BPMs in SAP BASIS SWCV.

In particular, check Time-dependent Loop for Collecting and Bundling messages from one interface.

http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/frameset.htm

Regards,

Henrique.

henrique_pinto
Active Contributor
0 Kudos

<excluding repeated message>

Former Member
0 Kudos

Hi,

I did in the simillar way.

I am Getting struck at Container.

The Steps I am using are...

Rec(To Reciver multiple messages)-> container(to append the messages) in a loop->Transformation(out side the loop) and Send.

When I check the option Multiline I am Getting Error in the Scenario Design.

Thanks

prabhu_s2
Active Contributor
0 Kudos

is the container u had used is multiline enabled. check for this and then activate ...i hope u will get thru

henrique_pinto
Active Contributor
0 Kudos

You must have at least 3 containers.

1. abstract interface of type of sender interface (singe line);

2. abstract interface of type of sender interface (multiline);

3. abstract interface of type of receiver interface.

In your receiver, receive message in container #1. Then in container operation, append container #1 to container #2. Both of these steps should be inside of infinite loop, and the loop should be inside of Block step of default type with a deadline and exception. The deadline should be 00:00 of each day. In deadline branch, use control step to raise exception. In exception branch, youn can leave it empty. After block use a transformation step to map your multiple bundled messages into receiver message (make sure to define 0...unbounded for both message and interface mappings, in source message). And finally use a send step (in your case, probably of asynchronous type).

You could define as receivers of this message the target system and also another BPM which could bundle the messages for 5 days and them send them to receiver2. If you do that, you must use receiver determination and block in foreach mode around send step in the 1st bpm.

Regards,

Henrique.

Former Member
0 Kudos

can you please send me ur mail id,so that i can send you the screen shot of my design.

Thanks

Former Member
0 Kudos

Hi

See if you check the multi line , the respective message interface also should hold the multiple messages we have similar kind of the BPM pattern.

see the below link

http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm

Regards

Chilla

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Srinivas,

Check yr Interface mapping what is the count defined for source and target whether u have defined it 0..unbounded for multiline or not

Check this for both yr source and target as well whether they are as per the scenarion u have mentioned just now

Regards

Former Member
0 Kudos

Hi,

you have same , BPM Pattern , message colelction based on payload / time dependent . see the below links

http://help.sap.com/saphelp_nw2004s/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm

http://help.sap.com/saphelp_nw2004s/helpdata/en/0e/56373f7853494fe10000000a114084/content.htm

Also see some BPM related links

check list for BPM https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/3bf550d4-0201-0010-b2ae-8569d193...

monitoring BPm https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/e7bc3a5a-0501-0010-1095-eb4...

/people/shabarish.vijayakumar/blog/2005/08/03/xpath-to-show-the-path-multiple-receivers

http://help.sap.com/saphelp_nw04/helpdata/en/3c/831620a4f1044dba38b370f77835cc/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/62/dcef46dae42142911c8f14ca7a7c39/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/de/766840bf0cbf49e10000000a1550b0/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/cb/15163ff8519a06e10000000a114084/content.htm

http://help.sap.com/saphelp_nw04/helpdata/en/08/16163ff8519a06e10000000a114084/content.htm

Many other examples can be found under the following link at help.sap.com

http://help.sap.com/saphelp_nw04/helpdata/en/14/80243b4a66ae0ce10000000a11402f/frameset.htm

And some weblogs

https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken]

/people/siva.maranani/blog/2005/05/22/schedule-your-bpm *****

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

/people/michal.krawczyk2/blog/2005/06/11/xi-how-to-retrieve-messageid-from-a-bpm

/people/arpit.seth/blog/2005/06/27/rfc-scenario-using-bpm--starter-kit

/people/sravya.talanki2/blog/2005/08/24/do-you-like-to-understand-147correlation148-in-xi

/people/michal.krawczyk2/blog/2005/09/04/xi-do-you-realy-enjoy-clicking-and-waiting-while-tracing-bpm-steps *****

/people/udo.martens/blog/2005/09/30/one-logical-system-name-for-serveral-bpm-acknowledgements *****

/people/sudharshan.aravamudan/blog/2005/12/01/illustration-of-multi-mapping-and-message-split-using-bpm-in-sap-exchange-infrastructure

/people/kannan.kailas/blog/2005/12/07/posting-multiple-idocs-with-acknowledgement

Also have a look at these seminars,

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/daea5871-0701-0010-12aa-c3a0c...

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/media/uuid/e8515171-0701-0010-be98-e37be...

Regards

Chilla

Former Member
0 Kudos

Hi Srinivas,

<When I check the option Multiline I am Getting Error in the Scenario Design.>

--> I guess this occurs because you are already using this container element.

ToDos:

- Create a new container element

- mark it as multiline

-use it (in mapping or send stept)

Regards Mario

Former Member
0 Kudos

I created a new container step ,But the result is same.

Can u please send me some scenario's (ppts,screen shots)on bpm using the same to srinivas5780@gmail.com

Thanks