Skip to Content
0
Former Member
Oct 24, 2007 at 09:08 AM

Mapping FlatStructure from FileAdapter to Hierarchical IDOC

40 Views

We want to map the following FLAT-Structure to an Hierarchical IDOC-Structure

ZUECH_0210
recordset
    H1
    H2
    …
    H6
    D1  (1 to unbounded)
    D2  (1 to unbounded)
        Meterno1
    D3  (1 to unbounded)
         Q1
    D3
         Q2
    D2
       Meterno2
    D3
        Q1
    D3
        Q2
    D3
        Q3
/recordset

IDOC_ZUECH_210
  IDOC
       HEADER
             H1
             H2
             ….
             H6
        /HEADER
        D1  (1:1)
             D2 (1:99)
                 D3 (1:99)
    /IDOC

We tried D3 splitbyvalue to D3 => below D2 there is only one D3 mapped?

Any ideas how to keep the values from D3 below the according D2?

We went through

http://help.sap.com/saphelp_nw70/helpdata/en/ab/bdb13b00ae793be10000000a11402f/frameset.htm.

It didn't help us very much