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

IMAP Sender channel, Content Conversion Module , target XSD structure issue

Hi,

I'm using the content conversion adapter module in my IMAP senderchannel , to transform a flat file into a IDOC ORDERS05 structure.

I have some difficulties generating the right structure... how can I make a more deep structure ?

My output is like this. All created segment is on the same level.

<ORDERS05>
    <IDOC>
        <E1EDK01>
        <E1EDK03>
        <E1EDKA1>
        <E1EDK02>
        <E1EDKT1>
        <E1EDKT2>
        <E1EDKT2>
        <E1EDKT1>
        <E1EDKT2>
        <E1EDKT2>
        ……….
    <IDOC>
</ORDERS05>

Here the E1EDKT2 should be a "level under" or "sub structure" to E1EDKT1, and not on the same level !

The wanted result:

<ORDERS05>
    <IDOC>
        <E1EDK01>
        <E1EDK03>
        <E1EDKA1>
        <E1EDK02>
        <E1EDKT1>
            <E1EDKT2>
            <E1EDKT2>
        <E1EDKT1>
            <E1EDKT2>
            <E1EDKT2>
        ……….
    <IDOC>
</ORDERS05>

How can I solve this ????

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • Best Answer
    Posted on Jun 12, 2007 at 08:45 AM

    Hi Frank,

    >>>How can I solve this ????

    By a mapping..

    Regards,

    Udo

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member

      OK 😉 I have tried that but, i have some problems with the context in the mapping.

      when all source segments is on the same level, I cannot solve the context issue when mapping the E1EDKT2 segments to the right E1EDKT1 segments......

  • Posted on Jun 12, 2007 at 08:50 AM

    Hi,

    you can do it on adapter level too:

    but you cannot do it in standard content conversion I guess

    (if it has more then 2 levels)

    check this how you can do it:

    https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/482aae19-0301-0010-3485-8efd618818d0

    Regards,

    michal

    -


    <a href="/people/michal.krawczyk2/blog/2005/06/28/xipi-faq-frequently-asked-questions"><b>XI / PI FAQ - Frequently Asked Questions</b></a>

    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.