Skip to Content
author's profile photo Former Member
Former Member

Web query..HELP

We need a popup to appear even before a web report opens up. If not possible at the variable input screen or just when the output is displayed.

Could some one let me know the feasibility / how to carry out any of the above three options.Help here is greatly appreciated.

Add a comment
10|10000 characters needed characters exceeded

Related questions

4 Answers

  • author's profile photo Former Member
    Former Member
    Posted on May 05, 2005 at 03:09 PM

    Have a javascript function on the onload event of the template. The javascript function will have the reference to the popup.

    Thanks.

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 05, 2005 at 04:24 PM

    Hi,

    Use this Code Methodology,

    <script>

    function InitPop(){

    alert('Initialization of Popup');

    }

    </script>

    <body onload="InitPop">

    This will come after the Variable screen.

    Thank you

    Arun

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on May 06, 2005 at 05:09 AM

    Thanks both of you could you let me know where to put this code........and exact technalities to do the same

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on May 06, 2005 at 05:36 PM

    Hi SB,

    Use this code in your BEX web template in the HTML Code Area for your Layout.Put the <script> code under the <head> tag

    <html>

    <head>

    <title>BW Web Application</title>

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

    <script language="javascript">

    function Init(){

    alert('Put Your Code here');

    }

    </script>

    </head>

    <body onLoad="Init()">

    Also you can use confirm dialog if you want user input and redirect accordingly to some other template.

    For more info about Javascript please look at the DOM documentation

    http://userpages.umbc.edu/~kbradl1/wsz/ref/DOMref.html

    This tells about the complete Object,method and attributes of the Javascript DOM object.

    Thank you

    Arun

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.