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: 

sap to excel

Former Member
0 Kudos

hi friends ,

Can i download data from sap system to excell .

if so , can any one help me with a sample code .

thanks in advance

1 ACCEPTED SOLUTION

aabhas_wilmar
Contributor
0 Kudos

Hi

Use the function module GUI_DOWNLOAD for acheiving the same.

eg:

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

filename = 'C:\filename.xls'

filetype = 'XLS'

TABLES

data_tab = itab.

Reward if it helps.

Regards,

Aabhas K Vishnoi

2 REPLIES 2

Former Member
0 Kudos

Use FM GUI_DOWNLOAD

Check this thread for sample code

.

aabhas_wilmar
Contributor
0 Kudos

Hi

Use the function module GUI_DOWNLOAD for acheiving the same.

eg:

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

filename = 'C:\filename.xls'

filetype = 'XLS'

TABLES

data_tab = itab.

Reward if it helps.

Regards,

Aabhas K Vishnoi