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