on 11-17-2008 5:50 AM
Hi,
For File to Idoc flow, my mapping requirement is
For E1EDK14,
ORGID/QUALF=012 ORGID = ORDERTYPE
ORGID/QUALF=008 ORGID = SALESORG
For that, I have to duplicate subtree E1EDK14 and map it from the source field.
But when I save it the second node of of E1EDK14 is deleted with message.
*
Target structure has no such path:
/ORDERS05/IDOC/E1EDK14[1]/ORGID. Skipping mapping
*
Note that the occurance of E1EDK14 is 0..12
Is there any way to achieve this?
regards,
Anirudh.
Hi Anirudh,
You can achieve the above condition by checking the conditon of source filed which is mapped to Qualifier field of idoc and with check you can map it to OrderType. like
if --->SourceField -->Equals --> 012 then ---> ORDERTYPE --->OrgID
and foe second case
if --->SourceField -->Equals --> 008 then ---> SALESORG --->OrgID
Otherwise if you want to duplicate Create New mapping and first duplicate the Segment and then proceed with the mapping.
Thanks!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Anirudh,
What I meant is the later case only. Follow these steps.
1. Create A new Mapping
2. Enter the Source and Target Message Types
3. Duplicate the Node you want to.
4. Do the mapping like this.
Map Segment E1EDK14 and Segment field under this segment with the Constant function any value.
2. map the QUALF and ORGID fields
Save and Activate it should not loss the mapping.
Thanks!
Hi Anirudh,
Dont know why its not working in your case.Just give it a last try.
Go to Edit mode in Mapping --> Right Click on segment E1EDK14 >Choose Duplicate Subtree> Map E1EDK14 with Constant --> Map Segment field under E1EDK14 with Constant.
If this doesnt work, I cant say the reason, Bcoz its working here without error.
Thanks!
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
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.