on 04-10-2007 9:28 AM
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
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!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
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
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.
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
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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,
Regards
Chilla
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
91 | |
10 | |
10 | |
9 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.