cancel
Showing results for 
Search instead for 
Did you mean: 

Cannot create target element.....Values missing in queue context

brian_briones
Participant
0 Kudos

I HAVE A ERROR AND I DONT KNOW WHATS UPP!!

I 'VE A ESCENARIO SOAP<--->PI<--->SOAP. WHEN I CREATE THE MAPPING AND THE OPERATION MAPPING I MUST INC FAULT MESSAGE BECAUSE THE INTERFACE NEED IT, BUT THIS ONE IS THE ERROR...

DETAILS:

RuntimeException during appliction Java mapping com/sap/xi/tf/_CrearActivoFijo_ACTIVOFIJO_to_SAP_MM_fault_ Thrown: com.sap.aii.mappingtool.tf7.IllegalInstanceException: Cannot create target element /ns0:CrearActivoFijo_Fault_MT. 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 com.sap.aii.mappingtool.tf7.AMappingProgram.processNode(AMappingProgram.java:369) at com.sap.aii.mappingtool.tf7.AMappingProgram.start(AMappingProgram.java:503) at com.sap.aii.mappingtool.tf7.Transformer.start(Transformer.java:134) at com.sap.aii.mappingtool.tf7.AMappingProgram.transform(AMappingProgram.java:635)

...

HELP ME PLIS!!

Accepted Solutions (1)

Accepted Solutions (1)

monicabhosale
Active Participant
0 Kudos

Hello,

Please check that the field which you have mapped to target field /ns0:CrearActivoFijo_Fault_MT is comming or not.

Check the condition if you have given during mapping of this target field.

target field /ns0:CrearActivoFijo_Fault_MT not getting value thats why you are facing this issue.put correct value in your source field.

Monica

brian_briones
Participant
0 Kudos

I understand what is the problem... but I check the fault M and this one dont have problem...

I don know what must do, where must I modific thing...!! sorry for my inglish , I AM from Chile!! rgrds!!

Answers (5)

Answers (5)

former_member463616
Contributor

Hi,

The context should be handled correctly. Please see the below blogs regarding context handling in Message Mapping:

/people/harrison.holland5/blog/2006/12/08/mapping-context-changes-in-xi

/people/riyaz.sayyad/blog/2006/04/23/introduction-to-context-handling-in-message-mapping

Hope this helps to you.

Regards,

P.Rajesh

former_member220397
Participant
0 Kudos

Hi Brians,

I met the same trouble. How do you deal with it please?

Thanks in advance.

Best regards.

Maurin

Former Member
0 Kudos

Just sharing a solution that worked for me.

I had this problem with everything appearing correct.

There were some changes to the Data Types, SLD and more over development and a few transports.

I believe the Mapping, even if it looks fine, may have been corrupt.

I went back to the dev system and made a mapping change (just inserted a "trim" command.

Tested the mapping, which worked fine. Then removed the trim command, reactivated and re-transported to QA.

The problem disappeared.

brian_briones
Participant
0 Kudos

Thank

rajasekhar_reddy14
Active Contributor
0 Kudos

fault message structure mandatory fields expect always value but in your source data it was missing,please correct your source days and it should have data for mandatory fields in target