Dynamic Heading in Interactive Report

In standard reports it is possible to create dynamic headings using PL/SQL.
Does anyone know of a way of doing this for Interactive Reports?
I have a report that needs to change date headings dependant on the selected start date.
Thanks,
Jon

Item names (or built-in names like APP_ID) appearing in HTML and which begin with ampersand and end with a period are substituted with their session state values only when the names are upper case. The reason for this is to increase parsing efficiency with respect to differentiation between Application Express references and standard HTML references such as:
&_nbsp;
&_amp;
&_lt;
&_gt;
...etc., (ignore underscore in each of the above).
This ought to be documented better.
Scott

Similar Messages

  • Dynamic Column Heading on Interactive Report

    I have my column headings for my table columns stored in the database. I want the Interactive Report to use these heading (instead of static headings). Is there a way to have the columns set from the database(with a function/procedure)?

    you can replace the column headings with &PAGE_ITEM.
    obviously one page item per column header
    then use the database to populate the items with your column headings.
    craig
    [http://www.oracleapplicationexpress.com]

  • Dynamic Headings on Interactive Report

    Hi,
    I have an interactive report that I would like to use dynamic headings. I have looked at some of the posts here and have followed what I think is the correct way to do this, but I am still not seeing the headings I am expecting.
    I created items to hold the headings and have created a process to populate these items, that all seems to work fine, I can view the session state and see the headings.
    I added the items to the report on the Report Attributes page under "Heading". I used the substitution for the items as &P2_HEADING1.
    When I look at the report all I see for the substituted heading is &P2_HEADING1. and not the value I would expect.
    It seems I am missing a step? Any ideas?
    Thanks,
    Peter

    Hi,
    The process point should be ok.
    The only other things I can think of are either there is an error in the code (the "Session" link on the developer's toobar will show if the value is being set) or there is a space after the page item name (difficult to see on screen but can cause problems) which makes the item name different to what you expect.
    Andy

  • Dynamic action with interactive report region refresh

    Hi!
    I'm using APEX 4.02
    I've got a page with 2 regions.
    Region1 is a (input) form
    Region2 is an interactive report on the same table as region 1
    When entering values on the form I'm trying to dynmically lookup similar records in the table with the interactive report.
    I've made a dynamic action on the change of the form fields which should refresh the interactive report region. I can see this one fires if I add a alert to debug if it fires.
    The dynamic report is based on a query with bind variables pointing to the form fields, for example
    where
    field1 = :P2_FIELD1
    This works great on the page load, so no dynamic action is fired but I can see the rows in the report region are the ones I am looking for.
    But the refresh of the report region is not working, it is never refreshing and/or showing the correct data after a change of the form fields, so it looks like the dynamic action "refresh region" is not working on the interactive report.
    Any ideas why this can go wrong ?
    I would like to solve this using standard dynamic actions and preferrably not via PL/SQL or JS, shoudl be possible if I should believe the documentation... ;)
    Cheers
    Bas
    Edited by: bklerk on 26-apr-2011 3:07

    Hi,
    When you change value to item, I assume you do not set value to session state.
    Use interactive report advanced attributes "Page Items to Submit" , set items session state before report is refreshed.
    http://download.oracle.com/docs/cd/E17556_01/doc/user.40/e15517/app_comp.htm#sthref1235
    Similar post/issue here
    Hide and show region - hides on refresh
    Regards,
    Jari

  • New column header on Interactive Report

    We have an interactive report on a view and when we add a new column to the view, we would need the report to add the header automatically too (without previous deployment). Can this be done in simple manner?
    Thanks,
    Ricardo

    Hi,
    I have tested the behavior of the different reports in Apex.
    This is the conclusions:
    Created a new column in a test table and running directly the Apex application with the table mapped in three reports:
    1- Interactive Report:
    - No errors in the report when you open it but the new column is not showed.
    2- Classical Report with default options:
    - Errors showed when you open it (ora-01403 No data found)
    3- Classical Report with the option checked "Use Generic Columns Names":
    - It shows automatically the new column in the report.
    But still I do not have a solution to solve the problem.
    Regards,
    Ricardo

  • Variable Text not working as dynamic header in Crystal report

    Dear Experts,
    I'm working Crystal report that connected to Query BEX SAP BW trough SAP integration kit,
    currently i have case that need report dynamic header using variable text from BEX query, but seem the variable text not working in Crystal reports. the header in Crystal report shown as Desription\technical name, not result from the variable text in Query BEX in SAP.
    In https://wiki.sdn.sap.com/wiki/display/BOBJ/Crystal%20Reports%20and%20BW%20query%20elements stated that the "Text variable" with "replacement path" is supported, but i don't know in my query is not working.
    i already set in Database -> options->  table and fields -> Show Both, but the text variable still not working.
    can you help me
    Crystal Reports 2008 12.2.0.290
    SAP Integration KIT 12.1.0.890
    Thanks
    Luqman

    Post your question BEX and B1 and classic SAP data source issues to the Integration Kit forum

  • Dynamic Title for Interactive Report?

    I have an interactive report where I am passing in interative report filters. This is great becase it allows me to reuse a single interactive report in different ways. However, one drawback I am running into is the report title. I'd really like to be able to change the report title based on the filters that I pass in. Is this possible? Can the report title be dynamic?
    Thanks,
    Andrew Watson

    It,s possible.
    I'm using item references to alter the report title.
    Set the item value to the title that you want for your report and the region name as the example.
    Example: Report &P1_ITEM. &P1_ITEM1. &P1_ITEM2. and so far.

  • Dynamic Filter on Interactive Reports

    Great job guys on the new Interactive Reports feature of 3.1
    I can't express how much time this will save us in our development effort and how much real estate on the screen is saved by not having to create our own report filters.
    My question is this:
    Say you have defined a default filter that returns all rows that were created between 01-JAN-1999 and 31-DEC-2999 (all rows in our application)
    Is it possible the make the 2 dates dynamic in the filter i.e. I would like to default these to the start and end date of the current month?
    Thanks for any help or suggestions
    Duncs

    I think I may have found the answer using the "In the Last" operator
    Will post my solution once implemented
    Duncs

  • Adding Floating Header to Interactive Report

    Hi All,
    I am using an Interactive Report in Oracle Apex to display few reports which have lot of observations.
    I want to display the floating header(display of coloums) when i am scrolling through all the records in the report.
    Is this possible in apex..?
    If not, Please let me know is there any alernative way to do this.
    Regards,
    Sandeep Reddy

    This is a great plugin concept and something we've been wanting to integrate into a few of our apps. Thanks to SkillBuilders for putting it together,
    We're testing it out now and we are having a couple of issues. I'm not sure if these are bugs or if we have something set wrong.
    1. Once the plugin is installed the column headers don't align properly with the column data. For each column of data the header moves a little bit to the left of where the data is. This alignment problem builds upon itself so eventually, headers are aligning with the wrong data columns and the last couple of columns of the report don't look like they have headers at all since it shifted so far to the left.
    2. When we have a report with multiple pages of data and we click the link to the next page on the bottom of the report, the header stops floating. So, once we are on the next page the header is stuck right in the center of the report when we scroll up or down. So when we are on the top of the report it looks like there is no header.
    Has anyone else run into these issues?
    Thanks
    Brian

  • Dynamic Checkboxes on Interactive Report

    I have an interactive report that currently lists a row of values:
    Field1
    Val1
    Val2
    Val3
    I would like to place a text-field at the top of this interactive report with a submit button:
    [textbox] [submit button]
    Field 1
    Val1
    Val2
    Va3
    Then I would like to have checkboxes [] appear in each row:
    [textbox] [submit button]
    Field1 | Checkbox
    Val1 | []
    Val2 | []
    Val3 | []
    Then I would like to make it so that the user enters some text into the textbox and selects any number of the row checkboxes. Upon hitting submit, a procedure will run that accepts each Field1 value and inserts a record into a table containing 2 fields: the Field1 value and the textbox text.
    So the following user input:
    [Test text in the textbox.] [submit button]
    Field1 | Checkbox
    Val1 | []
    Val2 | [x]
    Va3 | [x]
    After hitting the submit button, a procedure would be called that would insert 2 records into a table:
    Field1 | Field2
    Val2 | Test text in the textbox.
    Val3 | Test text in the textbox.
    Note that there is no entry for Val1 because its checkbox was not checked when the user pressed submit.
    What can I do to make this happen? I appreciate any help you can offer.

    Thanks for sharing
    I am having exactly the same problem.
    I have an interactive report with the following SQL.
    select RSN_CD,
        DESC,
    APEX_ITEM.CHECKBOX(1,RSN_CD) "Select"
    from CAN_RSN
    I've set the 'Select' column's type to 'Standard Report Column'.  But the checkbox does not appear on the report. 
    Apex Version: 4.0.1.00.03
    Thanks.

  • Dynamic Interactive Reports

    Hi all,
    Is it possible to alter the sql query of an interactive report, in a dynamic way? I want load a given query, in execution time, to an interactive report.
    How can i access the internal ApEx database tables? Could i write into the table responsible for storing Interactive Report information?? I only know the existence of views like APEX_APPLICATION_ ....
    Regards Pedro.

    Hi Pedro,
    Currently Apex doesn't support dynamic queries in interactive report however you can achieve it using apex collections. Create a before header pl-sql process to create a collection using dynamic sql query and then build the interactive report by selecting data from above collection.
    Hope it helps.
    Thanks,
    Manish

  • Dynamic Header (OBI report)

    Hi
    I have just started working on OBIE. Need some suggestions. Is there a way to put a dynamic header in the report.
    Eg: I want to display a text in the header as "Sales Report for Alabama" where Alabama is the state coming from the State prompt.
    I dont find any formula editor in the edit Title view. Where can i write a formula to display this text.
    I would appreciate any suggestions.
    Thank You

    You have successfully created your presentation variable in the prompt? I guess it will be something as 'State'
    Now you go to your report and you edit the title view of your report;
    In the title you put @{State} (the name of your presentation variable is case sensitive!)
    Save your report and put it together with the prompt on the dashboard. Once you select a state in the prompt, the report title should change automatically.
    KR,
    A

  • *what are the step by step events trigger in interactive report*

    Hi gurus,
    pls explain event by event triggers in interactive report.
    points will be rewarded.
    Thanks,
    Balakrishna.

    Hi,
    Interactive reporting allows the user to participate in retrieving and presenting data at each level during the session.  Instead of presenting one extensive and detailed list with cluttered information, with interactive reporting you can create a condensed basic list from which the user can call detailed information by positioning the cursor and entering commands.
    Detailed information is presented in secondary lists. A secondary list may either overlay the basic list completely or appear in an additional dialog window on the same screen.  The secondary list can itself be interactive again. The basic list is not deleted when secondary list is created.
    User can interact with the system by:
    u2022     Double clicking or pressing F2
    u2022     Selecting menu option
    Like classical report, the interactive report is also event driven. Both the action mentioned above trigger events and code is written to handle these events.  The events triggered by this action are as follows:
    u2022     At line-selection
    u2022     At user-command
    u2022     Top-of-Page During Line-Selection for Secondary Page Header info
    Interactive report consists of one BASIC list and 20 secondary list. Basic list is produced by START-OF-SELECTION event. When the user double clicks on the basic list or chooses the menu option, the secondary list is produced. All the events associated with classical report except end-of-page are applicable only to basic list.
    AT LINE-SELECTION event
    Double clicking is the way most users navigate through programs. Double clicking on basic list or any secondary list triggers the event AT LINE-SELECTION. SY-LSIND denotes the index of the list currently created. For BASIC list it is always 0.  Following piece of code shows how to handle the event.
    Start-of-selection.
    Write: / u2018this is basic listu2019.
    At line-selection.
    Write : u2018this is first secondary listu2019.
    In this case the output will be displayed on basic list i.e.
    This is basic list.
    When user double clicks on this line, the event at line-selection gets triggered and secondary list is produced, i.e. This is first secondary list.
    You can go back to basic list by clicking on F3 or back icon on the standard tool bar.  For this list, the value of sy-lsind will be 1.
    HIDE technique
    In this case thins are much simpler. Consider the case, wherein you display fields from table sflight in basic list. When user double clicks on any sflight-carrid, you are displaying the detailed information related to that particular carrid on secondary list.  Hence there is a need to store the clicked carrid in some variable.  So that you can access this carrid for next list. ABAP/4 has facility; a statement called HIDE, which provides the above functionality.
    HIDE command temporarily stores the content of clicked field in system area.
    Syntax:
    HIDE <FIELDS>.
    This statement stores the contents of variable <f> in relation to the current output line (system field SY-LINNO) internally in the so-called HIDE area. The variable <f> must not necessarily appear on the current line.
    You have to place the HIDE statement always directly after the output statement i.e., WRITE for the variable <f>.  As when you hide the variable, control is passed to next record.  While writing, WRITE statement takes that record from header and writes it on to the list, but when writing onto your interactive list you will miss out 1st record.
    To hide several variables, use chain HIDE statement.
    As soon as the user selects a line for which you stored HIDE fields, the system fills the variables in the program with the values stored.  A line can be selected.
    u2022     By an interactive event.
    For each interactive event, the HIDE fields of the line on which the cursor is positioned during the event are filled with the stored values.
    The HIDE area is a table, in which the system stores the names and values of all HIDE fields for each list and line number.  As soon as they are needed, the system reads the values from the table.  (Please try to find the name of this table.)
    Sy-lsind indicates the index of the list and can be used to handle all the secondary lists.  When the user double clicks on the line or presses F2, sy-lsind is increased by one and this new sy-lsind can be handled.  For example:
    Write: / u2018this is basic listu2019.
    u2022     Will create a basic list.
    If sy-lsind = 1.
    Write: / u2018this is first secondary listu2019.
    Elseif sy-lsind = 2.
    Write: / u2018This is second secondary listu2019.
    Endif.
    When this code is executed,
    u2022     Basic list is produced.
    u2022     When the user clicks on the basic list, sy-lsind becomes one.
    u2022     AT LINE-SELECTION event is triggered.
    u2022     Whatever is written under IF Sy-lsind = 1, gets executed.
    u2022     Secondary list is produced.
    u2022     Again if user clicks on this list, sy-lsind becomes two.
    u2022     AT LINE-SELECTION gets triggered.
    u2022     Code written under IF Sy-lsind = 2, gets executed.
    A sample program for AT LINE-SELECTION.
    AT USER-COMMAND
    When the user selects the menu item or presses any function key, the event that is triggered is AT USER-COMMAND, and can be handled in the program by writing code for the same. The system variable SY-UCOMM stores the function code for the clicked menu item or for the function key and the same can be checked in the program.  Sample code would look like
    AT USER-COMMAND.
    Case sy-ucomm.
    When u2018DISPu2019.
            Select * from sflight.
            Write sflight-carrid, sflight-connid.
            Endselect.
    When u2018EXITu2019.
         LEAVE.
    If GUI status, suppose you have set menu bar for two items and the function code is u2018DISPu2019 and u2018EXITu2019 respectively. If the user clicks the menu item u2018DISPLAYu2019, then function code u2018DISPu2019 is stored in the sy-ucomm and whatever is written under the when u2018DISPu2019, gets executed. This is applicable for EXIT as well.
    Sy-lsind for the screen increases when the user clicks the menu item.
    Usually you have combination of all the three navigations in your user interface, i.e., you have to create menu bar, assign function code for the function keys and write code to handle all this in addition to handling double clicking.
    Things to remember while using all the combinations:
    u2022     Sy-lsind increases even if you select menu-item.
    u2022     When the user double clicks on particular line, value of sy-ucomm is u2018PICK.
    u2022     If you set sy-lsind = 2 for your 4th secondary list, when control is transferred to the 2nd secondary list, all the other lists after 2nd are lost or memory allocated to them is lost.
    u2022     Sy-lisel also gives you the value of clicked line but in this case you cannot differentiate between field. To retrieve the exact field, you have to know the field length of each field.
    u2022     If you use statement SY-LSIND = 1.
    The system reacts to a manipulation of SY-LSIND only at the end of an event, directly before displaying the secondary list. So, if within the processing block, you use statements whose INDEX options access the list with the index SY-LSIND, make sure that you manipulate the SY-LSIND field only after processing these statements. The best way is to have it always at the `as the last statementu2019 of the processing block.
    Regards,
    Bhaskar

  • ApEx - Interactive Report

    I have two issues with respect to Interactive Report in ApEx
    1. I used the Aggegrate Function to sum up the values. Though the Values are displayed, i want to have the Wordings " Totals". How to go about that
    2. In the Interactive Report, i use the Highlight option to color a set of rows based on some condition. Now after saving the report (primary), i as an end user still see the Query Part with an X. As a developer i dont want my end users to see that portion. From the end user point of view, he should be able to see the report with various colors as defined by me, but without seeing the X mark. (I got the answer to this through another forum,..thanks)
    But the first one still remains...
    Kindly help.
    Edited by: Vraj2k on Nov 25, 2011 4:50 PM

    Hello,
    Do you want some customers appear twice or not in your top 10?
    If not in your select you would need to specify DISTINCT (or probably look a bit more inside the query because you might have a cartesian product that makes the rows appear more than once).
    Next you can order by Value and then only show the first 10. You can do that dynamically with the interactive report or directly in your query. On Asktom you see some nice examples about top n queries: http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:2853107469873
    Regards,
    Dimitri
    http://dgielis.blogspot.com/
    http://www.apex-evangelists.com/
    http://www.apexblogs.info/
    REWARDS: Please remember to mark helpful or correct posts on the forum

  • Expanding column header interactive Reports dynamically

    In my interactive Reports one of my columns specifically my db_CUSTOMER_NAME column can be from 3 to 50 characters. (or even longer...)
    Was wondering how i can dynamically expand that td column "Dynamically" because i dont want to put a fix length just because there maybe 2 records that goes over +50 characters.
    Right now i set my column width to 150 px and there the occasional word wrap that happens which i don't want as it looks "funny."

    PandaOracle wrote:
    In my interactive Reports one of my columns specifically my db_CUSTOMER_NAME column can be from 3 to 50 characters. (or even longer...)
    Was wondering how i can dynamically expand that td column "Dynamically" because i dont want to put a fix length just because there maybe 2 records that goes over +50 characters.
    Right now i set my column width to 150 px and there the occasional word wrap that happens which i don't want as it looks "funny."If the requirement is to prevent word wrap in a specific column's cells, add the following style sheet to the page HTML Header:
    <style>
    .apexir_WORKSHEET_DATA td[headers="db_CUSTOMER_NAME"] {
      white-space: nowrap;
    </style>Ensure that <tt>db_CUSTOMER_NAME</tt> used in the selector exactly matches the <tt>id</tt> attribute of the column header.

Maybe you are looking for

  • How do I get books in .pdf format from my computer to ibooks?

    I have some large study guides on my computer that I'd like to add to ibooks to take with me on my iPad. How can I get them there? I can't seem to convince the sync program to find them.

  • Over and Under Delivery Tolerance Defaults

    Hi ! Is there a way to provide a default Over and Under Delivery Tolerance % at Company Code or Purchising Org level? If yes, please let me know what the menu path is to make that setting. Our tolerance for Over delivery is 10% standard across the bo

  • The scroll motion where I set the fill is only scrolling down

    The scroll motion where I set the fill is only scrolling down, even when I set it to go up. Has anyone else expereinced this? Can you help me correct this?

  • BB 8830 vibrates for no reason

    My 8830 suddenly started vibrating frequently this morning, but I have no new messages, voice mails or calendar appointments.  For awhile it was doing it every 5 minutes, at least I thought it was once every 5.  Right now it's doing it at 4 minutes,

  • More Macbook Pro Problems

    Hello again. I have another problem with my macbook pro, in addition to the previous one that nobody was able to help me with. I have gotten to the point where I turn on my mac, go to my main user, and there would only be a blue screen without any ic