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

Dump while downloding the ALV output

Former Member
0 Likes
671

Hi,

My requirement is to Develop an ALV report with new Function Keys in the Application Toolbar of the ALV.

For that I have copied the Status of the program 'SAPLSLVC_FULLSCREEN' Status - 'STANDARD_FULLSCREEN' and added few more Function Key's on the Application Toolbar. The new Key's added are working fine but when I try to download the ALV Output using the Download file option on the application toolbar its giving and dump saying 'Field symbol has not yet been assigned'

Runtime Errors GETWA_NOT_ASSIGNED.

Regards,

Ramu N.

5 REPLIES 5
Read only

Former Member
0 Likes
559

Hi, Add this code to the alv report. the report will get downlaoded as an excel sheet to ur hard drive.

FORM DOWNLOAD .

DFILENAME = 'D:\log.xls'.

CALL FUNCTION 'GUI_DOWNLOAD'

EXPORTING

  • BIN_FILESIZE =

FILENAME = DFILENAME

FILETYPE = 'ASC'

  • APPEND = ' '

WRITE_FIELD_SEPARATOR = ','

TABLES

DATA_TAB = IT_MDKP

.

IF SY-SUBRC <> 0.

ENDIF.

ENDFORM. " DOWNLOAD

REWARD POINTS IF USEFUL

Read only

MarcelloUrbani
Active Contributor
0 Likes
559

Do you get this error in your user_command or even before you get there?

Read only

0 Likes
559

Hi Marcello,

I get this dump in USER_COMMAND only and that to for few keys only.

Regards,

Ramu N.

Read only

Former Member
0 Likes
559

Hi Ramu,

Use FM 'Gui_download' to dowload internal table into flat/excel file.

Or use microsoft excel view(ctrlshiftF7) button on the application toolbar to download alv output in to excel sheet.

Reward points if helpful.

Regards,

Hemant

Read only

former_member491305
Active Contributor
0 Likes
559

Hi Ramu,

just make sure that you are passing correct values to all the parameters which you are passing to the ALV Funtion module.Or else can you show the code.