cancel
Showing results for 
Search instead for 
Did you mean: 

File structure?

Former Member
0 Kudos

Hi Experts,

I've came across a scenario /people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy

which is File to R/3 via ABAP Proxy....

In Sources File structure section the author is describing the file structure.

Now my question is why he is considering 4 headers i.e.,

Y447859 - File Header

VOL1 - Volume Header Label…

HDR1 - First File Header Label…

HDR2 - Second File Header Label…

can anyone explain me the typical structure of a file.......like how many header,data and trailer records will a file contain in general.

Pts. will be awarded for useful answers

Regards

Faisal

Edited by: Abdul Faisal on Apr 18, 2008 8:58 PM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi Abdul,

The structure that depends on purely requirement only.

There is nothing like we shlod use this many headers and these many footers.

Generally we will have One Header + N Details +One Footer

Dont bother abt the structure.It depends on the requirement. it may change from requirment to requirement

Regards

Seshagiri

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi Abdul

according to your scenario requirement you may define the structure of file that totaly depends on your requirement

There is no standard counter for Header and

Generally we will have One Header and One Footer that makes the envelope and we can have as many as adetails as you required

Regards

Sandeep

If helpful kindly reward points

Former Member
0 Kudos

Hi Faisal !

The file structure depends on the requirements of each scenario. You can define a file structure freely to have many record data types, a bunch of them could be used as headers, others as details records, others as footers. It all depends on you.

Maybe the most common file formats are:

- only detail records

- 1 header + N detail + 1 footer

- 1 header + N detail type A + M detail type B + 1 footer

but its up to you.

In that blog, he is just describing the structure of the chosen file.

Regards,

Matias

ps: please award points if helpful.