CMD=SAVE_VIEW in WAD

Hi
Can anyone give me the syntax for using the command in WAD template?
I can't seem to make it work.
Thanks
Shlomi

Check the template 0ANALYZER, this is used in that template.

Similar Messages

  • Unnable to create SAVE_VIEW button in WAD vers 7.01

    Hi All
    I'm trying to create a button "Save View" with a command SAVE_VIEW in my WAD application. I would like that it works in the same way like in 3.5 Version (standard AdHoc Web Template). But this function doesn't work in my BI version 7.01 SP6.
    For parameters to the command SAVE_VIEW in my WAD I have to enter the technical name of an (existing!) query view and a description (?!). Actually I would like that each user can decide yourself how the view will be named and save it only localy in their favorits. But no "save"-dialog appears when pressing the created button Save View in Web.
    What are the tricks for giving a possibility for the enduser to save an own local view of a running Web report?
    Thanks,
    Elvira

    Hi
    What parts of the code are relevant?  I need one button that represents the open view selection?
    Thanks
    DV

  • How to Refresh a WAD Template

    Hi...i have a WAD template wih 6 queries on it....i want to know how to refresh all the template ...or i have to refresh every query one by one...i try to put a command button but it appears inactive and i dont konw how to actiavte it...
    Regards

    Hi,
    Please try with CMD: REFRESH_DATA. You can find this under 'Commands for Planning Application'.
    Otherwise, you can take Action as : SCRIPT_FUNCTION and give "javascript:location.reload(true)" under Script Function.
    Regards,
    -Vj

  • How to filter check box values in WAD.

    Hi Gurus,
    In my WAD i am having check box and the object name is defined as 0SEM_CGCOMP, it is a master data info object and having values like CG1,CG2,CG3....CG10. But i want to restrict the values to CG1,CG2,CG3,CG4 only. how can i filter the values?
    </object>
    </td>
              <td class="SAPBEXHLevel2"><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="CKBOX_CONS"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_CHECBOX"/>
             <param name="DATA_PROVIDER" value="DP_1"/>
             <param name="GENERATE_CAPTION" value=""/>
             <param name="BORDER_STYLE" value="NO_BORDER"/>
             <param name="WIDTH" value="240"/>
             <param name="GENERATE_LINKS" value=""/>
             <param name="IOBJNM" value="0SEM_CGCOMP"/>
             <param name="SHOW_LABEL" value=""/>
             <param name="TARGET_DATA_PROVIDER_1" value="DP_1"/>
             <param name="HORIZONTAL_NUMBER" value="5"/>
             ITEM:            CKBOX_CONS
    </object></td>
    Thanks
    Raju.k

    Hi Raju,
    Try this.  Create another dataprovider within your web template?  This new dataprovider refers to a similar query, but this query definition should restrict values CG1, CG2, CG3 and CG4.  Assign this dataprovider to your checkbox.  Then make sure the properties of the checkbox affect all other dataproviders.
    Also, if this list is static, you could create an HTML checkbox object coding the options (cg1, cg2, cg3, and cg4) programmatically.  Then add javascript code to produce the proper filtering based on the users' selections.
    Let me know what happens.
    Larry

  • How to set the default selection in a WAD dropdown

    Hi All
    We are on BW 3.5  I have the following dropdown box in a WAD template. Our users want by default when the query starts only to display Plant = 7700.
    Please can you kindly share ideas how I can do this.
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="DROPDOWNBOX_2"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_FILTER_DDOWN"/>
             <param name="DATA_PROVIDER" value="DP_1"/>
             <param name="BORDER_STYLE" value="BORDER"/>
             <param name="WIDTH" value="200"/>
             <param name="CAPTION" value="Plant"/>
             <param name="IOBJNM" value="0PLANT"/>
             <param name="BOOKED_VALUES" value="Q"/>
             <param name="SHOW_LABEL" value=""/>
             ITEM:            DROPDOWNBOX_2
    </object>
    Thanks
    Karen

    Hi Karen,
    What is the type of data you are feeding to the drop down ? Is it a standard fixed list of items or a query ? From what i see you would be using a query as the dataprovider for the dropdown. In such a case, in your query, restrict Plant with value 7700 in the default values section of the query. This should do the trick that when you run the template, the dropdown would show 7700 by default.
    Hope this helps.
    Regards
    Snehith.

  • Issue with Bookmark functionality (using java script) in WAD.

    Hi,
    I am working on a WAD report and instead of using the default bookmark functionality within WAD, i use a java code to get the bookmark url in a new window.
    But the problem is the java code is not working consistently at all times.
    Issue1: If i click on the bookmark button on the report for the first time, it will open up a new window with the bookmark link. But if i close that new bookmark url window and again click on the bookmark button, a new window is opened which displays the template corresponding to the bookmarkk generated earlier (the report in its executed form), instaed of the bookmark url.
    Can anyone help me to correct this issue. At any time i click the bookmark button i want to get the bookmark url opened in the new window, instead of the template.
    Issue2: The bookmark is not at all working at particular times. It will show error message at the bottom the page. What I am  thinking is, this is because of the misalignment of the java code when you sava the WAD report. The java code is so sensitive that it gets realigned each time you save the WAD report. But sometimes even without making any changes also it is not working.
    If anyone has any suggestion or inputs for solving these issues pleese help ASAP. The java code i used is given below.
    function createBookmark()
    var bwUrl="<SAP_BW_URL CMD='BOOKMARK'>";
    child1=window.open(bwUrl,'win1','width=1,height=1,alwaysLowered=0');
    window.focus();
    //Ensure that BW completed generation of the bookmark url.
    now = new Date();
    startTime = now.getTime();
    delayTime = 3000;
    //Set timeout to 3 seconds
    waitTime = startTime;
    //check if the bookmark url is ready and timeout after the specified time (delayTime).
    while (waitTime<(startTime+delayTime))
    now = new Date();
    waitTime = now.getTime();
    //BW identifies a bookmark using BOOKMARK_ID. The presence of this string
    //in the url is used to identify creation of the bookmark. If bookmark
    //is created on the server, proceed to the next step.
    if (child1.location.href.indexOf("BOOKMARK_ID") >0) 
    break;
    bookmark_url = escape(child1.location.href);
    bookmark_url = bookmark_url.replace(/%3A/g, ":");
    bookmark_url = bookmark_url.replace(/%3F/g, "?");
    bookmark_url = bookmark_url.replace(/%26/g, "&");
    bookmark_url = bookmark_url.replace(/%3D/g, "=");
    var base_url = window.location+"";
    var base_index = base_url.indexOf("?");
    base_index = base_index + 1;
    var book_link = base_url.substring(0,base_index);
    if (book_link.indexOf("sapdbi")!=-1)
    book_link = "http://dep.xxx.com/sso/index.jsp?target=BW&";
    if (book_link.indexOf("sapqbia1")!=-1)
    book_link = "http://qep.xxx.com/sso/index.jsp?target=BW&";
    if (book_link.indexOf("sapqbia2")!=-1)
    book_link = "http://qep.xxx.com/sso/index.jsp?target=BW&";
    if (book_link.indexOf("sappbia1")!=-1)
    book_link = "https://portal.xxx.com/sso/index.jsp?target=BW&";
    if (book_link.indexOf("sappbia2")!=-1)
    book_link = "https://portal.xxx.com/sso/index.jsp?target=BW&";
    if (book_link.indexOf("sapqbi")!=-1)
    book_link = "http://qep.xxx.com/sso/index.jsp?target=BW&";
    if (book_link.indexOf("sappbi")!=-1)
    book_link = "https://portal.xxx.com/sso/index.jsp?target=BW&";
    var book_index = bookmark_url.indexOf("?");
    book_index =   book_index +   1; 
    var book_length = bookmark_url.length;
    var temp_link= bookmark_url.substring(book_index,book_length);
    portal_bwUrl = book_link+temp_link;
    child1.close();
    // The below two lines are not necessary, it is left for reference.
    // https://portal.xxx.com/sso/index.jsp?target=BW&SAP-               //LANGUAGE=EN&language=EN&cmd=LDOC&TEMPLATE_ID=IPUWT_FRAME
    bookmark_window=window.open("",'_blank','width=1000px,height=30px,status=0');
    bookmark_window.moveTo(50,500);
    var body_tag = '<body leftmargin=3 topmargin=3 bgcolor=#cad4e3 class=&amp;SAPBEXTbsBdyEdg&amp;>';
    var body_text ='<p><font face=Arial size=2>
    This bookmark can be copied and pasted to Internet Explorer-Favourites, mail or other documents:
    </p>';
    bookmark_window.document.write('<title name="SAP_BW_TITLE_!IID_171">Bookmark</title>',body_text, body_tag, portal_bwUrl, '</body>');
    Thanks in Advance.

    Hi Danny
    Thanks for the update
    Hi Danny
      Thanks for the update.
      I can't find any code in the attachment.Its a Web Page.
      Rightclick on webpage and View Source
      Then i can find Code.
      Still it is not working
    Issues: Which object i have to replace with the URL in the code
    Value = 'Weekly'
    or
    fun(WEEKLY REPORT)
    and
    when i paste that code in the XHTML tab of template and tried to save it,The scripted is changed
    Please update how to proceed
    Thanks

  • Need Calendar Year  as a Variable in the Title of a Table using WAD 3.5

    I am using Web Application Designer 3.5 for the first time.
    I am modifying a template that has the following table object in it:
    </object><object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TABLE_4"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_5"/>
             <param name="CAPTION" value="Employee Information"/>
             <param name="WIDTH" value="966"/>
             ITEM:            TABLE_4
    </object></P>
    The Caption of the table is currently set to "Employee Information".  I need the Caption of the table to say "2007 Employee Information" where the year is the previous year.  In other words, if the web application is executed in 2008, the title would say "2007 Employee Information".  If the web application is executed in 2009, the tilte would say "2008 Employee Information".
    I am very new to BW and WAD so a detailed explanation would be greatly appreciated.

    Goto the Query Description and click on the Text variable icon.
    Create a text variable of processing type as customer exit which populates the previous year value.
    Use this text variabkle along with the Query Description. So your description will look something like &TXT_VAR& EMPLOYEE INFORMATION
    Attach this query as dataprovider to the table item in WAD and you can see the table caption as the previous value followed by Employee Information.
    Hope this helps.

  • Problem with variable in wad

    Hello Guru's
    i had a problem in WAD. we have report in which i have to create a variable for positing date so that the end user can give posting date and execute the report for that particular week. if i execute the BEX report it's working fine.where as if i execute the report in wad. i couldn't see the variable for posting date. it gives output directly. may i know what the problem.
    Thanks
    rad

    For calling up the variable screen, in your template you can use
    <SAP_BW_URL CMD='PROCESS_VARIABLES' SUBCMD='VARIABLE_SCREEN'>
    This command allows you to call up the variables screen again for the current page.
    Also, as Ajay mentioned you have to change the variable options to 'Mandatory: Initial value not allowed'.
    Hope this helps.
    Regards
    Hari

  • How to print all the pages in wad

    HI i am having a report with 3000 records when opened in wad, but when we print the Report, it is giving us records(60) on only first page, how do we print all the 3000 records from all the pages by clciking on print only once.
    Thank You,
    Kris.

    i am not able to print any pages after inserting the code, am i placing the code in the right place.
    <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_2"/>
             <param name="DATA_PROVIDER_ID" value=""/>
             DATA_PROVIDER:             DATAPROVIDER_2
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_DATA_PROVIDER"/>
             <param name="NAME" value="DATAPROVIDER_1"/>
             <param name="QUERY" value="ZPARAMTEST"/>
             <param name="INFOCUBE" value="ZEMPPRM"/>
             DATA_PROVIDER:             DATAPROVIDER_1
    </object>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="SET_PROPERTIES"/>
             <param name="TEMPLATE_ID" value="ZEMPPARM"/>
             TEMPLATE PROPERTIES
    </object>
    <td>
    <table class="SAPBEXBtnStdBorder" cellspacing="0" cellpadding="0" border="0"><tr><td nowrap>
    <table border="0" cellpadding="0" cellspacing="1"><tr><td nowrap class="SAPBEXBtnStdIe4">
    <A class=SAPBEXBtnStd title="Print via Web Button" href="<SAP_BW_URL cmd="PROCESS_HELP_WINDOW" help_service="ZPRINTING" item="GR1Table">" target=_blank><nobr> Print</nobr> </A>
    </td></tr></table>
    </td></tr></table>
    </td>
    <td width="100%">  </td>
    </tr></table>
    <HEAD>
    <META NAME="GENERATOR" Content="Microsoft DHTML Editing Control">
    <TITLE>BW Web Application</TITLE>
          <link href="/sap/bw/Mime/BEx/StyleSheets/BWReports.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="EMPLOYEE_TABLE"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_GRID"/>
             <param name="DATA_PROVIDER" value="DATAPROVIDER_1"/>
             <param name="BLOCK_SIZE" value="5"/>
             ITEM:            EMPLOYEE_TABLE
    </object></P>
    </BODY>
    </HTML>

  • Save as option in WAD 3.x

    Hi All,
    I am using WAD 3.x(customer request), I want to download the file to Excel(or .pdf format).  Is there any standard template to export the file.
    Thanks and Regards,
    Sheeba

    In WAD 3.5 I find this from 0ADHOC_TABLE:
    <!-- Display Export Excel--->
    <td>
    <table class="SAPBEXBtnStdBorder" cellspacing="0" cellpadding="0" border="0"><tr><td nowrap>
    <table border="0" cellpadding="0" cellspacing="1"><tr><td nowrap class="SAPBEXBtnStdIe4">
    <A class=SAPBEXBtnStd  title="<SAP_BW_TEXT program='SAPLRRSV' key='710'> <SAP_BW_TEXT program='SAPLRRSV' key='738'>" href="<SAP_BW_URL CMD='EXPORT' FORMAT='XLS' DATA_PROVIDER='DP'>" ><nobr> <SAP_BW_TEXT program="SAPLRRSV" key="710"></nobr> </A>
    </td></tr></table>
    </td></tr></table>
    </td>
    <td>  </td>
    It will appears as a button "export to xls file".

  • Calling a query ( using a Button or Link) form a WAD application in BW3.5

    Hi,
      I have build a web application using charts, graphs( involving BW3.5 QUERIES, views) using WAD3.5.  I however need a Button or a link( probably command URL) in the application screen,  TO CALL a perticular query or view in a separate window. Can anybody suggest how it could be done... I am using the Query Designer and web application designer for 3.5 version.
    Thanks

    This will do what you need
    in your html section of your WAD, add this code and make sure you create a separate template to open when you click this button.
    <FORM>
    <INPUT onclick="window.location.href='http://YOURSERVERINFORMAATION/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=O2C_KPI_LEAD_TIME_DOC'" type=button value=YOURDEFINTION> </FORM>
    Hope that helps.
    thanks.
    Wond

  • Language settings in Portal for WAD reports

    hI,
    In WAD 3.x when we execute the report in the URL we can see language =EN, (https://inls51556188a:6001/sap/bw/BEx?sap-language=EN&bsplanguage=EN&CMD=LDOC&TEMPLATE_ID=ZLUMM_Q100_TPL01)so even when the user browser settings are in German still the report gets displayed in English where as when the user login in German and  execute the report in WAD 7.0 it displaying the techical names for text data and infoobjects names as there is no text data maintained in German.
    Is there a way to fix the language in the iView of the WebTemplates directly in the Portal.If so how can this be done?
    Thanks ,
    Sany

    HI,
    Now there are two options that you can use to over come this:
    1. If the concern is just about the query related then you can do 1 more thing. In the query designer login- with language german, Open your query, you will see the technical names of the chars and key figures (calculated, restricted and formula, selection's as well), now here u need to maintain the description for each of them in english (i.e. simply type the text in general tab for each of them) and save the query.
    2. There is table for info-object's text manintainece you need to maintaine the description of info-object's used in your report's in english with language key set to German.
    thanks in advance
    regards
    Edited by: venugopal vadlamudi on Jun 27, 2008 8:53 AM

  • How to invoke different WAD Applications from external URLS

    Hi
    We have developed different applications (app1, app2) in WAD using templates and we'd like the following behavior :
    app1 being called from http://www.aaa.com as app1 real url is http://hostname:port/sap/bw/BEx?sap-language=EN&CMD=LDOC&TEMPLATE_ID=XXXX
    app2 being called from http://www.bbb.com as app2 real url is http://hostname:port/sap/bw/BEx?sap-language=EN&CMD=LDOC&TEMPLATE_ID=YYYY
    www.aaa.com and www.bbb.com point of course to the same IP address in the DNS (same host)
    Is there a way to properly configure the ABAP Web App Server to deal with this like Apache does through Virtual Hosts ?
    Thanks a lot for your help.

    In other words, how to develop several applications (BSP, WAD, ...) on the same app server ?
    Each app should have its own URL without a "forward slash something" as follow :
    app1 => http://www.aaa.com
    app2 => http://www.bbb.com
    appn => http://www.zzz.com
    Apache permits it via name-based virtual hosts. It then allows multiple web sites to share on box and one IP address.
    Thanks for your help.

  • Open 0Query_Template in WAD get red error

    Some documentation says we can't open 0Query_Template (with Notepad or some web development too), but we don't know how to locate this 0Query_Template file in Notepad or other web development tool.  Then the only choice left would be to open this 0Query_Template in WAD and then make a copy to a custom z file and then work on the z file.  But when we try to open it in WAD, get the following red error:
    'ITEM_ID' for librarry item or 'ITEM_CLASS' parameter for standard item is missing or broken!
    How to make a copy of this 0Query_Template or where to locate this file that we can edit in Notepad or other web development tool?
    Thanks

    When you open the 0QUERY_TEMPLATE it will generate an error saying:
    “’ITEM_ID’ for library item or ‘ITEM_CLASS’ parameter for standard item is missing”
    To get rid of this error change the mentioned object code (on the HTML tab page) to:
    <i>
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="GR2Chart"/>
             <param name="ITEM_ID" value="0ADHOC_COLUMN_CHART"/>
             <param name="DATA_PROVIDER" value="DP"/>
             <param name="HIDDEN" value="X"/>
             ITEM:            GR2Chart
    </object>
    </i>
    Also, in order to use this query as a standalone template, you would need to delete the following lines which appear right at the top of the template:
    <i>
    <!-- Set the data provider --->
    <!--specialbwcomment<OBJECT>
    <PARAM NAME="OWNER" VALUE="SAP_BW"></PARAM>
    <PARAM NAME="CMD" VALUE="SET_DATA_PROVIDER"></PARAM>
    <PARAM NAME="NAME" VALUE="DP"></PARAM>
    DATA_PROVIDER: DataProvider
    </OBJECT>specialbwcomment-->
    </i>
    The above mentioned code segment is used to inherit the value of the dataprovider from the calling template. But, since we are using this template as a standalone template, we need to delete these lines.
    Now save this as ZQUERY_TEMPLATE and use it for further modifications as required

  • Standard Item List in WAD

    Hi
    We just upgraded to BW 3.5 (Level 11) with Content 3.5.3 (Level 2) and i now wanted to use the new Master Web Item "Web Template". The problem i now have is, that this item is not on the list when starting WAD.
    I checked R3-system.
    Class CL_RSR_WWW_ITEM_TEMPLATE (active, looks good)
    Table RSRRENDERER (entry CL_RSR_WWW_ITEM_TEMPLATE looks good)
    Table RSRRENDERERATR (entries for CL_RSR_WWW_ITEM_TEMPLATE look good)
    What i tried in WAD is to manually code the html-block with refering to this object:
    <object>
             <param name="OWNER" value="SAP_BW"/>
             <param name="CMD" value="GET_ITEM"/>
             <param name="NAME" value="TEMPLATE_1"/>
             <param name="ITEM_CLASS" value="CL_RSR_WWW_ITEM_TEMPLATE"/>
             ITEM: TEMPLATE_1
    </object>
    Changing back to Layout-View shows the preview-icon of this web item. But still, it's not in the list. I also tried to save this coded object which i can see in the layout in a library (context-menu "save in library"). No error-message, but no sign of this object in the newly created library.
    Has anyone an idea, where this Standard Item list is coming from? What is missing?
    The following items new to BW 3.5 are available:
    - Query View Selection
    - Broadcaster
    - Key Figure Overview
    The following items new to BW 3.5 are NOT available:
    - Web Template (as described)
    - Data Provider - Information (XML)
    - Object Catalog of the Web Application (XML)
    Thanks for any hint or help.
    Michael

    there is an OSS note , remember the note number.
    This is what you need to do.
    <b>just switch on the Expert Mode and restart WAD</b>
    <u><b>Note details:</b></u>
    Long text                                                                               
    Symptom                                                                  
    Some Web items do not appear in the item selection of the BW Web         
    Application Designer.                                                    
    Other terms                                                              
    Web Application Designer, renderer, CL_RSR_WWW_ITEM_TEMPLATE,            
    CL_RSR_WWW_ITEM_XML_CATALOG, CL_RSR_WWW_ITEM_XML_QUERYVIEW, object       
    catalog item, XML item, template item, template in template, template    
    name item, data provider XML item                                        
    Reason and Prerequisites                                                 
    You are using BW Front End 3.5.                                          
    Solution                                                                 
    Interactive users:                                                                               
    You can set the "Expert features" checkbox in the settings dialog box.   
    The items are displayed the next time you start the WAD.                                                                               
    Administrators:                                                          
    The ExpertFeatures are stored in the following Registry Key.             
    [HKEY_CURRENT_USER\Software\SAP\BEx\wdbpWPub] "ExpertFeatures"="True"    
    Regards
    Raja

Maybe you are looking for

  • Picking values from an http URL and mapping them to a SOAP receiver

    Hi I have a case, where I need to pick the two values "customernumber" and "pod" from this URL from a HTTP sender adapter https://xxxxx.xxxx.dk/ServiceName/valider?customernumber=&pod=  and place them in a SOAP request in a SOAP receiver adapter. Wha

  • Netra T1 105 Raid

    Is it possible to configure hardware controlled RAID for the Netra T1 105? If not, how is it possible to configure software RAID? Thanks in advance

  • In iTunes 10.4 or 10.5 beta I can't  add artwork

    In iTunes 10.4 or 10.5 beta I can't  add artwork  to ALAC files by pasting or dragging them to the album. Please fix this.

  • Solaris Cluster  - two machines - logical host

    Good morning! I am a complete dummie Solaris Cluster, buuuuuuuuuuuuuuuuuuuut... I need to create a cluster and install an application: I have two V440, with Solaris 10; I need to put the two machines in the cluster; I have CE0 of each of the machines

  • JNDI naming exception: javax.naming.ServiceUnavailableException

    Hi, I am running a standalone version of WLS 6.1 sp4. When I start WLS, it throws this exception: <Mar 19, 2004 2:39:11 PM PST> <Critical> <Log Management> <Unable to contact managed server - med1d2ms01, at d_conitti/10.0.4.81:7301. Domain logfile wi