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

Mapping IDOC ORDERS05

Hello.

I'm new on idoc mapping so I think that this is not very difficult for you guys.

I'm trying to map ORDERS05's E1EDKA1 and E1EDP01 to an output xml. The problem is that this structures can have more than 1 occurrences and the mapping seems to find only the first one.

Example:

If I create a condition like:

IF E1EDKA1-PARVW is 'AG'.

map.

ENDIF.

It works because AG is the first to come. WE doesn't work. It seems that it only finds the first occurrence of this structures.

I found removecontexts function but I'm not getting how to use it. ...

Any help?

Thanks and regards,

Valter Oliveira.

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    Posted on Mar 16, 2009 at 02:28 PM

    Hi,

    Would you be able to provide the cardinality of the target structure?

    Regards,

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member Former Member

      Hello Valter,

      Do you mapping like this..

      Items = 1

      item = E1EDP19 (because you need to generate item for every E1EDP19 which is under E1EDP01)

      QUALF--Equals-001-IfwithoutElse--MATERIAL

      IDTNR---- /

      QUALF--Equals-001-IfwithoutElse--DESCRIPTION

      KTEXT--- /

      If it doesn't work, paste your target structure here with it's occurrences.

      Regards,

      Sarvesh

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.