‎2011 Sep 01 11:38 AM
i need to show a pop_up with a message "Plz wait .....processing" with no action buttons.
while its processing the program will do a perform
if return code is ok the pop_up will close automaticaly or else popup stay.
no action need from the user, he just had to wait till process is finished .
Is it possible ?
*----
do until sy-subrc ne 0.
perform XXX using sy-subrc.
if sy-subrc ne 0.
pop_up.
endif.
enddo.
‎2011 Sep 01 12:04 PM
I'm not sure if that can be done without user interaction, however I wouldn't try to do it.
Why don't you try using FM SAPGUI_PROGRESS_INDICATOR ?
‎2011 Sep 01 6:07 PM
Try to use:
Initial
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 1
TEXT = 'Plz wait .....processing'.
middle
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 50
TEXT = 'Plz wait .....processing'.
End
CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
EXPORTING
PERCENTAGE = 100
TEXT = 'Plz wait .....processing'.
‎2011 Sep 02 11:17 AM
Hi,
1. Call the function module ''SAPGUI_PROGRESS_INDICATOR'.
2. Wait untill sy-subrc is initial.
3. Call the function module ''SAPGUI_PROGRESS_INDICATOR' and make it 100 %.
Try whether the above function module will work without passing 1, 50, and 100 %.
Regards,
Chandu