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

Function Module to Pause / Wait write statement

Former Member
0 Likes
837

Hello Everyone !

Write 'ABC'.

...........

Write 'XYZ'.

In between this statement I want a pause.

ABC should be displayed and after few seconds XYZ should be displayed.

Which function module can be used for this ???

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
484

Hi Vaibhav,

The output screen's are passive in nature and cannot be refreshed, if your intention is to update the user with a message or something, you could use the status bar and issue the messages to the user, or use the FM SAPGUI_PROGRESS_INDICATOR below is a code snippet using the same.


CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
 EXPORTING
*   PERCENTAGE       = 0
   text             = 'Hi.........'
          .

WAIT UP TO 5 SECONDS.

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
 EXPORTING
*   PERCENTAGE       = 0
   text             = 'Hi22222.......'
          .

WAIT UP TO 5 SECONDS.

Regards,

Chen

2 REPLIES 2
Read only

Former Member
0 Likes
485

Hi Vaibhav,

The output screen's are passive in nature and cannot be refreshed, if your intention is to update the user with a message or something, you could use the status bar and issue the messages to the user, or use the FM SAPGUI_PROGRESS_INDICATOR below is a code snippet using the same.


CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
 EXPORTING
*   PERCENTAGE       = 0
   text             = 'Hi.........'
          .

WAIT UP TO 5 SECONDS.

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'
 EXPORTING
*   PERCENTAGE       = 0
   text             = 'Hi22222.......'
          .

WAIT UP TO 5 SECONDS.

Regards,

Chen

Read only

0 Likes
484

Hi,

The FM SAPGUI_PROGRESS_INDICATOR'

, would give a processing clock and text on status bar, not on the screen. I dont think this could help.

Please verify.