Skip to Content
0
Former Member
Dec 20, 2006 at 04:34 PM

Fileadapter to read Orderheader / Orderline structure

14 Views

Hi all,

I need to read a file containing a structure like the following

01,ordernumber1,abc,def

02,ordernumber1,orderline1,123,456,890

02,ordernumber1,orderline2,321,654,098

01,ordernumber2,abc,def

02,ordernumber2,orderline1,123,456,890

02,ordernumber2,orderline2,321,654,098

02,ordernumber1,orderline3,321,654,098

and so on

In words : first a line with orderheader (type 01) then several orderlines (type 02). orderheader and orderline are linked to each other via ordernumber

Type 01 and tpye 02 have different layouts.

I need to read this file and create one IDOC out of each order (type 01).

Any idea how to do this in the fileadapter except writing a module ?

many thx in advance

Uwe