Application Development 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: 

Effect of SAPGUI_PROGRESS_INDICATOR run in background?

Former Member
0 Kudos

I wish to call subroutines in standard SAP Programs in my Zprogram. However, the FM has the SAPGUI_PROGRESS_INDICATOR with constant percentage of 0 as a the parameter value. I personally do not want the FM to execute but it is included in the sub-routine....now my program will run in background and there is no scope of a status bar. so will running this FM in background lead to a dump? Cant find any documentation for this doubt....and dont have sufficient test data also. thanks in advance for all your help.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

No It will not give any dump. It wil do nothing. If you check the code of the FM it is clearly bypassed for background processing

 

if sy-batch <> space.

exit. "do nothing in batch

endif.

2 REPLIES 2

Former Member
0 Kudos

No It will not give any dump. It wil do nothing. If you check the code of the FM it is clearly bypassed for background processing

 

if sy-batch <> space.

exit. "do nothing in batch

endif.

Former Member
0 Kudos

Thanks Rudra!! saves me a lot of work!!!