10-05-2007 1:02 PM
Hi experts,
I hope some one might have done what I'm trying to do. Could some one please show me how to give out a status message saying for example how many fields have been give out(or selected) in the t_ouput in an alv grid? Is there a FM that could do this? I mean like giving the FM the t_output and it will show a status message with the number of fields selected?
Thank you for your input.
Nadin
Message was edited by:
nadin ram
10-05-2007 1:05 PM
Hi Ram,
Write this code,
Message 'Select Only Ten Fields' type 'I'.
It displays The Message in Message Box.
Or if you want the Error Message means,
Message 'Select Only Ten Fields' type 'E'.
Thanks,
reward If Helpful.
10-05-2007 1:11 PM
hi Nadin,
do you want a popup (and the user has to hit Enter or anything to continue), or is it enough some text in the message line? in the latter case you can use the FM SAPGUI_PROGRES_INDICATOR, it displays a nice watch and any sentence you wish.
hope this helps
ec
10-05-2007 2:51 PM
Hi viji, hi ec,
thank you for your input. I found a way to put out the message. I just wanted message displayed on the message line telling me how many fields have been selected or have been outputted.
DATA w_num TYPE i.
DESCRIBE TABLE t_output LINES w_num.
IF w_num = 0.
MESSAGE (?).
EXIT.
ELSE.
MESSAGE (?) WITH w_num.
ENDIF.