on 2015 Jan 06 11:54 AM
Hi All,
I have encountered this ERROR many times,but this time I am unable to figure out the reason behind this mapping failure.Below is my source structure image
I am getting ERROR as below
Cannot create target element /ns0:Messages/ns0:Message1/ns2:GLJournalsDataPost[2]/GL_Document/DocumentHeader/LineItem. Values missing in queue context. Target XSD requires a value for this element, but the target-field mapping does not create one. Check whether the XML instance is valid for the source XSD, and whether the target-field mapping fulfils the requirement of the target XSD
Here its not pointing to any particular field value.Many records are there with Header and LineItem details.If i test each record individually in ESR test tab it works but if i test all records at a time it fails with above error.Kindly need your help
Request clarification before answering.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
hi Sahana,
Please check
1) if no of elements in office is equal to no of elements of LineItem by doing display queue.
both should be same.
2) if target Line elements generated is having same no of context change as the no of Line items to be generated in the target XML.
I know this is little complex but my suggestion would be put a [splitbyvalue] after formatbyexample that will give you a better understanding.
hope this helps.
thanks and regards,
Praveen T
| User | Count |
|---|---|
| 12 | |
| 9 | |
| 7 | |
| 5 | |
| 4 | |
| 3 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.