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

Mapping Question

Hi,

I have another question. I have a input structure 1 item an need to map it on an IDOC stucture - no problem so far.

Now I need 1 segment of the IDOC 2 times for every income. Like this:

income --> IDOC ---> segment x values...

---> segment y(1) values...

---> segment y(2) values...

Can someone tell me how to do that, I try it with some own written Java functions - but this doesn't works really stable...

THX Matt

Message was edited by: Matthias Boettger

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

3 Answers

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 01:23 PM

    Hi Matthias,

    Right-click on the concerned target segment and select "Duplicate Subtree". Now you can define a second mapping, that is independent of the first one. (But can also be identical, of course).

    Best regards

    Joachim

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 01:25 PM

    Hi,

    Go to the Message Mapping Function - Node Function

    and use the Function <b>SplitByVlaue</b> before mapping it to the target.

    Regards,

    Vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Oct 06, 2005 at 01:30 PM

    If i understand your situation right,

    you want to fill another line in the idoc with the same

    data coming from your source structure (duplicate the data). If this is your scenario then you can use the fucntion CopyValue from the message mapping screen.

    you can also map the same source field into two differant target fields. find what fits you...

    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.