cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Values missing in queue context

sahana_ps
Participant
0 Likes
4,195

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

View Entire Topic
sahana_ps
Participant
0 Likes

Hi all,

I am still facing same issue.

I checked number of Line Items and Number of Values in Office are same.

I tried adding Map with Default after office field ,still the same issue

former_member191435
Contributor
0 Likes

can you please show me your display queue....

Meanwhile use sort function to sort the values of office field and do the splitbyvalue change function...

Thanks,

Sreenivas

sendhil_kumar
Active Participant
0 Likes

Hi Sahana,

The values might be same since, you have used split by Value (ValueChange), there could be two or more consecutive values of Office might be same. That will be the reason for this.

--

Sendhil