Skip to Content

UseOneAsMany Function Not Working

Hi Experts,

I have tried the example from the below blog: SAPTechnical.COM - Implementation of Node functions

I have changed the context level as mentioned in the blog. I have changed the Plant Context Level to Mt_Sender for both MatNo and MatDesc while Mapping on target Side. Remaining i have Mapped normal field to field from Source to Target. When i am checking the Message Mapping it is throwing the Error as mentioned below:

Source Structure:

<?xml version="1.0" encoding="UTF-8"?>

<ns0:MT_Sender xmlns:ns0="http://UseOneAsManyExample">

<Header>

<MatNo>MatNo</MatNo>

<MatDesc>MatDesc</MatDesc>

</Header>

<Item>

<MatNo>MatNo1</MatNo>

<ItemNo>ItemNo1</ItemNo>

<MatGroup>MatGroup1</MatGroup>

<Mattype>Mattype1</Mattype>

<Plant>Plant1</Plant>

</Item>

<Item>

<MatNo>MatNo2</MatNo>

<ItemNo>ItemNo2</ItemNo>

<MatGroup>MatGroup2</MatGroup>

<Mattype>Mattype2</Mattype>

<Plant>Plant2</Plant>

</Item>

</ns0:MT_Sender>

Required Target Structure should be as mentioned in the blog. This is a very basic example, but i am not getting the Output. Please check and let me know where i am going wrong in mapping.

Regards,

GIRIDHAR

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2014 at 06:37 AM

    Hi Giridhar,

    Please confirm the error you are facing and also if possible please provide a screen shot of your mapping.

    Regards,

    Sriram

    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.