on 07-21-2007 7:50 AM
Hi Friends,
I have scenario like below..
I have a idoc with segment YSEG1 and in it i have field called YFIELD1.
If segment (YSEG1) repeats 2 times, it has to generate two files or segment repeats 3 time it has to generate Three file in the receiver side.
In First segment (YSEG1) field (YFIELD1) value = G001
In Second segment (YSEG1) field (YFIELD1) value = G002
In Third segment (YSEG1) field (YFIELD1) value = G003
But here field(YFIELD1) value varies each time (EX: YFIELD1-G001, YFIELD1-G002, YFIELD1-G002, etc..).
Based on the segment repeatation and field value vary, i have to create files in the receiver side.
Please hepl me, how to achieve this scenrio.
Thank you very much in advance.
Hi,
This can only be achieved through BPM. Just like xpath where u route your messages to different receivers, use some common condition to differentiate that segment and route to different receivers.
But my question is, the determination of number of receivers are dynamic. You wont know the number of files to be generated at runtime and relevant configuration also needs to be generated in ID.
As of my knowledge, though multi mapping can be used, it can be used only for fixed number of receivers and not dynamic receivers. Check whether you have any help where you can configure n number of receivers dynamically so that as many files you can generate.
Also let me know why you require a scenario like this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Ramu,
Do u want to create the output file only based on (YSEG1) field or the combination of both (YSEG1) & (YFIELD1). This can be achieved my multimapping. But tell us the validating condition , so that if u achieve the same in Mapping then the rest of the part will be taken care by multimapping.
Best regards,
raj.
Hi ramu,
Check the following blogs.
http://help.sap.com/saphelp_nw2004s/helpdata/en/42/ed364cf8593eebe10000000a1553f7/content.htm
Regards,
Ramesh P
Message was edited by:
Ramesh P
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.