cancel
Showing results for 
Search instead for 
Did you mean: 

Please wait...Your request is being processed Page

Former Member
0 Kudos

Hi,

In my Web Report, when I enter the values in the selection screen and press execute, it's taking sometime to load the report. In the mean time, I want the browser to display the message (either in popup window or in the webpage) "Please wait...your request is being processed" or "Loading..."

I developed the web template for the report in the Web Application Designer. I just used the table web item and attached a custom query to it.

In the code below, if I make the "display: yes" and "visibility: show", the Loading icon is visible along with the report output and remains constant.

<body>

<span id="SAPBW_SNIPPET_MSG"></span>

<div style="display:none; visibility:hidden"><iframe id="SAP_BW_SNIPPET" name="SAP_BW_SNIPPET" src="/sap/bw/Mime/BEx/Misc/PleaseWaitPreload.html" style="width:0px;height:0px;visibility:hidden"></iframe></div>

<script language="Javascript">

SAPBWLocation = null; // null -> Snippets

var SAPBWProcessBoxState="";

</script>

<div id="SAPBWProcessBoxSpan" style="z-index:99; display:none; visibility:hidden; left:0px; top:0px; width:0px; position:absolute; overflow:hidden;"><table width="250" class="SAPBEXPopUpOuterBorder" cellspacing="0" cellpadding="0" border="0">

<tr><td nowrap class="SAPBEXPopUpInnerBorder"><table width="250" border="0" cellpadding="0" cellspacing="0">

<tr><td colspan="2" nowrap class="SAPBEXPopUpHeader">Wait...</td>

</tr><tr><td width="25" height="75" valign="middle" nowrap class="SAPBEXPopUpBg"><img src="/sap/bw/Mime/BEx/Icons/Loading.gif" border="0" alt="Wait..." title="Wait..." ></td>

<td valign="middle" nowrap class="SAPBEXPopUpBg">Your Request Is Being Processed</td>

</tr></table>

</td>

</tr></table>

</div>

</body>

I want the loading message in between the selection screen web page and the report output web page.

Any suggestion in this regard would be greatly appreciated.

Thanks,

Sai Raghav.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi Guys..

Thanks a lot for ur answers. I implemented the code u have given. It does not work.

The HTML code generated in the Web Application Designer for the web template is as below.

<HTML>

<!-- BW data source object tags -->

<object>

<param name="OWNER" value="SAP_BW"/>

<param name="CMD" value="SET_DATA_PROVIDER"/>

<param name="NAME" value="DATAPROVIDER_1"/>

<param name="QUERY" value="PARTIC2005"/>

<param name="INFOCUBE" value="CASH_HIST"/>

DATA_PROVIDER: DATAPROVIDER_1

</object>

<object>

<param name="OWNER" value="SAP_BW"/>

<param name="CMD" value="SET_PROPERTIES"/>

<param name="TEMPLATE_ID" value="Z_PARTIC2005_WEB"/>

<param name="ENABLE_OPEN_WINDOW" value="X"/>

<param name="MENU_EXPORT_TO_XLS" value="X"/>

TEMPLATE PROPERTIES

</object>

<HEAD>

<META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">

<TITLE>BW Web Application</TITLE>

<link href="/sap/bw/Mime/BEx/StyleSheets/BWReports_ie6.css" type="text/css" rel="stylesheet"/>

</HEAD>

<BODY>

<P><object>

<param name="OWNER" value="SAP_BW"/>

<param name="CMD" value="GET_ITEM"/>

<param name="NAME" value="TABLE_1"/>

<param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>

<param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>

ITEM: TABLE_1

</object></P>

<P>&nbsp;</P>

<P>&nbsp;</P>

</BODY>

</HTML>

I copied and pasted the code between <BODY> and </BODY>. It doesn't work.

Please suggest if I need to change something more in the code. Or is this not the right place to add the code?

Thanks again.

-> Sai Raghav.

athavanraja
Active Contributor
0 Kudos

Hi Sai Raghav,

What you are asking is BW webtemplate issue, you need to post your question in BI forum for better response. The other responses wont work in your scenario as it was realted to BSP.

Regards

Raja

Former Member
0 Kudos

Hai Raghav,

Include the following lines in ur main page.


<%@extension name="xhtmlb" prefix="xhtmlb" %>
<%
  data:lv_wait_title type string,
  lv_wait_text type string.
  lv_wait_title = `Please wait...`.
  lv_wait_text = `<div style='background-color:#ffffff; padding-top:2px'><img id='PDS_image' src='/sap/public/bc/ur/Design2002/themes/sap_tradeshow/common/loading/loading_ani.gif' height='32' width='32' align='center'> Loading... </div>`.
%>
<xhtmlb:protectDoubleSubmit timer = "1"
                            title = "<%= lv_wait_title %>"
                            text  = "<%= lv_wait_text %>" />

regards,

venkatesh

Former Member
0 Kudos

Hi Sai

You can use protectdoublesubmit tag of XHTMLB.

you can go thru the following link too

Regards

Naresh