on 07-31-2009 5:59 PM
Hi there
i have an File --> PI --> Idocs Scenario,
the File structure is something like this:
1 xxx yyy 9865
1 zzz www 9834
2 sss ttt 12392
2 rrr eee 45323
Basically they're deliveries with some additional info,
I want to group them like this:
Header info : 1
Positions:
xxx yyy 9865
zzz www 9834
Header info : 2
Positions:
sss ttt 12392
rrr eee 45323
To be mapped to SHIPPL Idoc ( External transportation documents)
So basically i'd assume i have to split all those deliveries into individual message on BPM and then use correlation to build up the documents grouping all the deliveries??, can you guys help me on how to build up this process??, what goes outside or inside the BPM and how can i resolve all the mapping i need to do?
Thank you Very Much
Roberto.
Hi,
Write one small xslt mapping to group records based on the key value that is first character and then you can create the graphical mapping to produce multiple idocs for each group.
I hope that i undestood ur requirement correctly.
Thanks
Inder
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
I beleive Multimapping will not work without BPM when we have Idoc as a receiver channel.
You can do these steps:
1) create XSLT mapping to group the data based on the key. (1st mapping)
if your input after FCC conversion is (before xslt)
<a1></a1>
<a2></a2>
<b1></b1>
<b2></b2>
Output of xslt should be : (grouping based on some key field or value)
<Group>
<a1></a1>
<a2></a2>
</Group>
<Group>
<b1></b1>
<b2></b2>
</Group>
2) If you look at Idoc the occurence of Idoc field is one. Download the xsd of Idoc and change the occurence to 1 to unbounde. upload xsd as external definition and use it in mapping.
3) now you can create a graphical mapping which will create the Idoc tag for each Group. It will create multiple Idocs in target system
By using above method you can avoid BPM and there is no needd to use Multimapping also.
Thanks
Inder
Hi,
You need to modify the occurrence of IDOC node inside Idoc xsd, then made your mapping logic taking as consideration the following post:
[/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible|/people/jin.shin/blog/2006/02/07/multi-mapping-without-bpm--yes-it146s-possible]
In the interface determination You can made possible split the document in simple idoc, for that you should use "enhanced" instead of "standard".
Regards
Ivan
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.