cancel
Showing results for 
Search instead for 
Did you mean: 

How to show webgui progress indicator in Webgui while executing report

Former Member
0 Kudos

ITS 6.2 patch 18

I am calling r/3 report as a new window from template base html page. Mission is to show webgui progress indicator instead of hour glass. The report takes 3 minutes to the result. Shortly before showing result page,the webgui progress indicator appears at the center of the page. I tried abap function SAPGUI_PROGRESS_INDICATOR to r/3 report.However, it did not work.

If anyone konws how to do it, let me know.

I am using below function to call r/3 report.

<script language="JavaScript">

function new_win(){

var w_address, wp ;

w_address = "http://`HTTP_HOST`/scripts/wgate/webgui/!?transaction=ZZZZ&~OkCode=EXEC&PA0001-ORGEH=" + "`PA0001-ORGEH`" + "&PCHDY-DEPTH=" + "`PCHDY-DEPTH`" ; ;

w_address = w_address + "&client=`write(client)`&language=`write(language)`" ;

win_prop = "left=0, top=0, height=600, width=800, status=no, menubar=no, resizable=yes, fullsize=yes, channelmode=no, scrollbars=yes";

alert(w_address);

wp = window.open(w_address,'',win_prop);

wp.location.href = w_address;

alert(w_address);

if (window.focus) {

wp.focus()

};

return false;

};

</SCRIPT>

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member228142
Active Contributor
0 Kudos

Hi Sunny,

due to technical reasons the progress indicator is not supported in SAPGUI for HTML. Please see note 314568.

I would create a start transaction that shows a screen "Please wait.." and then starts the report.

Best regards,

Klaus

Former Member
0 Kudos

Hi Klaus,

I appreciate your quick response.

Okay ! Let me give up webgui progress indicator.

Another question is how to grab webguiform input field data.

I got other issues.

As you see source code, I pass parameter like PA0001-ORGEH=`PA0001-ORGEH` to the javascript function for a popup window .

When I use this `SAP_InputField("PA0001-ORGEH")` clause at template script, I cannot grab data properly before hitting enter. I guess the reason is in webgui's dynamic webpage generation. Is it right ?

When I use html code <input type="text">, there is no problem in passing parameter. When I use search help function with <input> code, other field's data is changed into default value.

If someone knows the way to grab input field data from DOM, let me know. I tried document.webguiform.element[0].value, it did not work.

It seems there are tons of limits in webgui function.