on 12-28-2005 8:08 PM
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>
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.