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

error : message mapping logic in PI

Dear Team,

Please find the source and target structures..

Source ::

->MT

-->records

--->matnr

--->batch

--->submatnr(s)

Target::

->ZRFC

-->Import

--->Item

-


>matnr

-


>batch

-


>submatnr

1) It is SOAP to RFC scenario. In Source strcuture for one matnr , we have one or more submatnrs.

2)RFC in R/3 contains Import parameters as..matnr,batch,submatnr(onlyone).

3)I want to build mapping - for each submatnr in source I want to create one complete record in target .i.e

if matnr contains 2 submatnrs in source , i want to create 2 records at target side like

first record - matnr,batch,submatnr

second record - matnr,batch,submatnr.

here in both records the matnr and batch values are same , which we have taken from source but submatnrs changed.

Can any body help me how to build mapping.

-Drumi

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Posted on Jul 04, 2011 at 10:33 AM

    Hi Drumi,

    Suppose in your source you have two submatnr, in this case how your Source data looks?

    Please paste your data here.

    Regards,

    Raj

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 04, 2011 at 11:04 AM

    Hi,

    submatnr --> removeContext -->Item. This will create one item record for each submatnr.

    For duplicating the values of matnr and batch as per the no of submatnrs under that matnr, use function useOneasMany under node functions.

    Regards

    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.