GO button to execute a query once report parameters are selected.

I am familiar with the GO button depicted in chapter 10 of the 2 Day Developer manual that does not cause the report to be rendered until a user chooses a value from a select list of values. The GO button is used in conjunction with Null Value Text (ex. -Select-), Null Value (ex. -1), and Default (ex.-1).
I need an alternative to the above method that will still force the user to pick a value from the List Of Values parameters prior to executing the query and rendering the report. Please provide.
Thanks, Don From Maine

Why don't you use a validation process?
Denes Kubicek

Similar Messages

  • 0ADHOC error while executing the query from Report Designer

    Hi All,
    When I am executing The Query from Report Designer,  am getting the below error.
    Please help me in this regard.
    The initial exception that caused the request to fail was:
    The Web template "0ADHOC" does not exist in the master system
    com.sap.ip.bi.base.exception.BIBaseRuntimeException: The Web template "0ADHOC" does not exist in the master system
    at com.sap.ip.bi.webapplications.runtime.service.template.impl.TemplateService.getTemplateContent(TemplateService.java:57)
    at com.sap.ip.bi.webapplications.runtime.jsp.portal.service.template.PortalTemplateAccessService.getTemplateContent(PortalTemplateAccessService.java:82)
    at com.sap.ip.bi.webapplications.runtime.preprocessor.Preprocessor.parseTemplate(Preprocessor.java:163)
    at com.sap.ip.bi.webapplications.runtime.xml.XmlTemplateAssembler.doInit(XmlTemplateAssembler.java:79)
    at com.sap.ip.bi.webapplications.runtime.template.TemplateAssembler.init(TemplateAssembler.java:133)
    Thanks,
    KVR

    Hi,
    The web template 0ADHOC is usually the standard web template for 3.x queries. The Report Designer executes the reports in java web, thus tries to find the template 0ADHOC in the 7.0 templates and does not find it. Check whether you have maintained the standard web template 0ADHOC for 7.0 reports also:
    Transaktion SPRO -> SAP Reference Image -> SAP NetWeaver -> Business Intelligence -> Settings for Reporting and Analysis -> Bex Web -> Set Standard Web Templates
    Best regards,
    Janine

  • Press button to execute MYSQL query on database

    Hi, I was looking for a solution to this:
    I want to create a button in a jsp page.
    When a user presses the button, it executes a SQL Query on a database.
    There is no need to take any info from the jsp page.
    Is there a solution to this problem?
    For example, when I press the button, I want it to execute a query like this:
    INSERT INTO table3(name)
    SELECT name FROM table1,table2
    WHERE table1.timestamp>table2.timestamp
    GROUP BY name;This query is functional in MySQL, and all I need is to convince that button to execute the query.
    table1 contains 100 values
    table2 contains only one row, and only one timestamp value and is a value inserted by user through a jsp page
    Extra:
    After this is executed, it would be nice to display a confirmation in the initial page.
    Also, it would be nice to be able too see what values were inserted into table 2
    I have been searching a lot for a solution in many forums, but with no results yet.
    I can't believe jsp doesn't have a solution for this.
    Please help me.
    Thanks :)

    Look into JDBC
    The following will give you a start.
    http://java.sun.com/products/jdbc/
    http://java.sun.com/developer/onlineTraining/Database/JDBC20Intro/
    http://java.sun.com/products/jdbc/download.html
    http://java.sun.com/docs/books/tutorial/jdbc/basics/
    http://java.sun.com/developer/onlineTraining/Database/JDBCShortCourse/
    rykk

  • Execute vo query once in a page/region

    Hi OAF Experts,
    I have a region that executes a VO at processRequest. Now, when I navigate to the next page OR click a subtab to take me to another region (the other region from the subtab has its own controller), the VO is re-executed when I go back to the same region. I only want to execute the vo ONCE when it is called from a source page (the source page in this regards is the Hierarchy Page from HR). How do I do this? It seems that PPR is the answer but I cannot find any example anywhere. Can someone please help shed light on this? Is there any sample code that I can also look at?
    Thank you very much.

    use if(!vo.isPreparedForExecution()) {vo.executeQuery()}

  • Database query using report parameters in Report Viewer 2008 and CR-XI

    Hi - I have written a report for in-house use on an Access database. The report uses parameters to filter the record selection for reporting. The report operates fine in Crystal XI, but in Crystal Report Viewer 2008, the parameters are not shown and appear to be inaccessible. Is there a way to query the database in CRV2008, as opposed to simply showing the data that was saved from CR-XI in the report? Would I have to use the Crystal Server to do this? Is there a no-cost solution that I could use instead of CRV2008 for such functionality?
    Thanks - Barney

    Hi Barney,
    As noted CRV is for reports with saved data only, no prompting allowed. I'll move this post to the OnDemand forums, possibly they have suggestions a s work around.
    You should call our Sales team and describe your situation, possibly they have a low cost solution for you.
    If you have a .NET or Java developer available you could always write and host your own WEB app that would be simple to use and should not take to much to do.
    We have samples that you could use so most of the work is done for you.
    Thank you
    Don
    CORRECTION: Report Viewer is handled by the Report Design Forum so moving the psot back
    Edited by: Don Williams on Jan 4, 2010 9:42 AM

  • BIP report parameters are comming in given sequance.

    Hi..
    I have report in which i m passing two parameters.
    <?param@begin:fromdate?>
    <?param@begin:todate?>
    While taking report these parameters are not coming in given sequance means i want first para as Fromdate then todate, but every time todate is get displyed first.
    I tried by chaging sequace also but the same thing i m getting.

    I had to modify slightly the logic in your RTF template and add some values in your XML sample data for this to test.
    It is working as expected.
    regards
    Jorge
    p.s If you consider your original question answered then please grant the points and close the thread

  • Error while executing SQL query -' Must Specify Table to select from'

    Hi all,
    While executing query using query generator
    it shows error message
    [Microsoft][SQL Native Client][SQL Server]Must specify table to select from.
    2). [Microsoft][SQL Nativ
    SELECT T1.ItemCode, T1.Dscription AS 'Item Description', T1.Quantity, T1.Price, T1.LineTotal,
    (Select SUM(T2.TaxSum) From PCH4 T2 Where T0.DocEntry=T2.DocEntry AND T2.staType=-90 AND T1.LineNum=T2.LineNum) as 'BEDAmt',
    (Select SUM(T2.TaxSum) From PCH4 T2 Where T0.DocEntry=T2.DocEntry AND T2.staType=-60 AND T1.LineNum=T2.LineNum) as 'ECSAmt',
    (Select SUM(T2.TaxSum) From PCH4 T2 Where T0.DocEntry=T2.DocEntry AND T2.staType=7 AND T1.LineNum=T2.LineNum) as 'HECSAmt',
    (Select SUM(T2.TaxSum) From PCH4 T2 Where T0.DocEntry=T2.DocEntry AND T2.staType=1 AND T1.LineNum=T2.LineNum) as 'VATAmt',
    (Select SUM(T2.TaxSum) From PCH4 T2 Where T0.DocEntry=T2.DocEntry AND T2.staType=4 AND T1.LineNum=T2.LineNum) as 'CSTAmt'
    FROM dbo.[OPCH] T0  INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN PCH4 T2 ON T2.DocEntry=T0.DocEntry
    WHERE T0.DocDate >='[%0]' AND  T0.DocDate <='[%1]' AND T0.DocType = 'I'
    GROUP BY T1.ItemCode,T1.Dscription,T1.Quantity, T1.Price, T1.LineTotal,T0.DocEntry,T1.DocEntry,T1.LineNum,T2.LineNum
    It's executing fine in MS SQL Server Studio Management.
    Please give y'r ideas to solve the problem.
    Jeyakanthan

    try this, it works fine in my B1:
    SELECT T1.ItemCode, T1.Dscription AS 'Item Description', T1.Quantity, T1.Price, T1.LineTotal,
    (Select SUM(T2.TaxSum) From PCH4 T2 Where T0.DocEntry=T2.DocEntry AND T2.staType=-90 AND T1.LineNum=T2.LineNum) as 'BEDAmt',
    (Select SUM(T2.TaxSum) From PCH4 T2 Where T0.DocEntry=T2.DocEntry AND T2.staType=-60 AND T1.LineNum=T2.LineNum) as 'ECSAmt',
    (Select SUM(T2.TaxSum) From PCH4 T2 Where T0.DocEntry=T2.DocEntry AND T2.staType=7 AND T1.LineNum=T2.LineNum) as 'HECSAmt',
    (Select SUM(T2.TaxSum) From PCH4 T2 Where T0.DocEntry=T2.DocEntry AND T2.staType=1 AND T1.LineNum=T2.LineNum) as 'VATAmt',
    (Select SUM(T2.TaxSum) From PCH4 T2 Where T0.DocEntry=T2.DocEntry AND T2.staType=4 AND T1.LineNum=T2.LineNum) as 'CSTAmt'
    FROM dbo.OPCH T0  INNER JOIN PCH1 T1 ON T0.DocEntry = T1.DocEntry INNER JOIN PCH4 T2 ON T2.DocEntry=T0.DocEntry
    WHERE T0.DocDate >='[%0]' AND  T0.DocDate <='[%1]' AND T0.DocType = 'I'
    GROUP BY T1.ItemCode,T1.Dscription,T1.Quantity, T1.Price, T1.LineTotal,T0.DocEntry,T1.DocEntry,T1.LineNum,T2.LineNum
    B1 don't like brackets!
    Regards

  • Default values for static report parameters are not visible when scheduling

    Hello
    Crystal Reports 2008 Dev
    Crystal Reports Server 2008
    When I publish a report to the repository and then try to schedule that report, the default value that I have set for a static parameter in the report is not visible.
    In the Parameters section of the Scheduling wizard this parameter is marked as [EMPTY]
    However, when I View the report (right click and select View) from within Infoview, the parameter default value is visible
    I have published in the following 3 ways:
    Publishing Wizard
    File > Save As > Enterprise from withing Crystal Reports Dev
    CMC > Folders > Add > Crystal Reports
    The results are the same for each method of publishing.
    To try to eliminate any DB issues etc i have created a report that is not attached to a datasource. 
    This test report has one Static parameter. 
    I have set 3 values for its list: Entry A, Entry B, Entry C
    Entry X is set as the parameter Default Value
    The parameter is placed in the details section of the report
    When the report is Viewed it will prompt for parameter entry, with the default value present
    When I try to schedule the report is will not have an entry for its parameter
    It seems to me that the default values for parameters should be retained from report design through to report schedule, especially when the default values are retained from report design to report View
    Is this a config problem that i have ?
    Can anyone help me with this ?
    Best regards
    Patrick Coote
    Edited by: PATRICK COOTE on Oct 2, 2008 2:08 PM
    Edited by: PATRICK COOTE on Oct 3, 2008 9:23 AM

    Hi Robert
    Thanks for the reply and apologies for not responding sooner.
    What i have found is that if i use Publishing Wizard to upload reports it is then possible to set values for prompts during the last step of this process.
    Although this is a bit clumsy, it is sufficient for now
    Best regards
    Patrick

  • Include Button that executes PL/SQL procedure to SQL query based region

    I would like to add two columns to a SQL query region.
    These columns would not be sourced from the query, but rather would be used to execute a PL/SQL procedure.
    For example, I would like to have a manager approve or deny adding an additional employee to the department.
    There would be one button for APPROVE. And, one button for DENY.
    The PL/SQL procedure would execute to perform the required DML based upon the selected action (either APPROVE or DENY).
    A sample output would look like this:
    <APPROVE>, <DENY>, John Doe, Accountant
    <APPROVE>, <DENY>, Jane Doe, Accountant
    Is there any way to add a button to a SQL Query based report region where that button executes a stored proc? If so, what is the basic process for doing this?
    Thanks!
    -Reid

    Is there any way to add a button to a SQL Query based report region where that button executes a stored proc? If so, what is the basic process for doing this?Conditional page item? You can associate processes with buttons on a page

  • How to execute a query when pressing a button

    hi,
    i created a frame (ADF Swing).
    in this frame i have a textfield, a button and a jtable.
    i want when i press on the button i execute a query which has a condition in the textfield and i want that the result will be shown in the jtable.
    thanks for help.

    Hello,
    I would test the record status of the first record in the block. If this status is 'NEW', then there is no record retrieved, so that you can exit the query mode with exit_form()
    Francois

  • While executing the query getting an error u2018Page Not Foundu2019 in the bowser.

    Hello,
    I opened a Bex Query in Query Analyzer and clicked on the Execute button to execute the query in our portal site. But I am getting an error u2018Page Not Foundu2019 in the bowser.
    As I am new to BI,Kindly guide me through the steps.
    what all setting needs to be done?
    Regards,
    Rachel

    Hi,
    The Path is C:\WINDOWS\system32\drivers\etc\hosts
    You need to update "host file" in your server/in your PC. So ask Network people to do it and also you need to change your browser LANsettings.
    Eg:   11.11.8.161     BWQ1     BWQ1.***.com
    Like above you need to change in your host file.
    Thanks
    Reddy
    Edited by: Surendra Reddy on Nov 27, 2008 8:12 AM

  • Apex 4.0 how to add a button to each row of a report

    Hi Everyone
    I have to a requirement where i need to add a button or link to each row of report dynamically and when a user clicks on it region has to display a region below.
    For example displaying report in region 1 and when a user clicks the link or button the region 2 has to appear based on the condition.
    Report display details of employee , employeename, emp no, manager, depto, sal,feedback and if the feedback is filled then the link should not appear and if feedback is not filled and the link or button should appear beside that row and allow the user to click and when it is clicked it has to show region 2 .
    I am new to Apex, please help me out how to do this.
    Thanks in advance
    Regards
    Sandeep

    Step 1:
    Add a new item to set ID principal in report 2. ex. "P2000_ID" (maybe hidden item)
    Step 2:
    in report 1 section "report Attributes" section "Link Column"
    -> Link Column = Link to Custom Target
    -> Link Icon: Select some Icon link.
    -> Target: Page in this Application
    -> Page: same page ex. 2000.
    -> Item 1: "Name" = select Item created (step 1) "P200_ID" "Value" = #NAME_OF_ID_COLUMN_IN_REPORT_1#
    -> Apply Changes
    Step 3:
    Create query to report 2
    Ex.
    select *
    from
    TABLE2
    where
    ID=:P2000_ID
    -> In Report2 condition
    * Condition Type = Value of item in Expression 1 Is NOT NULL
    * Expression1 = P2000_ID

  • QUERY & BEx Report's

    Can any body pls send me some documentation with screen shots in order to executea query or Report's.
    Because when i open thequery or BEx, i dont fin aoption of executionin the window.Noramlly to the left side top you have this option of execute but in BI-7, the screen is difa nd cannot find tht option.
    Am i doing any mistake to execute the query or report,so is the reaso i cannot find the option?
    Point's awarded in advance solution needed bit urgent i'm struck at excution ?
    Regards
    Kittu

    HI,
    The only way to execute queries is using the Tr code RRMX and using BEx analyzer....
    Using BEx analyser, the system will ask you the userid and pwd..
    Cheers
    Raj

  • How to query Database with Parameters  and configure null value response?

    Hi,
    1.When capture attributes from forms & after applying several logics, passing to a DB table using an API, how to get relevant values for a given parameter in another DB table ?
    2.When a DB table is queried, if the value does not exist, how to configure the response message ?
    Thanks.

    Okay, you've provided exactly what John S. asked for - and no more. This is helpful, but not enough. I think we're going to need a use case to understand exactly what you are asking. What should the user see? What does the user do next? What should happen in the database and in the application when the user does this?
    However, I'll try to read between the lines a bit, and get you part of the way there. To query the database with parameters in ADF BC, you need a View Object (VO). The simplest thing to do is create the SELECT command behind the VO with some bind variables and add the bind variables to your VO. At that point, you will get an ExecuteWithParameters operation in the Data Control. You can drag that operation onto a JSF page and it will give you an option to create a parameter form to let the user fill in the parameters to set the bind variables, and a button to execute the query with these values. Any table or form based on that same VO will show the selected data.
    A Trinidad or ADF Rich Faces table will have an attribute to let you define some text to show the user if no data was retrieved by the query. But there are other ways to determine if data was retrieved which you can use to control other ways to display this information. For instance, I have a page that has an outputText component that has a "rendered" attribute to show the text only when there was no data retrieved by a query.

  • Can I stop a report from Re-executing the query when I go back to that page

    I have a report that has a complicated query and looks at a lot of information to display the results. This query then links of to show details of individual items that were displayed in the result. But when I hit the back button on the browser, it executes the query again and it takes a while for the page to load.
    Is there any way to stop this and only execute the query when the User pushes a Button on the page else display the previous results.
    Thanks
    Sriram

    Another alternative is to make that detail link open in a popup window using
    javascript:popupURL(...);This way, the complicated report page is always visible.

Maybe you are looking for

  • How can I use a relative path in a Virtual Directory tag?

    That is probably a bit vague, so I will explain in more detail. We are using BEA WL Portal 7.0 and our team is developing multiple portal applications. We have a core set of portlets (consist of JSPs) that we need to reuse in multiple portals (Web Ap

  • Signature error while attaching document in vendor master

    Hi While attaching word docuemnt in vendor master through"Store business document" option, I am getting below error HTTP Error: Signature verification failed :No valid signature Could you please how can we avoid this error so that the document will g

  • JSF output not displaying properly in IE6

    I've create an application using JSC and developed a few CSS templates to go along. I've notice that the formatting look fine on Firefox and IE7 but not IE6 - I saved the generated JSF output page (from the browser), remove the first line: <?xml vers

  • Shot matcher with multiple video tracks and clips bug

    Hello again, Very problematic bug : at least in direct link mode, when using shot matcher, if the shot to be matched is on top of other clips below, then it produces odd results. In a word, it doesn't work. Can't think of a workaround or another work

  • Personalization - Locale Profiles - Two Filters / OR not And!

    Hi all, I use the Dynamic Recipient functionality in 3.1 with Personalization. I set two different Filters in Locale Profiles. So I map two dynamic recipient fields to a report field. When I publish this publication (only 1 Webi-File inside) it works