Maximize a Web Template Window

Again, sorry for what is probably a basic question, but I just can't find the answer and I hope someone can help.
I have a Web Template called directly by a URL Link, and the window which the Template is shown in I want to be maximized automatically. Is there a URL commad I can use?
Failing that do I have to maybe put some Java Script or something similar in the HTML of each Web Template? If so, does anybody have an example they would be so kind as to let me have?
Many Thanks in advance
Simon

Hi,
You can use this javascript to maximize the window.
<script type="text/javascript">
var scr_w;
var scr_h;
scr_w = screen.width;
scr_h = screen.height;
window.moveTo(0,0);
window.resizeTo(scr_w, scr_h);
</script>
You only have to copy the code into your templates.
regards,
Alex
PS: feel free to assign some points

Similar Messages

  • How to get New Window without Variable Entry screen from one Web Template?

    Hi Experts,
    I've a WebTemplate contains 2 Graphs. Each graph have one Zoom Button. My requirement is, When I click the Zoom button that corresponding Grpah should display in a New Window. I've finished all the above requirements.
    Since, I have One Mandatory field, I'm always getting the Variable Screen in a New Window while I clik the Zoom Button.
    I need to avoid this "Rerun" feature in New Window.
    Kindly suggest me how to achieve this..
    Full points will be given.
    Thanks
    Jay Jay

    Hi Thanks.
    Even I'm also trying for the same scenario only.
    Actually I have 2 Web Templates.
    In First Template I have 2 Charts and 2 Zoom buttons for each.
    While I running the 1 Template, i give an Value in the  Variable screen of First Web Template.
    If I click a Zoom button of 1st Chart, It should open a New window with the Second Web Template. And Second Web Template should automatically take a First Template's Variable screen Values.
    (Since, U have an Mandatory field in Second Template u were not faced this requirment.)
    Even I tried with "TRANSFER_STATE". It is not taking the First Variable Screen's input values.
    Kindly help me in this issue.
    Thanks in advance.

  • How to achieve New Window requirement from One Web Template?

    Hi Experts,
    I've a WebTemplate contains 2 Graphs. Each graph have one Zoom Button. My requirement is, When I click the Zoom button that corresponding Grpah should display in a New Window. I've finished all the above requirements.
    Since, I have One Mandatory field, I'm always getting the Variable Screen in a New Window while I clik the Zoom Button.
    I need to avoid this "Rerun" feature in New Window.
    Kindly suggest me how to achieve this..
    Full points will be given.
    Thanks
    Jay Jay

    Hi Thanks.
    Even I'm also trying for the same scenario only.
    Actually I have 2 Web Templates.
    In First Template I have 2 Charts and 2 Zoom buttons for each.
    While I running the 1 Template, i give an Value in the  Variable screen of First Web Template.
    If I click a Zoom button of 1st Chart, It should open a New window with the Second Web Template. And Second Web Template should automatically take a First Template's Variable screen Values.
    (Since, U have an Mandatory field in Second Template u were not faced this requirment.)
    Even I tried with "TRANSFER_STATE". It is not taking the First Variable Screen's input values.
    Kindly help me in this issue.
    Thanks in advance.

  • What is Display in Window of RRI in Web Template

    Hi All,
      I have searched in SDN and read lot of documents and SAP Help to know, how to use one option in RRI, but ended up with no success. which is the reason I am posting my query here, pls throw your lights ;-).
    There are 4 options available in web template settings to set up jump reports. I would like to know how can I use option 'Display in Window'.
    Remaining options are
    1. Frame Name - This displays the jump report in the specified frame, for this we can use HTML code.
    2. No Entry (Blank) - This is the default setting, which always opens the jump report in New Window.
    3._self - Using this value, the jump report will open in the same window, by overwriting the existing report.
    I will be very thankful, if someone can tell, how to use 'Display in Window' option? I mean what HTML command I need to use or is there any predefined word which I can use.
    Your answers are much appreciated.
    Regards
    Charan.

    In fact having checked out a number of videos on Lynda.com, Illustrator is what I want. It was never about html - that already forms part of what I am already doing. As to mailchimp - I know all about that and don't like it and don't need it  - the method I currently use from Dreamweaver to email works great.
    The question was always about graphics and text for the web and a desire to have the same layout and quality as InDesign - I probably just didn't ask the right question.
    Thanks as always.

  • Use web template to open a report from a menu

    Hi all,
    I have created one web template where I have a role menu that shows all reports that are available to the user. When the user clicks on one of these reports, the report displays in a new window. So far everything is working fine.
    But, I have also created another web template and I want the report that is displayed in a new window to use this template. How do I do this? I have been looking at the settings for the Role menu, but can't find anywhere to put the template name...
    Anyone have any ideas?
    Thanks and regards,
    Tove-Mette

    Hello,
    yes you can use the publish function, but only to add new entries.
    In Transaction pfcg (not in WAD or BEx) in SAP GUI and then select your role at the tab "Menu" you can add/remove/maintain/organize your menu.
    just click on a menu entry and take sth.like edit.
    Then you will see a link if you didn#t find the string &template_id= the system will take the standard template (Tranaction spro), and you can easily add or change this parameter.
    Hope that helps, please ask if you need further explanation.
    Regards
    Marcus

  • Error on page from BW 3.5's default web template

    Hi Guru's,
    We have a problem in our new BWD BW 3.5 environment where we are getting the "error on page" error from SAP-generated code and we aren’t sure why.
    On our old BWT BW 3.0b platform, we have been using a modified version of the 0query_template called Z_QUERY_TEMPLATE. We did a system copy of BWT to BWD, our new BW 3.5 platform. At that point in time we would see our old BW 3.5 default template for queries that we ran. We wanted to see what the new default web template looked like in BW 3.5. We found where we could remove the Z_QUERY_TEMPLATE from the Web Adhoc Analysis web template setting so we could see the new features of the BW 3.5 default BEx query designer template instead of our old BW 3.0b default template.
    Now when we run a query through the BW 3.5 query designer on BWD, we are using BW3.5’s default template. The prompt web page is fine. No errors on page messages.
    However, the initial presentation of the query results displays okay, but shows "error on page" in the message bar at the bottom of the displayed page. As soon as we do any navigation on those query results that error on page goes away. If we navigate back to the initial presentation, all is still okay. If we use the context menu to go back to start, we again get the error on page.
    This error on page does not happen in BQ2 (our new BW 3.5 QA environment copied from our old BW 3.0b QA environment where we had not yet changed the default BEx Query Designer template to be Z_QUERY_TEMPLATE). We have tried several queries and in each case, we get errors on page in BWD, but not in BQ2. We used ultraedit to compare the view source output from the equivalent web pages from BWD and BQ2 and the only difference is the validity date of the data. There are no other differences in the javascript code generated by BW in the two platforms.
    The statement that Internet Explorer is saying is the problem is the same in each of the cases we have checked and that is:
    SAPBWSetFocus(anchor);
    Error: Object expected
    Code: 0
    It’s in the set_tab() function.
    <script type="text/javascript">
    <!--
    /* Calls the online Documentation via technical QueryName */
    function callquerydoc() {
      var docustart= '/sap/bw/doc/meta/fldmeta/default?tlogo=elem&objnm=' + document.getElementById('querydoc').innerHTML;
      SAPBWOpenWindow(docustart,'Documentation',800,600);
    /* Sets the displayed tab */
    /* Check, which items of the Array check_items  is not hidden.
        Change the style of the HTML tag with id Group+Area/Group+Link */
    function set_tab() {
         if (!(navigator.appVersion.substring(0,1) == '4' && navigator.appName == 'Netscape')) {
           var check_items = new Array('GR1Toolbar','GR2Chart','GR3TECommon','GR4Broadcaster');
        for (i=0;i<check_items.length;i++) {
                        hidden = true;
                       prop = SAPBWGetItemProp(check_items<i>);
                       if (prop != null){
                                           for(j=1;j<prop.length;j++){
                                                      if (prop[j][0] == "HIDDEN")  hidden = (prop[j][1] == "X");
                   anchor_item = document.getElementById(check_items<i>.substring(0,3)+'Area').firstChild;
                    if (hidden) {
                        document.getElementById(check_items<i>.substring(0,3)+'Area').className='SAPBEXTbsTab';
                        anchor_item.title = 'Inactive Tab Page:' + ' ' + anchor_item.title; 
                    else {
                        document.getElementById(check_items<i>.substring(0,3)+'Area').className='SAPBEXTbsTabSel';
                        anchor_item.title = 'Active Tab Page:' +' ' + anchor_item.title; 
              } /* if */
          }   /* for */
        /* Set the BexHeader invisible when running as IView */
            if (SAPBWGetProperty('RUNS_AS_IVIEW')) {
                               document.getElementById('bexheader').style.visibility='hidden';
                               document.getElementById('bexheader').style.display='none';
              anchor = window.location.hash.substring(1,50);
              <b>SAPBWSetFocus(anchor);</b>
      }  /*function */
    -->
    </script>
    Because the error goes away as soon as we navigate I’m thinking some object isn’t being created or initialized, but since the view source code of these pages are identical I’m wondering if there is some code that should be executing before this page that is not happening in BWD for some reason.
    Any help will be much appreciated.
    Thanks,
    Jeri

    Heike,
    Thanks for your help in this. BWD and BQ2 are both on the same SP. SAP_BW release 350 level 10 (SAPKW35010) with BI_CONT at release 352 level 5 (SAPKIBIEP5).
    I invalidated the server cache following your instructions and tried again, but am still having the same problem in BWD. The initial display gets the "Done, but with errors on page" message until any navigation is done.
    I am using IE 6.0.2900.2180.xpsp_sp2_rtm.040803-2158 when I execute queries on both BWD and BQ2.
    Please, do you have any other suggestions?
    Thanks,
    Jeri

  • Excel printing of web template

    Hi,
    I am in version 3.5. I tried to implement SDN How-To paper "How to Web printing Quickstart in SAP Netweaver ;04". Applied transports, and used ZWT_ADHOC web template to launch a report.
    When i try "Excel Printing", it doesn create bookmark URL, but nothing happens afterwards
    http://<server>/sap/bw/BEx?SAP-LANGUAGE=E&BOOKMARK_ID=48Z3ROGD8LEWRSC25UL6L35L2&device_class=ZXLS&format=XLS
    Anybody can help on this pls.
    Rgds
    KT

    Hi,
    Any inputs on this...
    If i copy the URL and launch in a new IE window, it works. But i cant able to launch from the report web template.. Any ideas..
    Rgds
    KT

  • The Web template does not exist in the master system

    We are using a Web Template (ZPORTAL) as an access point to other web templates and to 0ANALYZER. We recieve an abort when the use logs on for the first time and is presented with the password change window. When they change the password and click ok, the following message is recieved: The Web template "ZPORTAL=" does not exist in the master system. After the abort, they go back to the ZPORTAL again in which case no abort occurs and they are able to navigate the web template. This only happens when they have to change their password. Has anyone else seen this?

    Make sure the template exists in the system which is configured in the iView property.
    There should be a one to one mapping between BI and EP systems.
    You cannot connect 2 BI system to one EP system and configure BI JAVA

  • 500 Internal server error in web template  for specific users

    Hi We have issue with Web templates for some of the users giving error  "500 internal Server Error", all other users able to run the same report.
    We have authorization for the user and following variable which will give target currency selection in variable screen.
    SAP BI Environment
    BI Java : Release: 7 - Patch level: 0000000107 - Description: BI Web Applications Java - Additional info:  - Production mode: true  BI JAVA SPS : 7, Patch : 0
    BI ABAP : Release: 701 - Patch level: 0007 - Description: SAP Business Warehouse (PBICLNT005) - Additional info:  - Production mode: true
    Java Virtual Machine : Java HotSpot(TM) 64-Bit Server VM - Sun Microsystems Inc. - 1.4.2_28-b03
    Operating System :  Windows 2003 - amd64 - 5.2
    Error Message :
    ERROR: Specify a value for variable Select Target Currency
    ERROR: Specify a value for variable Select Target Currency
    Root Cause :
    The initial exception that caused the request to fail was:
    com.sap.ip.bi.bics.dataaccess.resource.impl.bi.exceptions.BicsResourceBwRuntimeException:
    at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.initializeState(ProviderSelectionObject.java:932)
    at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.queryview.ProviderQueryView.initializeState(ProviderQueryView.java:109)
    at com.sap.ip.bi.bics.dataaccess.resource.impl.bi.selector.ProviderSelectionObject.hasDefaultView(ProviderSelectionObject.java:1462)
    at com.sap.ip.bi.bics.dataaccess.consumer.impl.selector.SelectionObject.initializeState(SelectionObject.java:516)
    at com.sap.ip.bi.bics.dataaccess.consumer.impl.queryview.QueryView.initializeState(QueryView.java:198)
    please let me know if any of you guys had this kind of problem.

    SLD is not down its in active , I checked SLD url and Technical system also
    Its in active , but when the problem is happend they done restart 
    but many times its happening every time restart is not preferrable ,upto that one is production system.
    SLD is in active , but why the JCO'S ARE DISABLE under content Admin
    where we can search the SLD user , we checked in SU01 but the user didn't exist there
    If user is lock in the sense after the restart again it's working fine
        I want to know the Root cause , why bcz it's simultaniously happend.
    Regards,
    SONY

  • Error BRAIN 276 when you execute a Web template in BI Admin Cockpit in  EP

    Hi Experts,
    I have Installed BI Administration Business Packages in Portal and configured necessary steps in BI System.I have assigned the role in Portal and BI System.
    I tried executing one iview...and was getting the following error:
    Error loading template 0TPLI_0TCT_MCA1_Q0143
    and when i click on the above error ..i was getting another window which shows below message:
    Technical Information for Message:
    Error loading template 0TPLI_0TCT_MCA1_Q0143
      Notification Number BRAIN 276
    I was suggested by SAP Note 1014795 to do the below changes :
    TEMPLATE_ID=0TPLI_0TCT_MCA1_Q0143  To TEMPLATE=0TPLI_0TCT_MCA1_Q0143
    Please note that the above note says to replace  TEMPLATE_ID  by TEMPLATE in the property of "BEX Web application Query String" of the IView in Portal
    and also please note that i have Version=SAP BW 2.X/3.X in Iview Property .
    After having made the above changes iam getting the BEX Web Analyzer...where i have the options to open a query ( from all the infoareas of BI System).and then i will select the query (0TCT_MCA1_Q0143) and am executing the same to display the data.
    i know that this Is not the correct way of executing the iview for BI Admin Cockpit.
    Can anyone help me how to execute the Web Template automatically when the user clicks on IView ?
    we have all the above Web Templates Corresponding to BI admin cockpit in active mode in when checked from WAD 3.X , but when when i search for the above web templates in WAD 7.0 i do not find them
    Is there anything that i need to activate in BI System ? Or in Portal System?
    Or do i have to execute the above web templates in  BI WAD before linking them to portal iviews?
    Do we have to Migrate the Web Templates from  BW 3.5 to BI 7.O?
    Thanks
    P.Navakanth
    -When i try to execute the web templates

    We are having this exact same issue - example of one of the errors:: Error loading template 0TPLI_0TCT_MCA1_Q0114.  We get this error for all MCA1 templates.  Basis says they've deployed latest BP BI Administration 1.0 with Patch 2 (BPBIADMINOSP_2-1000342B.SCA).The info refers to BI Admin Cockpit, Business Package for BI Administration,
    BP BI ADMINISTRATION 1.0 ,BI Usage Statistics,0TCT_CA1.
    I see from documentationthat the multicube 0TCT_MCA1 is from 0TCT_CA1 and 0TCT_VCA1
    From the documentation in http://help.sap.com/saphelp_nw70/helpdata/en/26/9ef41d14dc424183b4807538be8e1e/frameset.htm, under web templates,
    1) How come there are more than 1 template with same name and Query with same names- for example:
    Web Template: Long-Term Trends in Total Runtimes of BI Applications
    WebTemplate: 0TPLI_0TCT_MC01_Q0114
    This Web template is the container for the query 0TCT_MC01_Q0114 and is designed to provide detailed analyses.
    AND
    Web Template: Long-Term Trends in Total Runtimes of BI Applications
    WebTemplate: 0TPLI_0TCT_MCA1_Q0114
    This Web template is the container for the query 0TCT_MCA1_Q0114 and is used for detailed analyses
    2) How come the delivered process chains load other technical content, but does not load 0TCT_CA1
    Basis re-deployed the bi admin cockpit contents, but still have error in loading template 0TPLI_0TCT_MCA1_Q0114.
    3) Do we need to do any of the following?
    SE38 u2013 run RSTCC_ACTIVATEADMINCOCKPIT_NEW
    RSA1 - bi content, install & transport
    Check role SAP_BI_BW_ADMINSTRATOR
    Se38 u2013 rs_template_maintain for active templates u2013 look for MCA1 templated
    Tr code RSDDSTAT
    Activate Virtual providers
    Anything else?
    Thanks!

  • Change folders in save as in web template

    Hi,
    Is it possible to change the default folders in the save as dialog in a web template. We would like to add our custom defined KM folders and not only use the predefinied once.
    Regards
    Mattias

    Yes, Navigation Pane, that's the one I meant.
    It's checked but it's not there? Does it help at all to uncheck it and then go back in and turn it back on?
    Or is it just mostly useless. It is annoying that Windows 7 doesn't synchronize the Navigation pane with the file list.
    What I generally do is click the folder name in the top address bar to navigate up to a level or two. Then I can drill back down to where I need to go using the right pane. Does that work for you?

  • Bi call document browser from web template wad 7.0

    Hi,
    Is it possible to customize the document browser dialog when calling via command "OPEN_DIALOG_DLG_DOC_BROWSER" from web template.
    The iframe within the browser has a fixed size, so when opening a document the iframe is always too small and does not change the size, also when changing the size of the document browser window.
    Is there a possibility opening the documents in a new window instead of opening in the iframe?
    From WAD I have not found any possibility solving this. Maybe it's possible to change the web dynpro. Does anybody know the web dynpro / component for the document browser?
    Regards,
    René

    You can only open 2004S Web Templates in 2004S EP. R u using EP to display ur web templates?
    Check this blog for more details:
    Rolling out the New SAP NetWeaver 2004s BI Frontend Tools
    KJ!!!

  • Opening a URL from a button within a Web Template

    Hi All,
    I have a requirement to provide report specific help from within a standard web template. Assuming that I had a list of help URLs for each report and an intermediary way to redirect to those URL based upon a unique id such as the reports technical name, is it possible to create a generic button from within a web template that would dynamically create a URL based on the reports technical name? I.e., http://www.example.com/page.html?ZGTRPTNME
    To date I have only used the Action "Command via Command Wizard" from within the parameters of the button Web Item. However, I did notice that a Script Function was provided. Has any used this functionality and is it possible to create a URL with the technical name of the report?

    Rekesh,
    I had a look at the document you linked however what I need to find out is how I can place the technical name (dynamically) within the web template URL (i.e., this needs to work for multiple projects over many reports that all use the same global web template).
    It's actually very easy opening a new window via javascript however finding the varible for the report technical name remains unclear. At present I am looking at command URL's. The only other option is that I use a java script substring command to pull the report technical name from the URL (although this not as clean as using command URL's).
    EDIT: Found this document: http://help.sap.com/saphelp_nw70ehp1/helpdata/en/43/ef9a6c13f2025be10000000a1553f7/content.htm
    Appears that the command: sapbi_page.GetMainTemplateName(); will give me the technical name of the webtemplate although I'm finding it hard to find the command for getting the technical name of the current report.
    Edited by: Paul Thomson on Feb 18, 2010 4:00 PM

  • Link in a Web Template as a Jump Target?

    Hi,
    I have a requirement to jump from a web template to a query using a link on the page. We're currently migrating from v3.5 to v7.
    In 3.5, we used javascript to build the link as follows:
    function openJumpTarget() {
        url = SAP_BW_URL_Get();
        url += "&DATA_PROVIDER=DATAPROVIDER_3&CMD=RRI&RRI_RECEIVER=CUBE0003&Stylesheet=/sap/bw/Mime/BEx/StyleSheets/Streamline_BWReports.css";
        window.open(url,"_blank");
    I'm using the Link web item, implementing the SCRIPT above, yet it doesn't seem to work. Any ideas what the issue is, or if there is a better way to build the link?
    Thanks
    Wayne

    Hi,
    Well one options is creating another web template for the target query. Use a Link item in the sender template or a button group, set commands for SET_WEBTEMPLATE under commands for Web Templates. Change Web Temp will ony change the Template and not the Analysis item.
    But using SET_WEBTEMPLATE, i dont think the desire result would be obtained, because it sets a new template. So, the Analysis item in the new template will be displayed as a whole and the concept of RRI would be missing. It will not work as RRI.
    You can use RSBBS. Give the sender as your Web Template and the Receiver as Query. So when you right click on the required field in Sender (Web Temp o/p), it would open up a window with the Receiver output(Query o/p).
    Pls try this. It might help.

  • BI admin cockpit - how to install the BI content Web templates

    Hi Gurus,
    We have installed BI admin cockpit. we have also installed Bex required queries. now I wanted to install all web templates (SAP format 3.x) in BI content. after installing I checked WAD but I cannot see them their also when I go to metadata repository I cannot see templates, I only see this message:
    "Object '0QUERY_TEMPLATE' (0QUERY_TEMPLATE) of type 'Web Template (Format SAP BW 3.x)' is not available in version 'A'"
    Is it maybe we are on SAP 7.01, what would be the steps to install the web templates successfully?
    thank you all for your help and have a nice day.
    thank you

    Hi Stefanie ,
    If you have installed Admincockpit , then the corresponding web templates should be available in the system . 
    1. Anyways if the web-templates are missing , then try to run the admincockpit installation once more using the
    tcode - RSTCC_INST_BIAC and check whether you get the webtempaltes in 'A' version or not .
    2. If the webtemplates are still not available , then you can install them manually in tcode - RSORBCT.
    a> Go to tcode - RSORBCT.
    b> Locate the field Query Elements . Drill down to Query and then select "Select Objects".
    c> In the new pop-up window , locate the  "Business Information Warehouse" and then drill down to "BI Statistics".
    d> You can find all the Statistics infoproviders under "BI Statistics" and the queries build upon them .
    e> Select all the queries for a particular infoprovider and then select transfer .
    f> After the required queries have been transferred to the third window , select the option 'DataFlow Before and AFterwards' under the Grouping Tab .
    g> After the grouping has been done , you can check that the web templates associated with the query have been collected .
    h> Then choose install .
    i> Repeat these steps for all the Statistics infoproviders .
    j> This will make all the statistics webtemplates available.
    k> As the Statistics webtemplates are 3.x , you can execute them in SE38 report - RS_TEMPLATE_MAINTAIN for testing .
    Regards,
    Lokesh

Maybe you are looking for

  • Sales Report for US Sales and Use tax

    Hi, I'm looking for t-code to extract detailed sales report having Gross sales, Exempt sales , Ship to state, Ship to County\ City,  Sales Tax collected. If I'm getting this report i can verify what my sales tax software is updating. When i extract 

  • BAPI_CONTRACT_CREATE : Agreement date

    Hi, I'm using this fm in order to create contract. I filled BAPI parameter like this: Header-creat_date = 2008.07.20 It should normally fill the agreement date in ME31K but when I take a look after executing BAPI, this date is always sy-datum. Can an

  • Pixelated lines across images from the web module in LR

    I use Lightroom 5.2 and am having problems when exporting via the Web module. When I use the basic LR HTML template or plug-ins like Juicebox and TTG, there are pixelted lines acorss some (but not all) of the images. This has started to happen in the

  • 'Save for Web & Devices' selects multiple artboards - AI CS4

    I have a simple, two-artboard document (like the old FreeHand days!) but, when I go to 'Save for Web & Devices' to optimise it, the graphic from both pages appear as one optimised image. How can I get it to select only the artboard I am viewing? Many

  • Tracking down which unindexed foreign keys are the biggets problem

    I joined a new project recently. I checked prod and our biggest bottleneck is unindexed foreign keys. It is high enough that I can see that it is causing problems. So I ran a query and got a list of all the unindexed foreign keys. Unfortunately there