on 05-13-2008 12:04 PM
Hi,
I follwed the blog
/people/sravya.talanki2/blog/2005/12/08/message-mapping-simplified-150-part-ii and created MM & DT as mentioned in the blog.
But when I tested the MM with the following input
<?xml version="1.0" encoding="UTF-8"?>
<ns0:MT_SRC xmlns:ns0="urn:practice:FFToXML">
<Header>
<MatNo>123</MatNo>
<MatDesc>Test Material</MatDesc>
</Header>
<item>
<Matno>123</Matno>
<Itemno>10</Itemno>
<Matgroup>A</Matgroup>
<MatType>T</MatType>
<Plant>se80</Plant>
</item>
<item>
<Matno>123</Matno>
<Itemno>20</Itemno>
<Matgroup>A</Matgroup>
<MatType>T</MatType>
<Plant>se80</Plant>
</item>
<item>
<Matno>123</Matno>
<Itemno>30</Itemno>
<Matgroup>A</Matgroup>
<MatType>T</MatType>
<Plant>se80</Plant>
</item>
</ns0:MT_SRC>
The following error had occured and no output is generated.
16:32:18 Start of test
Compilation of Mat_MM successful Cannot produce target element /ns0:MT_TRG/Header[2]/MatNo. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element /ns0:MT_TRG/Header[2]/MatNo. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd
16:32:20 End of test
ur help is appreciated
Thanks
RDS
Hi,
Check /Header[2]/MatNo....has mapped to the Traget or not
And also check the value you are providing to that is valid or not
REgards
Seshagiri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Now its working.
I was mapping target Header/Matno & Header/Item/Matno from source Header/Matno
But it seems we have to map from source Item/Matno.
Thanks
RDS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi ,
check whether target side mandatory fields are mapped...and it is cumpulsory....
regards
chandra
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Compilation of Mat_MM successful Cannot produce target element /ns0:MT_TRG/Header[2]/MatNo. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd Cannot produce target element /ns0:MT_TRG/Header[2]/MatNo. Check xml instance is valid for source xsd and target-field mapping fulfills requirements of target xsd?
Check this point in the blog You have to generate target header nodes equal to the number of occurrences of item in the source node.
Check u r Souce Item Material Number is mapped to Target or not.
Satya.
Edited by: SATYA KUMAR AKKARABOYANA on May 13, 2008 1:15 PM
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Make sure that you have mapped the MT_TRG/Header/MatNo with MatNo from Header in the strcuture.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Check the mapping between ur matno
from the error it is showing the problem in /ns0:MT_TRG/Header[2]/MatNo
chirag.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
9 | |
9 | |
8 | |
7 | |
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.