on 03-30-2009 1:48 PM
Dear All,
I have to create multiple idocs from the source idoc based on the line litems ie if my source Idocs has 5 line items so 5 different idocs to be generated at target.
I am able to process upto this stage.
Now my requirement is that target Idocs is to be generated based on different plants available in the source idoc line items. I need to trigger a single idoc for the line items having same plant.
S.No Line Item No Plant
1 00010 8200
2. 00020 7800
3. 00030 7800
4. 00040 8200
5. 00050 2100
So, for the above case total 3 Idocs needs to be generated at the target.
Kindly suggest me how the mapping is to be done which can filter out the plants at line items and creates the no of target idocs.
Regards,
NJ
Hi NJ,
It is simple. If you know how to create multiple IDOCS from one IDOC then you just need to map the target IDOC node to the source field "Plant" and make sure to use the proper context during the mapping.
Regards,
Madan Agrawal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
just a samll pointer...
you can use
plant>sort>splitbyvalue(valuechange)->collapse context ..
this will create the plant Queue as
2100
7800
8200
now u can generate number of idocs based on this
Edited by: Tarang Shah on Mar 30, 2009 3:02 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Tarang,
Thank you for your reply.
Based on the mapping suggested by you I am able to get the multiple Idocs based on plants but all the Item/Header details are getting populated in the first Idoc only whereas in the second Idoc no segment is coming.
Please guide me on correcting the mistake.
Regards,
NJ
User | Count |
---|---|
86 | |
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.