07-08-2008 12:37 PM
experts,
i have used 'REUSE_ALV_GRID_DISPLAY' TO DISPLAY
to display a list.
based on the sy-subrc of above function ie if 0 i have coded a
'GUI_DOWNLOAD' to download the data in an excel format.
now i have to display the sucessfull (if data downloaded successfully ) message ie S001 with downloaded successfully on the status bar of the alv list itself.
is it possible.
thanks and regards.
07-08-2008 12:45 PM
Yes Ramesh
its possible
after GUI_DOWNLOAD function
use sy-subrc
if sy-sybrc = 0.
message 'downloaded successfully' TYPE 'I'.
endif.
this will for dialog box,
otherwise use message class like MESSAGE I005(ZLOAD).
Rewards if useful.
07-08-2008 12:45 PM
Hi
If you use message statement by default it appears on the status bar.
Regards
Divya
Edited by: DIVYA VENKATAKRISHNAN on Jul 8, 2008 1:45 PM