Skip to Content
0
Former Member
Aug 25, 2009 at 03:07 PM

Run Time Message Mapping error

15 Views

Hello Experts,

I am working on JDBC to IDOC scenario. I am getting mapping error at SXMB_MONI and the error message is as below:

com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ZABCD01. 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 at and so on.....

I tested in Message Mapping by entering the values and I am able to see the target structure with out any Mapping errors..

But when JDBC real time it got Runtime mapping error as above:

Source

tablename.Set -


1.1

row --


0.Unbound

-


a----


0.1

-


b----


0.1

Target

ZABCD01-----1.1

IDOC --


1.1

-Begin -----Required

XYZ --


0.1

-


a----


0.1

-


b----


0.1

Dont know where is the problem is: I tried with payload its giving the same error as runtime....

Payload looks as :

<?xml version="1.0" encoding="utf-8" ?>

- <set>

- <row>

<a>value</a>

<b>value</b>

</row>

</set>

Can any one faced same issue?

Thanks

Rajeev