Report Hide Based on userresponce

Hii,,
I have a requirement .... how to hide the report based on the user prompt.
In my report i have two date prompts and two tables are their..... if user enter one date prompt it will show one report another report should be hideee..
How to achieve this can any one help me.....
Regards,

Hi Bhargav,
Is 2 tables have different format structure and objects.
If format structure is same then you can use measures , which populates data according to userresposne.
Ex: If(ispromptanswered("Date1")) then "Measure1" else "Measure2"
This is the best approach , because if you have 2 tables in the report, What webi does , it loads data for 2 tables and hide the tables based on condition.Though other table is hidden it still got data and formatting.
Still if you want to hide the table, we have option , select table2 ->Format table->Hide when following formula is true.Similarly for table1.align them as needed.

Similar Messages

  • Generate report dynamically based on parameters

    I have a Report with 30-35 items and these items are divided into sets of
    RMA, WIP,Inventory, finance ....
    now i need to display the report dynamically based on parameters
    say, for example if RMA, WIP, Inventory, finance are YES,NO,YES, NO
    then the report should display only RMA , Inventory....
    any ideas/suggestions would appreciated......
    Thanks,
    -VK

    Thanks for the Reply Sabine, let me put my question this way,
    i have to display the report based on the selection criteria(parameters)
    i have a generalized view which will display all the items....but the client needs them in a fashion where he chooses them as a groups since, the list is so big and he wouldn't be needing them all at once.
    here is what i'm thinking for the moment since, discoverer cannot hide the columns based on runtime parameters ....correct me if i'm wrong (as per my knowledge...it cannot ) i have decided going with 16 worksheets 4 groups of items say,(RMA, WIP, INV, FINANCE..)
    and now based on the flags what the end user chosses i may have to display the appropriate worksheet ....is this solution possible...if so do i have to subqueries...??..or is there any better ideas/suggestion....
    Regards,
    VK

  • Produce report NOT based on a single sql statement

    I want to produce a tabular report based on a series of sql statments. Specifically, a report of managers that wil include counts of employees that are in other tables using differing criterias.
    Name Count Count
    using using
    criteria 1 criteria 2
    Manager1 35 242
    I would expect to write an anonymous pl/sql block with a driving cursor determining the managers to report on. Within that cursor, I would execute a number of other queries to derive the count for each of the two columns.
    I have tried creating a report region based on a sql statement, but that requires a single sql statement. I also tried creating a report region based on plsql, but it required an into statement of defined items. This option looks like it can provide multiple rows, but since it selected 'INTO' named fields, it only creates a report with the last row of data.
    I must be missing something. Any suggestions are greatly appreciated!!!

    If you want a wizard to create the form and report for you then yes you need to have a table. One thing that you can do is define a view that contains the data you need and define an Instead Of trigger on that view so the automatic fetch and dml will work but you can have the data stored into the different objects. basically the view and the trigger work as a router/dispatcher for the data.
    *edit*
    I should also add that you can write a pl/sql package which does the fetch and the dml operations with the form items as input. This is the solution I would typically use for any form that was not a simple CRUD form for a table. One thing to note is for the fetch I prefer to use out parameters for the form items so it requires the developer to map the item to the param in the app so it will show up when you are searching through the app. I highly discourage hiding item references inside of packaged code.
    Good Luck!
    Tyson
    Message was edited by: TysonJouglet

  • Sql to tell report names based on view/table name

    Hello, we recently upgraded to release 12 and planning to implement sub ledger accounting and we are in the process of identifying our customizations written on top of distribution tables so that we can tweak them to go after SLA tables. Majority of our custom objects are discoverer reports. And most of these discoverer reports are based on custom folders which are based on custom views. By running a sql we were able to identify the names of all of our custom views which go after the distribution tables. Now we want to identify which of our discoverer reports are based on these views via custom folders of our custom business areas. Our custom folders might have been named exactly same as custom view or they may have different name and the folder may actually have a sql in which they are referring these custom views.
    Would it be possible for someone to provide a sql select statement which takes database table / view name and returns the name of discoverer workbooks referring this table/view? Thanks in advance for help.
    Regards,
    Anjan Avula.

    Nancy I claimed that problem is because of developing reports in plus based on some hits I found on internet. http://www.orafaq.com/forum/t/66265/0/
    And hits I found in metalink.
    Bug # 6665629
    However according to engineer with Oracle support it is a bug. The problem with updating that table is more related to workbooks that were created in older versions or upgraded to 10.1.2.2 but have not been opened and resaved. Bug 4901641 is present in 10.1.2.2 admin and it can result in Discoverer Admin not updating the EUL5_ELEM_XREFS. Admin version 10.1.2.3 is expected to resolve this with an easy workaround is to export the older workbooks and re-import them into your eul. The import process will update the EUL5_ELEM_XREFS table and will save customer from saving and opening every workbook.
    So, may be you have 10.1.2.3 in your environment and never experienced this issue or may be your reports were never upgraded from previous versions to 10.1.2.2. In our environment we have upgraded our reports to this version from previous versions and may be what oracle engineer told is true. I need to work with our admin to get this looked at and get it fixed.

  • Calling XML Publisher report(RDF based) From OAF

    Hi All,
    I have requirement where i need to call one of the custom XML Publisher report from oaf by passing the parameters.
    and i dnt want this using concurrent program.
    I have an idea of calling xml publisher report which is Data Template based(XML).
    http://oracle-hack.blogspot.ae/2012/04/launching-xml-publisher-from-oa.html
    but in my case the report is RDF based.
    They are generating the XML using one of the custom rdf. How can we achieve this?
    Please help.

    Hi,
    Thanks for the reply.
    Yeah yes. this method i know in my case the Custom XML Report is based on a rdf.
    So just i want to know it can be achievable ir not? if so how?
    Thanks
    Bharat

  • I have found a Much easier way to find Which Universe a report is based on.

    A few weeks ago I asked the question of how to find out which Universe a specific report was based on. I got many VERY involved answers that did work, they involved using the query builder and writing down a very long id then running that through the query builder and you evenutally got your answer.
    Then easy way is to open the report in desigenr, Go to the database expert, right click on query1 or what ever you named your query and chose edit command, scroll to the top of the fields colunm and the universe is listed at the top.
    If you want to know the connection used by the universe, simply open it up in Central Management Console and the connection used will be listed on the properties page.

    Hello Jeff,
    I'm heartened you've found an easier method to find the Universe used in a Crystal Report appropriate for your deployment.
    One of the issues with the Query Panel is that it doesn't display the folder under which the Universe if found, problematic when you have a deployment with same-named Universes in different folders.  Using the CUID value is recommended if so, since it does not change with deployment, migration or name change.
    Sincerely,
    Ted Ueda

  • Color report rows based on a value in that row

    I would like to Color report rows based on a value in that row.
    For examplle with the "EMP" table:
    I would like job=MANAGER to be red and job=CLERK to be green etc etc
    The other example I found only had the option of one color either the highlight or the default color.
    I am looking for a way to do multiple colors.

    Hi,
    In the row template, you can use #1#, #2#, etc to indicate where a field in the report needs to be output. This does not have to be plain text - ie, you can use it within style tags if you like.
    So, take a query like:
    SELECT EMPNO,
    ENAME,
    DEPTNO,
    DECODE(DEPTNO, 10, 'green', 20, 'red', 30, 'cyan', 'white') BG_COLOUR
    FROM EMPYou get columns 1=empno, 2=ename, 3=deptno and 4=bg_colour. In the row template, you can then do:
    Before Rows setting (sets up the table):
    <table>
    <tr><td>ID</td><td>Name</td><td>Dept</td></tr>After Rows setting (closes the table):
    </table>Row Template 1 (used for ALL rows):
    <tr style="background-color:#4#;"><td>#1#</td><td>#2#</td><td>#3#</td></tr>Then, for every row, the colour that has been calculated using the DECODE function will be used in the style tag to colour the background for the entire row.
    How you determine the colours is up to you. I've used DECODE here, but you could use a field on the DEPT table to hold this and use this in your SQL statement.
    Andy

  • Web Report - Hide Repeated Values

    My web report hides repeated values regardless of the query setting. 
    Is there any way to set a specific column to not hide repeated values?  Using the table API?
    Thanks!

    dear Kenneth,
    have you try to remove the check mark of properties 'suppress repeated text' in 'specific' section of your web item 'table' in web template ?
    or you can give parameter SUPPRESS_REPETITION_TEXTS for web item 'table' with value blank
    <param name='SUPPRESS_REPETITION_TEXTS' value=' '>
    doc may useful
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/13dc9190-0201-0010-71a4-a9f56cdfcc72
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/b1089290-0201-0010-288c-98e4d26487ee
    hope this helps.

  • Need Help: Could WEBI report directly based on EXCEL file be refreshed?

    In 3.0, Could WEBI reports directly based on EXCEL file be refreshed, after exporting to BOE platform?
    I've made a test on that and find out WEBI report could not be freshed in Infoview while DESKI report could.
    Some colleague suggest me to build the WEBI report based on a Universe created based on the EXCEL file.
    I want to confirm, is it a by-design that we could only refresh WEBI report based on universe? or I could do some setting to made the refreshment of WEBI based directly on EXCEL file works?
    Please Help!! Thanks a lot~~~

    Hi Rachel,
    You could try the Rich Client Product Guide [http://help.sap.com/businessobject/product_guides/boexir3/en/xi3_web_intelligence_rich_client_en.pdf] but I don't think it is a problem...more like a feature by design - it makes sense.
    You could try the route of creating a universe on top of excel... See posts
    [DBMS Independent universe;
    [how to connect to excel sheet and create a universe on top of that;
    Hope this helps
    Jacques

  • Crystal report refresh based on document ID

    Hi All,
    i am able to do webi report refresf based on document id but i am not able to find crystal report refresh based on document ID BO SDK API on JAVA.
    please help me on this?
    the below code is for webi report refresh :
    ReportEngines engines = (ReportEngines) Esession.getService("ReportEngines");
    ReportEngine widocRepEngine = (ReportEngine) engines.getService(ReportEngines.ReportEngineType.WI_REPORT_ENGINE);
    widocRepEngine.setLocale("en_US");
    DocumentInstance doc = widocRepEngine.openDocument(documentId);               
    doc.refresh();

    Well, first, the ReportEngine code you are using is only for Webi and Deski.  You may want to start by looking at the RAS and Enterprise sections of the this [wiki|http://wiki.sdn.sap.com/wiki/display/BOBJ/BusinessObjectsSDKSampleApplications]

  • Find Report Name based on Report ID

    How do I find out the report name based on the report id ('D12C939B-4309-4364-A025-BFDB5203EE0B')?

    Hi Sudhir,
    Based on my research, I find that the general properties of all the items (including Date Sources, Datasets and reports) on the report server will be stored in the Catalog table in ReportServer database. So that the report name (correspond to Name column)
    and report id (correspond to ItemID column) also be stored in the table. If we want to select the report name based on the report id, we can use the query below:
    use ReportServer
    select Name
    from dbo.Catalog
    where dbo.Catalog.ItemID='D12C939B-4309-4364-A025-BFDB5203EE0B'
    If you have any other questions, please feel free to ask.
    Thanks,
    Katherine Xiong
    Katherine Xiong
    TechNet Community Support

  • How to (un)hide report columns based on checkboxes?

    Hello,
    I have a simple report that selects 4 columns from a table.
    I would like to create 2 check boxes (at the report level, not at the row level) corresponding to 2 of the 4 report columns: When they are checked, the corresponding columns are visible. When they are unchecked, the corresponding columns are NOT visible.
    Two questions:
    1.
    This would require submitting the page automatically upon (un)checking either check box. How do I do that?
    2.
    I have attempted to use the Conditional Display properties of the report columns with hard coded values, but they don't seem to work whether the Show property of the columns is on or off. Any idea why and how to get around it? (I am using 3.2. Could this be a bug that has been fixed in 4?)
    Thanks!
    Gabor

    Hi,
    I can not find post where I have explain how sample works.But here it goes:
    You need load jQuery in page template or page HTML header if you are not using Apex 4.
    Create new blank page. In my case new page id is 70.
    Create HTML region to new page called Columns. Use wizard defaults
    Create hidden item Px_REPORT_REGION_NAME. Use wizard defaults.
    In my case hidden item name is P70_REPORT_REGION_NAME .
    Create computation before header for hidden item. Computation Type "Static Assigment".
    In computation write name you like use to your report. My case I did write "Employee report".
    Create SQL Report. In region title place your hidden item like
    &P70_REPORT_REGION_NAME.In my case I did use query
    SELECT *
    FROM empCreate check box. In my case it is called P70_SHOW_HIDE.
    Use from LOV query
    SELECT heading,
      display_sequence
    FROM APEX_APPLICATION_PAGE_RPT_COLS
    WHERE application_id = :APP_ID
    AND page_id          = :APP_PAGE_ID
    AND column_is_hidden = 'No'
    AND region_name        = '&'||'P70_REPORT_REGION_NAME'||'.' -- Change P70_REPORT_REGION_NAME to your hidden item name
    ORDER BY 2Place to report region footer
    <script type="text/javascript">
    function hideCol(pThis){
       var lRepId = '#report_data_#REGION_ID#';
       var lCol   = pThis.value;
       if(pThis.checked){
         $(lRepId + ' td:nth-child(' + lCol + ')').show();
         $(lRepId + ' th:nth-child(' + lCol + ')').show();
       }else{
         $(lRepId + ' th:nth-child(' + lCol + ')').hide();
         $(lRepId + ' td:nth-child(' + lCol + ')').hide();
    </script>Edit checkbox item and place to HTML Form Element Attributes
    CHECKED onclick="hideCol(this);"Your report template most inner table tag must have id attribute
    id="report_data_#REGION_ID#"Then you have result like this
    https://apex.oracle.com/pls/otn/f?p=40323:70
    Regards,
    Jari
    Edited by: jarola on Oct 27, 2010 11:13 PM
    Note about Apex 4 and jQuery added

  • Hide or show column from a report region based on user logged in

    Hi,
    I have this criteria, where I need to display a column on a report page but depends on the users logged in ( APP_User).
    On the field(column page) there is the Conditional Display option
    Conditional Display
    Condition Type: I choose the option where "item value in Expression 1 = expression 1
    *Expression 1*
    App_USER
    *Expression 2*
    I need to add 4 user names here that they allowed to view that column
    My question is how to list the names in expression 2 field, it worked when I added one name, but when I listed 4 names separated by comma, it didn't work.
    I appreciate any help or any solutions from you.
    Thank you.
    Sofia

    If you use "Text in Expression 1 is contained in the Value of Expression 2" then you can provide a comma-separated list. The only thing to watch out for is if you have a user "Bob" and a user "Bob Smith" then you will get a match on "Bob Smith" for the user "Bob"

  • How to setup Multiple report layouts based on parameter selection

    I'm trying to create a report that will be based on the parameter values a user select. There will be 3 different layouts for the report.
    Customer
    Salesperson
    Category
    If the user selects one of the three a different layout will be displayed.
    This is probably a simple solution but my Reports 6i skills are a little rusty.
    Your advise would be appreciated.

    Ok so you have a parameter form, and some parameters. In the data model, you can put your 3 queries. In the layout, as Ino said, put all 3 frames that you could possibly have.
    The way I would use to choose which query to use is below. Others may have other methods, but I like this.
    Ok lets say you have query A,B,C for simplicity. You have one parameter (P_PARAM1) on the form, and the user can choose A,B or C. Based on the parameter, you choose which query to use.
    In query A, you would add this line to the where statement:
    and :P_PARAM1 = 'A' You add the same lines to queries B and C, but change the letter obviously. So if the user enters A, it will only run query A because that was the parameter selected.
    Now for the layout, click on the frame that corresponds with group/query A. You would click F11 or launch the PL/SQL editor, and add the following format trigger (or something similar).
    function F_GRP_A return boolean is
    begin
      IF :P_PARAM1 = 'A' then
        return (TRUE);
      ELSE
        return (FALSE);
      END IF;
    end;Ok - then add that same logic to Frame B and C, and based on the parameter it will hide or show the frame.
    Hope that helps - thats a basic way to do what you're looking for!

  • Refresh of report hides jQuery calendar popup anchors

    In an attempt to build an interactive tabular form in Oracle Apex 4.0.2.00.07, we have based an interactive report on a query containing:
    SELECT ...
         , apex_item.date_popup2( p_idx              => 11
                                , p_value            => to_char(..., 'DD.MM.YYYY')
                                , p_date_format      => 'DD.MM.YYYY'
                                , p_size             => 12
                                , p_maxlength        => 10
                                , p_attributes       => 'onchange="..."'
                                , p_item_id          => 'f11_' || to_char(deincno)      -- deincno = primary key column
                                , p_show_on          => 'both'
    FROM   ...This renders perfectly. However, any interactive change in the report (filtering, sorting, hiding/showing columns, ...) will hide the calendar popup anchors, reducing the field to a normal text box. Only when the page is reloaded do the calendar popup anchors reappear.
    Any help or advice on how to prevent these anchors from dissapearing would be greatly appreciated.

    You need to rebuild the date pickers after the apexafterrefresh jquery event
    If you look at your page source > scroll to the bottom and you will see some jquery code that builds date-pickers initially on the page load
    (function(){apex.widget.datepicker("#f11_7369", { buttonImage: "/i/asfdcldr.gif", buttonImageOnly: true,"buttonText":"Calendar","showTime":false,"defaultDate":new Date(1980,11,17),"showOn":"button","showOtherMonths":false,"changeMonth":false,"changeYear":false}, "dd.mm.yy", "en-gb");})();You can look into your above code and find some of the contextual/dynamic parameters into the date-picker widget such as date format,image path etc...
    You can use those values to add this code accordingly
    Add this to your page header javascript
    apex.jQuery('#apexir_WORKSHEET_REGION').bind("apexafterrefresh", function () {
         // loop through the actual f11 column
         jQuery.each($('input[name="f11"]'), function () {
              //rebuild the datepickers
              var vid = "#" + $(this).attr('id');
              (function () {
                   apex.widget.datepicker(vid, {
                        buttonImage : "/i/asfdcldr.gif",
                        buttonImageOnly : true,
                        "buttonText" : "Calendar",
                        "showTime" : false,
                        "showOn" : "button",
                        "showOtherMonths" : false,
                        "changeMonth" : false,
                        "changeYear" : false
                   }, "dd.mm.yy", "en-gb");
    OR create a dynamic action with event after refresh and with action execute javascript
    // loop through the actual f11 column
    jQuery.each($('input[name="f11"]'), function () {
              //rebuild the datepickers
              var vid = "#" + $(this).attr('id');
              (function () {
                   apex.widget.datepicker(vid, {
                        buttonImage : "/i/asfdcldr.gif",
                        buttonImageOnly : true,
                        "buttonText" : "Calendar",
                        "showTime" : false,
                        "showOn" : "button",
                        "showOtherMonths" : false,
                        "changeMonth" : false,
                        "changeYear" : false
                   }, "dd.mm.yy", "en-gb");
    });Edited by: VC on Jun 19, 2012 11:01 AM

Maybe you are looking for

  • My HP 309a all in one printer will not print bar codes like airline boarding passes or tickets.

    I use Windows 7 with XP Pro I have received no error messages and have plenty of free disc space. I have not a clue as to what has happened. I see the ticket with a bar code on my computer screen but when I  try to print it the bad code will not prin

  • Email text garbled in received emails

    After years with no issues, all of a sudden a number of emails I'm receiving have strange characters instead of readable text. It's always the same capital A inside a box. The same messages show up fine on my phone, and I can read them (mostly) if I

  • IPhone keeps sending the same text message multiple times in a row.

    My iphone (4s) keeps sending people the same text message multiple times (2-4) a few seconds inbetween.  Sometimes it will tell me that there the message failed, but they still recieve it multiple times.  I've already tried deleting the message tread

  • Airport Express--How many is too many?

    I am running a new Airport Extreme base station with 3 Airport Express units to extend the range over about a 6200 sq ft house. My wife set up her office at the far extreme from the base station and, although her signal was somewhat intermittent, it

  • Downloading CS5 with serial numbers from disks onto new computer

    I have adobe creative suite 5 design premium from disks that I bought. I want to upload them to my new computer but my new computer does not have a place to put the cd disks in. I tried to download it online by typing in my serial numbers on the back