cancel
Showing results for 
Search instead for 
Did you mean: 

Target XSD requires a value for this element, but the target-field mapping

Former Member
0 Kudos

Hi All,

We have recently upgraded from 7.0 to 7.1,

now if i execute the mapping its showing the following error...

i have checked other interface are running fine...

any idea???


Cannot create target element /Transmission/TransmissionBody/GLogXMLElement. 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 com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /Transmission/TransmissionBody/GLogXMLElement. 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

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

take the payload from moni and test your mapping in ESR...

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi Sam,

This is common issues we face in developemnt

check your test daha has value to the target element,i think value missing for the target element.

if source data has value,then the problem with mapping you not properly done mapping to genarate target value,check your mapping..

debug your mapping use disply queue,.

Regards,

Raj

Former Member
0 Kudos

that interface is running successfuly in production for 3 months... now also its running... but when i test it in message mapping its giving.. the error

rajasekhar_reddy14
Active Contributor
0 Kudos

Hi,

Its faling for one test data or all cases,

if its faling for one message then check your test data, and debug at message mapping level.

Regards,

Raj

Former Member
0 Kudos

i am facing a strange issue... when the mapping is in display mode.. its giving no error if i test it...

but if its in change mode... its give the error....

is it a upgradation issue....

also some other message mapping is not opening... giving error like global key not found...

any idea gyuz....

Former Member
0 Kudos

guyz.. i have resolved the issue..

actualy we have migrated from 7.0 to 7.1

in 7.0.... i was supressing a mandatory node... but it was not giving error...

but once its migrated to 7.1... it started giving error...

once XSD occurence changed from 7.0 to 7.1.. problem solved....

thanks anyway alll !

Former Member
0 Kudos

Hi Sam,

How did you change the xsd occurence from 7.0 to 7.1?

Thanks,

Venu