Create calendar linking dates to a report

I would like to create a calendar with HREF links to a report. The calendar date is a link that you can click to pass the date to the report. The report will select average of a data column on that date and displays it, that's all. How do I do all the parameter passing....etc and create a report that takes a parameter.
I looked at the Apex documentation and I studied the HTML links HREF tags in the Sample Application's "Orders" calendar page but I couldn't find documentation on what the parameters do : APPS ID, SESSION.....etc ??

Hi,
Your code seems to be fine. Looks like there is some problem with your report. Are you able to run the report
independantly?
Please try a simple one with department like this. It works fine for me.
Declare
mdeptno NUMBER;
Rep_Url Varchar2(2000);
begin
mdeptno := p_session.get_value_as_number(
p_block_name=> 'DEFAULT', p_attribute_name=> 'A_DEPTNO');
Rep_Url :=
'http://toolsweb.us.oracle.com:2000/pls/mb/MYBUGS_DEMO.NEW_TEST_RPT.show?p_arg_names=department&p_arg_values='||mdeptno;
MYBUGS.wwa_app_module.set_target(Rep_url,'CALL');
end;
This code I have entered in the success section of the form.
If even this does not work, then there is a problem in your build.
Thanks,
Sharmila

Similar Messages

  • Create a Link to another (custom) Report

    Hi guys,
    I'm back again as I'm stuck with trying to create a link between two custom reports.
    I'll make it simple, this is the current result when I run the main custom report:
    This is its query (I removed all the exlusions to make it short):
    SELECT distinct ARPDisplayName0, Count(rsv.ResourceID) AS 'Count' , Publisher0
    FROM v_R_System_Valid rsv
    LEFT JOIN v_FullCollectionMembership fcm on fcm.ResourceID=rsv.ResourceID
    LEFT JOIN v_GS_INSTALLED_SOFTWARE arp on arp.ResourceID=rsv.ResourceID
    WHERE fcm.CollectionID = @CollectionID
    --- List of Software ---
    and (
    ARPDisplayName0 LIKE '%Access%'
    or ARPDisplayName0 LIKE '%office%'
    --- Run the query only on any vendor which includes the word Microsoft ---
    and Publisher0 LIKE '%Microsoft%'
    --- Exclude/Include any hostnames which contains the following ---
    and (rsv.Netbios_Name0 NOT LIKE '%STC%')
    GROUP BY ARPDisplayName0, Publisher0
    ORDER BY count desc, Publisher0
    Now, I'd like to click on the Software name and run this query against it:
    SELECT Netbios_Name0
    FROM v_R_System_Valid rsv
    LEFT JOIN v_FullCollectionMembership fcm on fcm.ResourceID=rsv.ResourceID
    LEFT JOIN v_GS_INSTALLED_SOFTWARE arp on arp.ResourceID=rsv.ResourceID
    WHERE ARPDisplayName0 LIKE 'Microsoft Visual Studio 2005'
    GROUP BY Netbios_Name0
    ORDER BY Netbios_Name0
    Where "Microsoft Visual Studio 2005" is going to be the variable passed once clicked on it. The above will return a list of hostnames where that software is installed to.
    I appreciate any help. Thanks :)

    Can you also explain me the alias part aside please? Thanks a lot.
    Using your Query above. Notice the Count(rsv.ResourceID) statement.
    rsv is an alias for v_R_System_Valid
    Each column should have an alias. so ARPDisplayName0 should be arp.ARPDisplayName0, etc. This will prevent conflicts between the various views and ensure that you get the right data returned.
    Garth Jones | My blogs: Enhansoft and
    Old Blog site | Twitter:
    @GarthMJ

  • How to create a linked data source with document libraries based on the same template?

    I use SharePoint Foundation 2013, SP Designer and Visual Studio 2013 to my needs. But there are several things which i don't get.
    I have a number of libraries which use the same template. I want to create a linked data source, that would contain them all, and if I add a library based on this template, the library would be added to the data sorce. Is it possible?
    I tried creating linked data souces, but the view that it brings by default is limited(no sorting, etc.). How can it be modified?

    I am planning to do my project on Linux with J2EE,Oracle technologies.You don't need to set up a DSN. Just use a JDBC connect string such as jdbc:oracle:thin:@localhost:1521:xe
    ~Jer

  • How to Create a Linked Subreport in Crystal Report for Enterprise

    Hi All
    I am developing a monthly report grouped by cost centre, I want to create a second table for each cost centre showing year to date, underneath the monthly data for that cost centre.  My thoughts on how to achieve this is to create a linked subreport in the group footer of the cost centre grouping.  However every time I try to set this up the report crashes.  Am I doing something wrong, can this be done in crystal reports for enterprise?  Can anyone give me a pointer on how to set up a linked subreport so that it passes the particular cost centre the report is grouped upon into the subreport so it only shows data relevant to that cost centre?
    Any help will be appreciated as I am going in circles at the moment.
    Thanks
    Neil
    Edited by: SmiddyLad on Feb 6, 2012 2:49 AM

    Hi Neil,
    You are doing right. You can create linked subreport in crystal report for enterprise.  Please refer below link to see the elearning tutorial  in which a simiar scenario is explained step by step. Here its an unlinked subreport. Enable subreport filter to make it linked and try. It should work.
    [http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/200c56fc-5a02-2e10-36a1-ba3d28e31fc2]
    Hope it helps you.
    Regards,
    Nikhil Joy

  • Help Creating A Link In An IR Report Passing The Value From A Different Col

    Version 4.0.2.00.07
    Hello,
    I have an Interactive Report with a column that I need to create a link on but I need to pass the value of another column.
    This report shows the Features of a particular Release. There is a select list for the Release that is selected and executes the report.
    There is a column that indicates whether the Feature has a Commitment attached to it. If there is have that a link to another report that shows all the Commitments for that Feature by passing the FEATURE_ID which is also a column on the Feature report.
    Query:
    SELECT
          ,CASE WHEN ft.feature_id IN (SELECT cc.feature_id
                                       FROM customer_commitments cc
                                       WHERE ft.feature_id = cc.feature_id
                                      ) THEN 'Yes' ELSE 'No'
           END "Commitment Exists"
              ,ft.feature_id
    FROM ....If "Commitment Exists" has a 'Yes', the 'Yes' is a link that will pass the FEATURE_ID to another report that will show the Commitments for that Feature. If the "Commitment Exists" has a 'No' then no link.
    I was also wondering if the Commitment report could open in a seperate window and make it modal?
    I hope this is clear and someone could help me.
    Please let me know if it's not clear or more information is needed.
    Thanks,
    Joe

    To accomplish this I would build the link as part of the value. So if Yes the Yes itself would be a link, if No is simply text as today.
    It would look something like this:
    SELECT
          ,CASE WHEN ft.feature_id IN (SELECT cc.feature_id
                                       FROM customer_commitments cc
                                       WHERE ft.feature_id = cc.feature_id
           THEN
            '<a href="f?p=&APP_ID.:NEW_PAGE:&SESSION.::::Pn_FEATURE_ID:' || ft.feature_id || '">Yes</a>'
           ELSE
            'No'
           END "Commitment Exists"
              ,ft.feature_id
    FROM ....One problem with this approach is when you export the report (as a CSV for example). There are a few ways to handle this, one is to simply duplicate the column with clear text yes and no and set this column to be included on export and only visible on export. The other column, with the link, set it to no export.
    The other option is to add another condition on the REQUEST value.
    SELECT
          ,CASE WHEN ft.feature_id IN (SELECT cc.feature_id
                                       FROM customer_commitments cc
                                       WHERE ft.feature_id = cc.feature_id
           THEN
                  decode(:REQUEST, 'CSV', 'Yes'
                , '<a href="f?p=&APP_ID.:NEW_PAGE:&SESSION.::::Pn_FEATURE_ID:' || ft.feature_id || '">Yes</a>'
           ELSE
            'No'
           END "Commitment Exists"
              ,ft.feature_id
    FROM ....It seems that the link itself is getting replaced with a #. The link would look something like this:
    'f?p=&APP_ID.:NEW_PAGE:&SESSION.::::Pn_FEATURE_ID:' || ft.feature_id
    Hope this helps.
    Oh and of course, in order for the link to display you need to change the Display Type to "Standard Report Column" otherwise the HTML will be escaped.
    Thanks
    -Jorge

  • Creating Sample XML data to view Reports

    Hi All,
    I have the following:
    RTF Report Templates
    XML definition files - i.e. format
    <parameters> parameter names = .... </parameters>
    <dataQuery> Sql statement in here </dataQuery>
    <dataStructure> element names... </dataStructure>
    and translated xliff files for each reports.
    What I want is to review each report to see what it looks like translated but to do this I need some sample xml data to populate the report (I dont have access to a live build).
    Can anyone tell how I can create the sample xml data so I can review these reports. I have installed the BIP Reports server but have not been able to find a way of completing this.
    Many thanks in advance for your help.

    Hello David
    I refered your other posts on xsl fo style sheets for Purchase Orders.
    Sorry for intervening you here..
    I need some help in getting xml tags for PO releases.
    When I refer metalink they gave me the following for Std PO.
    Create a new Standard Purchase Order and DO NOT approve it. Let it be in Incomplete status. Go to
    concurrent requests and run the 'PO Output for Communication' concurrent
    program will the following parameters:
    Print Selection: All
    Purchase Order Number From: The PO # you just created
    To: The PO # you just created
    Test: Debug
    May I know for PO releases what are additional parameters.I tried to enter release numbers in addition to the above.Bit it did not work,..
    I am having issue in getting buyer contact phone for PO releases.So I am trying to see if the work_tele_phone is available for Po releases xml tags.
    Can you please advise
    prasanna

  • How to create a link to a unix document in interactive report??

    on the same UNIX server where APEX 4.2 is installed I have a directory with pdf documents - /d01/apex/docs/mydoc.pdf for example.
    How can I create a link in APEX interactive report to point to the document and allow users to view or download on their PC's?
    Thanks.

    Hello,
    In your report source, you should use something similar to:
    Select empno , ....., '<a href= "#IMAGE_PREFIX# ........" >' Download from server '</a>' as "Download" from empWhere #IMAGE_PREFIX# stands for Static resources "i" in your web server. it should be in your case (for Windows):
    C:\apex\imagesYou may need to use CASE Clause for multiple Docs
    Please see this example:
    http://apex.oracle.com/pls/apex/f?p=63066
    worksapce: somefeto
    user: test
    pwd: test
    Regards,
    Fateh
    Edited by: Fateh on Oct 24, 2012 11:35 PM

  • Display Linked Data Source

    I created a Linked Data Source in SharePoint Designer 2010.  Is there any way to display the Link Data Source with a web part outside of SharePoint Designer?  I do not have enough rights to create a web part page in Designer.   Thanks!
    David L. Crooks

    Hi,
    According to your description, my understanding is that you want to display linked data source in a web part outside the SharePoint Designer.
    I suggest you can create a data view web part in SharePoint Designer to achieve it.
    If you don't have enough permission to create web part page, you may need to set the corresponding permission level for you.
    Here are some detailed articles for your reference:
    https://support.microsoft.com/kb/2592376?wa=wsignin1.0
    http://www.codeproject.com/Articles/194252/How-to-Link-Two-Lists-and-Create-a-Combined-Ciew-i
    Best Regards
    Forum Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Zhengyu Guo
    TechNet Community Support

  • Create a link to a page from a report query

    version Application Express 3.2.0.00.27
    I have done this 10s of times but for some reason its not working this time.
    I am creating a link in a report sql query region. When the user clicks on one of the rows in the sql rpt region, it will take them to the page where they can edit the record selected. I select edit the report attribute in the report region, then select the column that will display as the link. It is the column that is the pk(app_id).
    I go to the column link section. I enter the target page(8), select what icon to display, enter the item name that is the target for a value in page 8(P8_APP_ID).
    And finally I enter the value that will be copied to P8_APP_ID. That is I enter #APP_ID#(row item from source page). I then run the page and click a row in the rept region(page 6). HOwever I get an error of ORA-01403: no data found. I look at what value was copied into the targe page item and its not what I expected.
    I go back and verify I set up the link correctly but this is what I see for the page item and value to link to and copy its value.
    Instead of P8_APP_ID and #APP_ID# as I entered, the #APP_ID# is getting changed to &APP_ID. I can't figure out why this is happening!!! Every time I enter
    #APP_ID#, APEX is changing it to &APP_ID.
    Any ideas folks?

    It doesn't sound like a good idea to me to use your own APP_ID. APP_ID is already the application ID of the current application.
    Give app_id in your query an alias and see if that works.

  • Hyperion Planning - Link a web analysis report in a data form

    Hi all,
    is actually possible to link a web analysis report in a planning data form? I tried from a custom menu but discovered that isn't possible. Any other way?
    I'm working with Planning 11.1.2.1
    Thanks

    Hi Raffounz
    Indeed, it is possible to link a web analysis report in a planning custom menu.
    Follow this procedure :
    - From the explorer :
    -> Go to the folder where your web analysis report is stored
    -> Right click on the document and left click on "properties"
    -> Copy the "smartCut" link
    - From your planning application :
    -> Edit the menu where you want to link your webanalysis report :
    -> Create a URL item and past the link in the input field
    Cheers

  • How create header with user id time date to VC-report's output as display ?

    How create header with user id time date to VC-report's output as display ?
    This info should come from the VC - not all the way from R3-side via FunctionModule/BABI. So only userid, date, time to output as normal text (which is not editable of course). Thanks =)

    Hi ann-mari
    Go through following link may it help u
    Form Item disabled based on portal role
    /people/community.user/blog/2007/01/17/visual-composer-explorations-using-portal-roles-to-influence-ui-element-behavior
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/usingrolestoinfluenceapplication&
    https://www.sdn.sap.com/irj/sdn/wiki?path=/display/vc/passingvaluesvia+URL&
    https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/ad182ac7-0a01-0010-4fb8-8a4d217b19c1
    Best Regards
    ````Satish````

  • How to create offset for calendar year/month in BEx Reporting

    HI ALL,
        i have a requirement of creating offset for calendar year/month.Basically i have a characteristic in Rows and volume key figure in Column and i have to put that volume under the calender year /month which is shown below ..
                             Previous Volume           Present Volume
                                     01.2010                             01.2011
    material                    10000                               20000
    how can i create a report for this . by using volume key figure i am creating previous volume and present volume,. how can i put them in key figure do i have to create any structure, selections  for that.... and "" how can i get the present year volume and previous year volume. If i use cal year/month how can i create offset for that.....
    please do let me know in brief...
    Thank you.

    Hi ,
    I think you need data year wise .
    Instead of creating a variable for calmonth and using it in the RKF , you can just drag calyear in columns and keep the Volume keyfigure below it . Keep only one keyfigure Volume and do not restrict it with calmonth or any other variable .
    In this case calyear should not be present in rows or free characteristics .
    You would be able to see the data year wise ..
    Try this and check whether it is according to your requirement
    If You need to show the data as Volume (01.2011)  and Volume(01.2010)
    It means you are only showing data for Jan 2011 and Jan 2010 in the report
    In this case you can retrict Volume keyfigure with a variable and create a customer exit variable
    for 0calmonth as an offset of -1 will bring the data of 12.2010 for Previous Volume(01.2010) key figure which is incorrect .
    For your output you can create 2 customer exit variables :
    One will restrict 0calmonth to current year and another to previous year .
    Check whether this works .
    Also , if you want to show current calendar months data , you can either use a mandatory variable on 0calmonth
    and restrict the same in volume keyfigure or there are std customer exit variable provided by SAP to give current cal month .
    You can restrict the char 0calmonth with this std exit variable if you do not want 0calmonth variable to be mandatory.

  • Creating a manual data link

    Using Oracle Report Builder 10g(Report Builder 9.0.4.2.0), and trying to create a manual data link between two queries. But the problem is that whenever I create a manual data link between two queries my report builder shutoff with this message “rwbuilder.exe has generated errors and will be closed by windows. You will need to restart the program. An error log is being created"
    Thanks in Advance...

    Mohsin,
    I am using 9.0.4.0.33 and never faced this kind of problem. Did you install any patch?
    Are you modifying existing report or creating a new one?

  • DB link problem between active Data Guard and report application database

    My database version in 11.2.0.2.0 and OS is Oracle Solaris 10 9/10.
    I am facing a problem in my Active data guard Database for reporting purpose. Active Data guard information is as below.
    SQL> select name, database_role, open_mode from v$database;
    NAME DATABASE_ROLE OPEN_MODE
    ORCL PHYSICAL STANDBY READ ONLY WITH APPLY
    Problem detail is below
    I have created a db link (Name: DATADB_LINK) between active data guard and report application database for reporting purpose.
    SQL> create database link DATADB_LINK connect to HR identified by hr using 'DRFUNPD';
    Database link created.
    But when I run a query using db link from my report application database I got this below error.
    ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10_4261549777$" too small
    ORA-02063: preceding line from DATADB_LINK
    Then I check Active Data Guard database alart log file and get below error
    ORA-01555 caused by SQL statement below (SQL ID: 11yj3pucjguc8, Query Duration=1 sec, SCN: 0x0000.07c708c3):SELECT "A2"."BUSINESS_TRANSACTION_REFERENCE","A2"."BUSINESS_TRANSACTION_CODE",MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'feature' THEN "A1"."TRANS_DATA_VALUE" END ),MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'otherFeature' THEN "A1"."TRANS_DATA_VALUE" END )
    But the interesting point if I run the report query directly in Active Data Guard database, I never got error.
    So is it a problem of DB link between active Data Guard and other database?

    Fazlul Kabir Mahfuz wrote:
    My database version in 11.2.0.2.0 and OS is Oracle Solaris 10 9/10.
    I am facing a problem in my Active data guard Database for reporting purpose. Active Data guard information is as below.
    SQL> select name, database_role, open_mode from v$database;
    NAME DATABASE_ROLE OPEN_MODE
    ORCL PHYSICAL STANDBY READ ONLY WITH APPLY
    Problem detail is below
    I have created a db link (Name: DATADB_LINK) between active data guard and report application database for reporting purpose.
    SQL> create database link DATADB_LINK connect to HR identified by hr using 'DRFUNPD';
    Database link created.
    But when I run a query using db link from my report application database I got this below error.
    ORA-01555: snapshot too old: rollback segment number 10 with name "_SYSSMU10_4261549777$" too small
    ORA-02063: preceding line from DATADB_LINK
    Then I check Active Data Guard database alart log file and get below error
    ORA-01555 caused by SQL statement below (SQL ID: 11yj3pucjguc8, Query Duration=1 sec, SCN: 0x0000.07c708c3):SELECT "A2"."BUSINESS_TRANSACTION_REFERENCE","A2"."BUSINESS_TRANSACTION_CODE",MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'feature' THEN "A1"."TRANS_DATA_VALUE" END ),MAX(CASE "A1"."TRANS_DATA_KEY" WHEN 'otherFeature' THEN "A1"."TRANS_DATA_VALUE" END )
    But the interesting point if I run the report query directly in Active Data Guard database, I never got error.
    So is it a problem of DB link between active Data Guard and other database?
    Check this note which is applicable for your environment
    *ORA-01555 on Active Data Guard Standby Database [ID 1273808.1]*
    also
    http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:8908307196113

  • Create JAVA link in Crystal Report Viewer?

    We are looking at using Crystal for Reporting and are trying to determine if within a Crystal Report we can place data that is created as a Java link.  Lets say a dollar amount in the report...can it be created with a Java link attached that will call off and run another quick report/drilldown to return more detail information?

    Hello Tim,
    Yes,that is certainly possible.You can create a link which will be treated as object n report and then you need to create hyperlink for that specifying detail location of another object.
    Thanks,
    Chinmay

Maybe you are looking for

  • Problems in ALV Report

    Hi all, I have a Problem with the ALV report felated to FI Data. Where in the Selection screen I have two fields Commitment Item, Fund Center and Fiscal Year. When i am executing the report it is printing correctly. The Problem is that when i give a

  • Table name to find out the application name

    In table WWV_FLOW_USER_ACTIVITY_LOG there is a column called flow_id ,which is the application id .I want to know which is the table to find out the application name for a flow_id. Thanks in advance, Madhuri

  • Issue after restoring of  DR db into QA db

    Hi Gurus, Recently we have cloned DR server and restore it to QA server (including oracle) for testing purpose.After restoration of DR (physical standby) db into QA, I have re-started the db but database open in read only mode. My requirement is to c

  • Ale customization through executable programs

    i have followed the following steps to customize ale for message type MATMAS   create logical systems EP800, EP810   assign logical systems to clients   create modelview --> save   add message type --> save   generate partner profiles --> execute   h

  • SAP Query: ABAP List Only

    hello friends, how do i hide the "Output format" box from the UI of my SAP query? i would just want a query that would automatically have an ABAP List output without users having to choose other layouts (meaning the "Output format" is not seen on the