cancel
Showing results for 
Search instead for 
Did you mean: 

Fileadapter to read Orderheader / Orderline structure

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello,

Take a look at the sender File adapter. You can do your requirement using the standard file adapter.

http://help.sap.com/saphelp_nw04/helpdata/en/2c/181077dd7d6b4ea6a8029b20bf7e55/content.htm

Cheers,

naveen