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


Hi All,

I have a problem in mapping between IDOC FIDCC2 an my custom structure.

When I'm using copyvalue between WERKS in E1FIKPF segment and my field with 0 to unbounded occurence the copyvalue function work properly ONLY with first occurence!!!

Any IDEA??????

Thanks in advance,

Michele Lazzarato.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • author's profile photo Former Member
    Former Member
    Posted on Feb 03, 2004 at 02:58 PM

    Hi Michele,

    The "CopyValue" function works similar to the "Constant" function. This means it will copy an input value to the relevant context and - if necessary - will duplicate the entries of the source element. So if there is only one context in your target structure, it will create exactly one entry there.

    If you want all values to end up in the the same context (i.e. the same header node), just create a simple mapping between the source and the target element without any additional function.

    On the other hand, if you want to distribute the source elements to different contexts (to different header nodes) you'll probably have to use the "SplitByValue" function.

    If you have futher questions, you can send me your source and target structures (the xsds) and an xml-instance of your message by mail (with a short description which fields you want to map)and I'll try to resolve the problem.

    Best 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.