Application Development and Automation 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: 
Read only

internal table into excel

Former Member
0 Likes
652

How can i converte an internal table into an excel table?

Greets Volker

1 ACCEPTED SOLUTION
Read only

former_member188829
Active Contributor
0 Likes
631

Hi,

Use Function Module:GUI_DOWNLOAD

6 REPLIES 6
Read only

former_member188829
Active Contributor
0 Likes
632

Hi,

Use Function Module:GUI_DOWNLOAD

Read only

0 Likes
631

Is there another possibility??

Read only

Former Member
0 Likes
631

try this...

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

filename = 'C:\TEMP\DATA.XLS'

WRITE_FIELD_SEPARATOR = 'X'

tables

data_tab = itab "Internal table

Read only

Former Member
0 Likes
631

Hi Volker,

use GUI_DOWNLOAD function it is used to create a file in your presentation Server or use CL_GUI_FRONTEND_SERVICES class .

Plzz Reward if useful,

Mahi.

Read only

ThomasZloch
Active Contributor
0 Likes
631

here's a nice one:

MS_EXCEL_OLE_STANDARD_DAT

Read only

Former Member
0 Likes
631

Hi Volker,

You can also try:

CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'

EXPORTING

I_CALLBACK_PROGRAM = MYREPORT

I_CALLBACK_USER_COMMAND = 'USER_COMMAND'

IT_FIELDCAT = FIELDCATALOG1[]

I_SAVE = 'X'

TABLES

T_OUTTAB = ITAB

EXCEPTIONS

PROGRAM_ERROR = 1

OTHERS = 2 .

Hope this helps.

Shane