2007 May 08 8:47 AM
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.
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.
2007 May 08 12:25 PM
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
2007 May 08 12:34 PM
Do you get this error in your user_command or even before you get there?
2007 May 08 3:00 PM
Hi Marcello,
I get this dump in USER_COMMAND only and that to for few keys only.
Regards,
Ramu N.
2007 May 08 12:40 PM
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
2007 May 08 1:19 PM
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.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |