Filtering dates in Web App Designer

Hiya
I've been trying to find a way to filter my queries so that my sales information is up to a certain date.
I don't want to use a prompt to specify the range since my users do not like prompts. Instead, they want to be able to use a dropdown or radio button within the report to select the month/year. Based on that selection, they want all sales data to be returned up to that selected month/year. I've noticed that the radio button/dropdown list in Web App Designer filters sales data of that particular month/year instead of up to that month/year. Do you guys know if there is any other way of doing this?
I.e.  Users selects October 2005 in the dropdown and the report is filtered to only display data up to october 2005.

This can be done using custom Javascript. You will have to use the BW Web item dropdown box assign cal month and select the option display only values which will render all the possible values with the option tag. Use a Javascript function to read the value the user selects and form the URL with the high and low value you want as filter. The attached How to document has similar kind of scenario.
https://websmp201.sap-ag.de/~sapdownload/011000358700003825382001E/HOWTOMULTIPLESELECTION.DOC
Thanks.

Similar Messages

  • Last Data Update in Visual Composer and Web App Designer

    Hello,
    We want to show the last data update in query result and we used 2
    differents ways to do it: throught Web Application Designer (SP 12) and
    Visual Composer (SP 10).
    In query result of Web Application Designer, the last data update came
    in GMT0 and in visual composer came ok (GMT - 3, that's our time zone).
    This value (ROLLUPTIME) is taken out of the RSMDATASTATE table and this is used in SAPLRSMDATASTATE program, that is called by Web App Designer.
    Why does the difference exist between: Web App Designer and Visual Composer for last data update?
    So, I need more information how the Visual Composer brings the correct value (in our time zone) and Web App Designer in GMT0.
    Best Regards,
    Pablo Moraes

    Hi Mario,
    Yes, i used the same user and the same query to access the information. But, how can i check the mapping from my VC user to the BI user?
    Regards,
    Pablo Moraes

  • Performance of Web Templates Apps that are created in Web App Designer

    I have created a Dashboard using Web App Designer in BI7 SPS 10.
    The Web Template has 12 queries/DataProviders that are used for 12 charts.  Buttons at the top control the view to show 4 Charts Each.   When these buttons are selected, command sequences are executed that Hide and Show containers (each chart has its own container).
    Also, there are 8 Dropdowns which are used to filter all 12 charts.  These Dropdowns are using Posted Values because the requirement is to only show the values that actually exist in the InfoProvider.
    When this template is run in Development where the data is minimal, it is taking 17 seconds to load the page.  When running each query individually, it is taking each query between less than 1 second or at most 1.5 seconds.  Also, the queries have been broadcasted to the OLAP Cache.
    Other approaches that I have tried but have not changed the performance:
    1.  Created this template with Tabs and each template calls a template which contains 4 of the Charts (I believe this is called the “Template in Template” Approach.
    2.  Created 3 templates  that each contain 4 of the Charts.   The Command Sequence “Change Template" is used to switch to another Template (e.g. from “Monthly Trends” to “Top 10” and retain/pass the filters that are already selected in the Dropdowns.  However all of the dataproviders are needed in each template in order to pass the filter values.  Therefore, all 12 queries are executing  when you load the main page.
    I am looking for suggestions on what I could do differently to speed up the performance to get the Dashboard to respond within 10 seconds.
    Thank You.

    Dear Kristen,
    well, one of the things that I do remember, a solution that we provided for a similar scenario, but, not exactly the same. Another difference is that it was in BW 3.5.
    We had few reports that was responding slow. There were reports that was viewed by both sr. managers as well by his team. Sr. Mgr looked only at the high level data while the team looked at the item level data in the same report. So, we provided two links in the same report. Initially it will come up with a static data. To get a detailed data, the user has to click the next link to view item level data.
    Now, how this works is through Reporting Agent. The first static data was provided as a cache(pre-calculated) hence, faster. It comes in just 2 secs. But, when the user needs a item level data, he clicks the lik provided, only in which case, it fetches data from the infoprovider(hybrid mode).
    We will need to schedule periodically, accordingly, to refresh the cache to provide faster data.
    Iam really not sure how far this will help you, but, can spark something( I hope!).
    Thanks

  • Advance Options in Web APP Designer

    Hi,
      Although we have BI for NW04S , we are still using Web APP designer3.5. Using the Drop down box we can have a dropdown based on  a info object ( for example if the report has a charateristics/info object "0CALQUARTER", I can easily build a dropdown which can show all the quarter that the infoprovider has and then user can select that perticular Quaerter or All Querter( or with another drop down for Year). This combination allows the user to see the data for a perticluar( or for all year) and for a perticular quater( or for all quarter in that Year, selected in previous dropdown). What I really want to do a rolling quarter( for example ( would like to show the data based the current and previous 3 quarter based on a drop down, or only current quarter etc).. One way to do this is to have the report using variables replaced by user exit. Is there any other way directly in the web app desiner?
    Thanks
    Arun

    If you are talking about different screens for the associated reports - you could have a user entry variable for quarter and the value for the same can be passed through the URL and you can use the required offsets in the query design..
    Arun

  • Set Disable or Expiry Date for web app item via Edit form

    I have a user that wants to delete a web app item from a secure zone edit form, but they are not the owner of that web app item.  All items in the web app were imported via a csv file and hence do not have a 'submitted by' user id assigned.
    Is it possible to Disable a web app item using a web app Edit form?  or alternatively, is it possible to set the Expiry Date of a web app item using a web app Edit form?
    Thanks
    Dave

    Sorry Brian, but I'm not sure that answers my question.
    Sure, I can create a single web app item for every single client of my customer, manually.
    Sure, I can create and 'allocate' that single web app item to each customer manually.
    I pray the customer doesn't have hundreds of clients. And I would have to teach my customer how to do this convoluted process for every new client.
    But the one thing this doesn't do is answer the question of updating the value of units held.
    It seems the order module remains the closes to what I am looking for in that it allows an equation, and is automatically customer specific.
    However, I am looking for a way to achieve a single daily update by the customer as to the value of the units held by each client. This can be done via the product module - update price. But this does not update existing orders. Exisitng orders are fixed at the price on the day. The customer wants to update the value once, in one place, and have that amend all existing 'orders' to reflect the new total value of units held by each individual client, and to have this show in each client's member area.
    If you can think of a way of doing this in webapps or via the order module, this is what I am looking for. Anyone?

  • How to maintain Master Data through Web Application Designer layout.

    Hi.
    I’m Internship and I have to do something that it doesn’t work.
    I explain to you.
    I have to make a layout via Web Application Designer to permit users to add a line in the master data XST_RFC.
    For that, I did two things:
    First I followed this url : http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/607193d5-cdd5-2b10-c699-8ff04c3124f6?QuickLink=index&overridelayout=true&38392712686871
    The result; I have a problem with the appendix of method execute “DATA : ZL_WORKTEXT Type ZFREETEXT”. Here, SAP doen’t permit me to put XST_RFC (my characteristic to add by the user) but just /BIC/PXST_RFC… So, I tried with that and at the moment of the test in the Wad, the application say me “no Master Data in XST_RFC”. I know that there are no MD in my char, I just want to add once…
    So it doesn’t Work.
    Secondly, after testing, the Function Module test works. When a put an ID in the test page of SAP Logon in parameters, the FM put this ID and create a new line with this new ID. So I had an idea, use directly this function module in a Fox Formula but, when a call my function, I have a problem with variable/parameters type.
    My variable is TYPE XST_RFC , but my parameters is TYPE  /BIC/PXST_RFC….
    My Fox Formula
    DATA NEW_RFC TYPE XST_RFC.
    NEW_RFC = VARV(XVOU_RFC).
    CALL FUNCTION ZBWDSST_XX_MASTERDATAMAINTAIN
    EXPORTING
    VAR_RFC = NEW_RFC.
    My error message Types of parameter VAR_RFC () and variable NEW_RFC(C) are inconsistent
    If you can help me, I work on this issue for 4 days and I waste my time.
    Thanks.
    BR

    Dear All,
    The text flow for 0WS_QUEST & 0WS_QSTNNR is sufficient to make available Criteria from source system questionnaire in BW.
    After the text load (even it does not generate SID) we can already use Tcode SRM_VE_GROUPING & SRM_VE_WEIGHTING for customization of groupping and weighting in BW.
    Regards,
    Viresh

  • Free Text section in Web App Designer

    I'm creating a dashboard through Web Application Designer which contain queries and charts to be used to show monthly financial results.   The user would like to include a 'comment' section where they can show the explanations of the results (such as why Actual Revenue is lower than Plan, etc).   This comment section needs to handle free-form text so that user can enter any length of information.   Furthermore, this comment section has to be dynamic based on what month the Dashboard is executed for.    So, if they executed it for Jan 2007, the comment section should show the explanation for Jan data.   If, they execute it for Dec 2006, the comment should show the explanation for Dec data. 
    If any of you can give us pointers or guidance on this, it would be much appreciated and points will be rewarded. 
    regards,
    Lanny

    Hi Lanny,
    There are the web items for documents as well, but may be they will also not provide the flexibility you are looking for. May need some custom solution for this one...
    http://help.sap.com/saphelp_nw04/helpdata/en/dd/b2143b54afb405e10000000a114084/content.htm
    http://help.sap.com/saphelp_nw04/helpdata/en/94/f0133ba5e0f562e10000000a114084/content.htm

  • Rich Internet / Data driven Web App 's  -  Which sdk and Plugins Please???

    Hi, I am starting Bournemouth University in September and will be learning java, I have wanted to build rich internet applications for years and am really excited!!
    I would like help understanding all the different products and plugins relevant to building rich internet data driven web applications so I can install them all to my system and then follow all the online videos and tutorials.
    I have knowledge of html, css, some sql, some flash and can use photoshop and fireworks.
    So far, I love the look of the net beans console and the first thing I want to find out is how to make the screens/panels/components unique from a graphical point of view; like you can in adobe flash or Flex. I tried to install java FX but had errors (?64 bit system related)
    Also would like to know if anyone else new has the same goal as me so we can set up a group or a web site dedicated to forming a learning path, like making a list of url's of which tutorials to do in which order to best learn the basics before connecting to databases and then learning mvc frameworks for enterprise level multi user applications.
    In that respect actually, is Java SE ok for my goals or should I have installed Java EE; I think I tried to install EE version first but had options in the installer I didnt understand or errors; did it a couple of weeks ago and cant remember exactly what the issue was? Can you upgrade from one java sdk to another without effecting netbeans??
    Thanks all in advance, I hope some people will help me get started and in return I will dedicate part of my web site im about to build for uni to putting all the information gathered in one place for others.
    My system is windows 7, 64bit
    I have installed Java sdk - jdk-6u25-windows-x64
    Apache Tomcat 7.0.11
    GlassFish Server open source edition 3.1
    Netbeans IDE 7.0
    MySql Server 5.5
    MySql Workbench 5.2CE
    I also have mssql installed as I started learning this from an interactive dvd, but am assuming Oracle is the db of choice now oracle bought java. Or mySql which i installed but have never used before.
    Edited by: user13715216 on 16-Jun-2011 07:02

    First of all, stop treating this like its an Adobe product. There are no plugins okay? You have entered a very different world of development right now, one you may find you don't even like. But lets not be hasty.
    Secondly, remove everything you have installed right now.
    Okay, now you're ready to start. Now Install the Java 6 JDK AND NOTHING ELSE. It has no executable to start any fancy program, just a bunch of command line tools with which you are going to enter the wonderful and difficult world of Java programming. Pick a favorite text editor (preferably one that has syntax highlighting for Java sources) and get going. I suggest you start here:
    http://download.oracle.com/javase/tutorial/
    This will not tell you how to build web applications; this will tell you how to create Java programs using the tools that are part of the JDK. You should not be even thinking about doing any web development at all until you are intimately familiar with the language, the tools, the standard API and programming in general. That may take as little as three months, probably more given your limited experience in the realm of application programming.
    Only once you have found your way should you make an attempt to install Netbeans again and start to learn how to use that to make your life a little easier. Before Netbeans can help you help yourself, you really have to know what you are doing.
    I wish you good luck. Its good that you are excited, but I hope that excitement has not been built on top of bad assumptions and woefully inappropriate expectations. Programming is hard, application development is even harder.

  • Web App Designer - Graph - "Data table" text font size

    Hi,
    In the graphs, I am showing the data table by using this piece of code.
    <param name="SHOW_DATATABLE" value="X"/>
    How should I control the font size of the text displayed in data table.
    Thanks
    Gova

    Oh, my mistake. I thought you were talking about the table. The graph fonts are not maintained in a stylesheet. You have to go to the graph element (double click) and make changes to the fonts there.

  • Netbeans visual web app design tab won't load?

    Is there anybody that has the following problem when trying to start a new visual web application in Netbeans 6? If so, could you help me fix the problem?
    Every time I try a new visual web application in Netbeans, the design tab won't load and I get an error message. I can use the Java tab and the JSP tab with no problems. It's just that the design tab says "please wait loading" but it nothing ever shows up. I can basically do everything else, except for dragging things from the palette to the design tab. The error message is:
    java.lang.NoSuchMethodError: javax.el.ExpressionFactory.newInstance()Ljavax/el/ExpressionFactory;
         at org.apache.jasper.runtime.JspApplicationContextImpl.getExpressionFactory(JspApplicationContextImpl.java:80)
         at com.sun.faces.config.ConfigureListener.registerELResolverAndListenerWithJsp(ConfigureListener.java:1595)
         at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:419)
         at org.netbeans.modules.visualweb.jsfsupport.container.RaveConfigureListener.contextInitialized(RaveConfigureListener.java:93)
         at org.netbeans.modules.visualweb.jsfsupport.container.FacesContainer.initialize(FacesContainer.java:182)
         at org.netbeans.modules.visualweb.jsfsupport.container.FacesContainer.<init>(FacesContainer.java:130)
         at org.netbeans.modules.visualweb.insync.models.FacesModelSet.getFacesContainer(FacesModelSet.java:497)
         at org.netbeans.modules.visualweb.insync.models.FacesModelSet.<init>(FacesModelSet.java:403)
    Caused: java.lang.reflect.InvocationTargetException
         at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
         at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
         at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
         at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
         at org.netbeans.modules.visualweb.insync.ModelSet.createInstance(ModelSet.java:257)
    Caused: java.lang.RuntimeException
         at org.netbeans.modules.visualweb.insync.ModelSet.createInstance(ModelSet.java:261)
         at org.netbeans.modules.visualweb.insync.ModelSet.getInstance(ModelSet.java:242)
         at org.netbeans.modules.visualweb.insync.ModelSet$1.run(ModelSet.java:209)
    [catch] at java.lang.Thread.run(Thread.java:619)

    Hello,
    Adobe has provided these things:
    Creative Cloud Help/Troubleshoot download and install issues
    https://helpx.adobe.com/creative-cloud/kb/troubleshoot-cc-installation-download.html
    and: Creative Cloud Help/App doesn’t open; progress wheel spins continually
    http://helpx.adobe.com/creative-cloud/kb/creative-cloud-app-doesnt-open.html
    If necessary and for further questions click through http://helpx.adobe.com/contact.html and if "open" please use chat, I had the best experiences. I quote from Adobe's employee Preran: The chat button is activated as soon as there is an agent available to help.
    Please have a look there, good luck!
    Hans-Günter

  • Critique my Web App design. (very long, maybe interesting)

    Hi all
    I guess this is really a design issue, and I was just looking for confirmation that what I have done is good practice.
    I am writing a web application with the works, forms, beans, client validation, server validation, everything. In the future, I envisage there may be a requirement for the functions of this web application to be utilised by some kind of desktop application (perhaps a stand alone swing or an extension to some existing software or something like that).
    I guess maybe the best way to do this is to explain the dataflow.
    A client is presented with IE window, invoked by a third party application which also hands in some URL parameters. This window consists of a menu frame on the left, and a "form frame" on the right. The client selects a form from the menu frame, by clicking a standard html link. The link adds a "command" parameter to the URL and passes the request to a servlet. The servlet reads the "command" parameter to determine which form the user would like to see and displays it in the "form frame". It then uses getRequestDispatcher and forwards the request to the appropriate JSP form.
    The form that is displayed initialises a unique bean (scope=request) for the form that is displayed. The bean is initialised with a few default values which are set in the constructor of the bean.
    The first thing the JSP does is check the "process" parameter (which should not have been set yet), if it is "true", the properties of the bean are set from the fields on the form (introspection). The user enters some values on the form and some hidden parameters (including process=true) which are taken from the URL are set. The form is submitted to itself (the same JSP) after running some basic client side validation (numbers in numbers fields, field length, etc).
    If process=true, then the properties of the bean have been set and the request is forwarded (<jsp:forward>) to a validation servlet.
    The validation servlet looks up a properties file and creates a JDBC connection from those properties. It extracts the bean from the request, and makes a call to it�s validate() method which takes the JDBC connection as a parameter.
    The validate() method runs some queries against the database and returns true or false or throws an SQLException back to the validation servlet. If validate returns false, it sets an error message in a hashtable in the bean.
    If the validation servlet catches an exception thrown from the validate() method of the bean, it writes the response to the screen (form frame).
    If the validate() method returns false, the validation servlet, using getRequestDispatcher() forwards the request back to the original form. The form renders its fields based on the values in the bean in the request, and also writes out any error messages that the validate() method of the bean may have put () into its errors hashtable.
    If the validate() method returns true, a new Statement is created on the original JDBC Connection object. A method in the bean is accessed which returns an SQL INSERT statement which is inserted via statement.executeUpdate(). The request is then forwarded, using getRequestDispatcher() to a confirmation page that simply displays the properties that have been set in the bean.
    Hope I'm not boring you to death yet...
    My comments/questions are:
    Firstly, is this proper MVC design? I've read tutorials and things like that and have tried to fit the MVC architecture.
    Should the servlet, which initially determines which form is displayed to the user (I believe this is an implementation of the "command" pattern), in fact be an interface of the package that contains all the beans? This way, when it comes time to stick a different front end on all this, all that needs to be done is implement that interface. E.g. for my current set up, I would implement that interface and have it extend HttpServlet and have its doPost() method to display the correct form...
    ...or... is it acceptable that if a different application is to call my code, a new interface or command type structure will be required anyway?
    Because the beans contain their own validation methods and their own method to create a sql insert statement. When it comes time to use the same functionality but called from a different client application, they will look after themselves, provided the calling application can supply them with a connection. Correct?
    The servlet that calls the validate() method of my bean, instantiates a JDBC connection and a statement. The validate method of my bean also creates a statement. I have explicitly closed the statements in the validate method of my bean, and that method throws SQLExceptions which the servlet will catch (in case something goes wrong). However, what is the life of a servlet? Will the connection and statement objects opened created by the servlet be destroyed when the servlet forwards the request on (which happens based on the results of the beans validate() method). there is a point just after the values of the bean have been inserted into the database that I can explicitly destroy the connection and statement object, it just makes things a little more messier (just code readability).
    Ok, this is really long now, thank you very much to anyone who bothered reading that. Even bigger thanks to anyone who can be bothered responding. Even links are appreciated.
    Hey, at least I�m not just asking you to do my homework assignment. :-)
    PS. I�m sure ill come up with more questions.... ;-)

    bump?
    :(

  • Working with table data in Web Application Designer (WAD)

    Hello experts,
    I integrated two queries as analyse web items into a web template. To generate new facts, there is a need to compare data of both tables. Unfortunality there is no possibility to merge both quiries in one single query. It has to be done in  WAD.
    Is there a way to read the data of the tables (query output as analyse web item) into a data structure, i.e. an array structure of javascript to operate with them?
    Regards,
    TB

    Thank you. The APD could be a good approach.
    What you couldn't know, the two queries I mentioned are coming from two different BW mandators (We have the need to work with a two mandator model).
    It won't be possible to integrate queries from two different mandators in an APD, right?
    Regards

  • Web App Designer Export to Excel - Issue

    Hi Gurus,
    I was able to sucessfully configure export to excel feature in WAD. However the issue we are encountering is, we have a button which runs a script function, this manupulates data in some columns of the report. So when I perform export to excel after the script function is excuted, the export gets the old state of data and not the data after the script function is run. Is there are way to fix this issue. Please advise.
    Thanks Again!

    Dear Customer,
    WYSIWYG (What You See Is What You Get) is not supported on Export to Excel.
    If you are using some script AFTER data comes to screen, you will NOT see the effects on Excel.
    This is documented in the note:
    1178857 - Additional information: Export to Excel functions
    " Layout
         o  Currently WYSIWYG export is not supported.
    Sorry to not provide a better solution.
    Best regards,
    Edward John

  • How to create a date range in Web Application Designer

    I am using 3.1 version of Web App Designer.  I need to create a report with date ranges.  I can get one date to work but not two (I need a start date and end Date).  My Query has 0CALMONTH with a variable for Interval.  When I select it as a dropdown (??) in Web App Designer, I only get one date prompt in web app designer.
    Any suggestions??
    Thanks
    Kristen

    Hi Kristen,
    I'm sorry i'm not coming to solve your problem,but for the trouble I have had,and I want to create a date picker in Web Application Designer,so if you have solved the problem ,please email to me? [email protected] ,thx very much!
    best regards
    zegion chan

  • Unable to create web app items if Proximity Search is Enabled.

    I am using BC API to create web app items because I am getting the data from a third party website and wanted to save the data into web app by using BC API. I have a web app ( Name: "Map Overview" ) and the proximity search is enabled. When I test my script I got 404 bad request error but if I disabled the Proximity Search the item is created.
    Can someone help me on this?
    Thanks

    Let me know the page you are running the API call on, I'll have a look and see what gives.
    Thanks,
    Mihai

Maybe you are looking for

  • What is difference between User Exits and BAPI

    hello sap gurus what is difference between User Exits and BAPIs

  • Asset is deactivated

    Hi Experts, Asset # xxxxxwas set-up and a Purchase Order No. 123456 was prepared. A partial payment was made with this PO. But before the full payment was made, we transferred the full amount to Asset No. yyyyy Now, I am making the full paymentu2026

  • Losing ability to download on iMacs.

    We have a strange problem here at work. We have a combination of iMacs and PCs and we're having network issues with the iMacs. On the iMacs anytime someone tries to download a larger file (i.e. tries to watch a video on Apple.com) it downloads about

  • Help! My s3 is stuck on a "DOWNLOADING... Do Not Turn Off Target!!" page!

    I've had the worst time charging my phone since the new kitkat update. Today while my phone was plugged in to "charge" instead of the battery level increasing...it went down! I switched chargers and that didn't help, so I pulled the battery. Ten or f

  • Help my iphone is stuck in DFU (blackscreen) mode!!!

    my iphone 3gs is stuck at DFU mode after i restore to 4.3.3 and it cant wake up and is on blackscreen too!! I tried holding the home and the wake button for 10 sec and release the wake button and continue pressing the home button until the apple logo