Skip to Content

Only Constant values gets populated in the target

Hi,

I am facing a strange problem.

When i am executing my mapping locally, i can see proper values are populated at the traget. But during run time its not the same.

in SXMB_MONI when i check i can only see the constant values that are mapped are populated.

My Scenario is file to Idoc.

Request some pointers in this issue.

Thanks in advance.

Br,

Bhanu.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Aug 01, 2012 at 12:59 PM

    Hi Bhanu,

    Do you use XML file on the sender side? If so, most probably you have some namespaces mismatch, which is why PI has empty source queues in the mapping. You can verify that by putting your source file into the mapping test, instead of typing some values in the mapping test tab manually.

    Regards,

    Greg

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 01, 2012 at 01:00 PM

    Looks like a cache issue.

    check if your cache is updated properly.

    Also, is it for all the IDoc fields you get a constant? or only few fields under EDI_DC40?

    Add a comment
    10|10000 characters needed characters exceeded

    • Hi Nanduri,

      Please use mapwithdefault function for having a default value for each of the fields which is not getting populated. Then run the scenario.

      Lets see if you get some values this time or not. If you get values this means there was a problem with source data . If you do not get any values this time then ask BASIS team to look in the issue.

      There might be problems with java stack.

      Regards

      Anupam

  • Posted on Aug 01, 2012 at 02:45 PM

    Hi Bhanu,

    As Greg suggested there are couple of things you can check:

    1. source payload namespace.
    2. XML tage in the source payload (like ns0 or p1)
    3. Source message interface might not pointing to same structure of Message mapping.

    This are the possible cases where you did not get the source date in target after transformation.

    Regarda,

    Harish

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Aug 01, 2012 at 12:58 PM

    This may happen if there is an issue with payload. Please use payload from SXMB_MONI to test your operation map. If you still have issues, you can post the successful and unsuccessful payload in the forum.

    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.