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

sapgui_progress_indicator

Former Member
0 Likes
648

Hi,

I am using the function module SAP_GUI_PROGRESS_INDICATOR .This should only be called if the report is executed in foreground, So i have written following code .But when i try to run my report in back ground it goes in an infinite loop.It works properly in foreground.Pl help with some proper solution.The report output is an ALV grid.

IF sy-batch EQ space.

CALL FUNCTION 'SAPGUI_PROGRESS_INDICATOR'

EXPORTING

text = c_in_progress. "In Progress.

endif.

3 REPLIES 3
Read only

Former Member
0 Likes
499

Hi

This fun module SAP_GUI_PROGRESS_INDICATOR is used for foreground reports only, usch that it indicates the user that some processing is going on

Where you wrote this in the code?

check the code.

what you are passing to percentage field of this fun module?

Reward points if useful

Regards

Anji

Read only

Former Member
0 Likes
499

Hi,

I guess that the problem is the ALV Grid, not the 'SAPGUI_PROGRESS_INDICATOR

Please see also this link:

<a href="/people/prashant.patil12/blog/2007/02/20/displaying-alv-grid-in-background-job ALV Grid in Background Job</a>

Best Regards,

Stefan

Read only

Former Member
0 Likes
499

Hi Sneha,

does the report generate any error log? which method r u following to display ALV, reuse*? or custom controls?