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

Message Mapping error

Hi Exoerts

i am getting the following error in my Message Mapping.My Scenario is IDOC to File.

RuntimeException in Message-Mapping transformation: Exception:[com.sap.aii.mappingtool.tf3.IllegalInstanceException: Function formatByExample: Queues have not equal number of values.] in class com.sap.aii.mappingtool.flib3.NodeFunctions method formatByExample[com.sap.aii.mappingtool.tf3.CBufIter@472f88e6, com.sap.aii.mappingtool.tf3.CBufIter@1c4d88d

please help me out

thank you

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2010 at 07:39 AM

    The number of values in the queues of both inputs should be same.

    Right click on the inputs and choose 'Dispaly Queue' option and check.

    -Supriya.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2010 at 12:54 PM

    Dear Vemuganti,

    Concerning the error, kindly check if you have two inbound queues which must both have the same number of values. To generate the result queue, the function takes the values from the first queue and combines them with the context changes from the second queue.

    Kindly go through the following link :

    http://help.sap.com/saphelp_nwpi711/helpdata/en/43/c4cdfc334824478090739c04c4a249/frameset.htm

    click on link 'formatByExample' for more details.

    Best Regards

    Nishwanth

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 21, 2010 at 06:37 PM

    Hi,

    When you are using formatByExample node function you should send the same number of values to both inputs.

    It produces (output) the first input values by taking the second input values context.

    Check

    /people/sundararamaprasad.subbaraman/blog/2006/02/21/real-example-for-formatbyexample

    Regards

    Ramesh

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 26, 2010 at 07:45 AM

    Answered

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.