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: 

message with alv output

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

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.

Former Member
0 Kudos

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