Application Development and Automation 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: 
Read only

Pop_up

Former Member
0 Likes
639

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.

3 REPLIES 3
Read only

former_member209703
Active Contributor
0 Likes
605

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 ?

Read only

Former Member
0 Likes
605

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'.

Read only

Former Member
0 Likes
605

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