cancel
Showing results for 
Search instead for 
Did you mean: 

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

Former Member
0 Kudos

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 ????

Accepted Solutions (1)

Accepted Solutions (1)

udo_martens
Active Contributor
0 Kudos

Hi Frank,

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

By a mapping..

Regards,

Udo

Former Member
0 Kudos

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

Answers (1)

Answers (1)

MichalKrawczyk
Active Contributor
0 Kudos

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-8efd6188...

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>