Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Download internal table

Former Member
0 Kudos

Hi

i want to download my internal table to flat file (text file)..

i m using gui_download FM...

this FM download all the contents of internal table

But i want its heading also

for exp

comcode custcode date

1000 1001 01.01.2008

1000 1002 02.01.2008

1000 1003 03.01.2008

1000 1004 04.01.2008

i want that heading also comcode ,custcode , date ..

they are the field name of my internal table..

pls help me on this

many thanxs.

Points will be definately rewarded

regards

rajan

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi Rajan ,,

Check this link , It will be helpful ,,

http://www.sap-img.com/ab004.htm

Reward if it is helpful,,

Thanks and Regards,

Sreekar.Kadiri

2 REPLIES 2

Former Member
0 Kudos

hi,

CAll this GUI_DOWNLOAD twice.

First time pass only headers in one separate internal table.

While calling 2nd time pass append = 'X' along with the table containing data.

For more clarifications , plz revert.

Dont forget to reward points.

Regards,

Nishant Gupta

Former Member
0 Kudos

Hi Rajan ,,

Check this link , It will be helpful ,,

http://www.sap-img.com/ab004.htm

Reward if it is helpful,,

Thanks and Regards,

Sreekar.Kadiri