Skip to Content
author's profile photo Former Member
Former Member

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

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!!

Add comment
10|10000 characters needed characters exceeded

6 Answers

  • Best Answer
    Posted on Sep 05, 2011 at 09:39 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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!!

  • Posted on Sep 03, 2011 at 06:37 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Sep 03, 2011 at 02:05 AM

    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

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 14, 2011 at 11:56 PM

    Thank

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2014 at 02:29 PM

    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.

    Add comment
    10|10000 characters needed characters exceeded

  • Posted on Apr 13, 2016 at 10:32 AM

    Hi Brians,

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

    Thanks in advance.

    Best regards.

    Maurin


    Capture2.PNG (41.4 kB)
    Add comment
    10|10000 characters needed characters exceeded