Skip to Content
avatar image
Former Member

interface mapping failing

i have a problem in my interface mapping(IDOC @IDOC)and in the reciever idoc structure the field idoc is read(i dont know why)And the message mapping is showing succesfull but the interface mapping is failing and when i test the interface mapping the error is

Runtime exception occurred during execution of application mapping program com/sap/xi/tf/_MM_purchOrdChangeJR_to_salesOrdChangeR3_: com.sap.aii.utilxi.misc.api.BaseRuntimeException; RuntimeException in Message-Mapping transformation: Runtime exception during processing target field mapping /ORDERS05/IDOC/E1EDP01/E1EDP19/IDTNR. The message is: Exception:[com.sap.aii.mappingtool.tf3.IllegalInstanceException: Too few values in first queue in function useOneAsMany. It must have the same number of contexts as second queue.] in class com.sap.aii.mappingtool.flib3.NodeFunctions method useOneAsMany[com.sap.aii.mappingtool.flib3.Plainer@d1221323c, , ]

can any body help me to solve this error

thanks an regards

nelakonda

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • avatar image
    Former Member
    Feb 14, 2008 at 05:30 PM

    > i have a problem in my interface mapping(IDOC @IDOC)and in the reciever idoc structure the field idoc is read(i dont know why)And the message mapping is showing succesfull but the interface mapping is failing and when i test the interface mapping the error is

    >

    Hi,

    you are not mapping the mandatory fields in the receiver side of idoc and this is the reason it is showing in red. Also this is the reason your mapping is getting failed.

    If u do not have any porper value to map with these fields from your source, then you can map any CONSTANT value to these mandatory fields (1:1 occourrence fields).

    Regards,

    Sarvesh

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Hi

      can you tell me why message mapping is not failing and interface mapping failing

      And one more question that is what is the actual difference between message mapping and interface mapping

      thanks and regards

      nelakonda

      Edited by: praneeth nelakonda on Feb 15, 2008 4:55 PM

  • Feb 14, 2008 at 05:42 PM

    Praneeth,

    Are u sure ur message mapping works fine? Coz the error

    >Too few values in first queue in function useOneAsMany. It must have the same number of contexts as second queue

    will fail for sure in Message mapping.

    raj.

    Add comment
    10|10000 characters needed characters exceeded