Interactive report : subscription problem

I had set subscription for an interactive report. The frequency is Daily and there is no ending day.
The report is received daily on my mail in html format, but it is blank (2.4 KB). Only search field & search button are displayed.
There are not parameters to generate the report.
Please suggest the solution.
Sanjay
Edited by: user12957777 on Oct 6, 2012 2:44 AM

Hi Christina,
i have a smilar problem with Email subscriptions, i don't use items, but i use collections in the where clause!
Example:
select * from PUMA_MMRDB_GSM_LB a
where
case
when (select C001 from APEX_COLLECTIONS where COLLECTION_NAME = 'TMP_SELECTION') = 'BRD' then 1
when (select C001 from APEX_COLLECTIONS where COLLECTION_NAME = 'TMP_SELECTION') = 'REGION' and (a.Region in (select C001 FROM APEX_COLLECTIONS WHERE COLLECTION_NAME = 'REGION_M')) then 1
when (select C001 from APEX_COLLECTIONS where COLLECTION_NAME = 'TMP_SELECTION') = 'NL' and (a.NL in (select C001 FROM APEX_COLLECTIONS WHERE COLLECTION_NAME = 'NLK')) then 1
end = 1
Sometimes i see the Errror ORA-01722 in the 'error message' field of the apex_application_page_ir_sub view. I don't know if this related to the above.
Can you point me in the right direction?
thanks,
Wolfgang

Similar Messages

  • Interactive Report Subscription emailing different dataset

    Hi All,
    I am having a bit of strange problem with subscriptions email on an interactive report.
    I have the report to email users every morning from an interactive report.  The dataset that is emailed is not the same as the report on the interactive report screen.  The variance between what is emailed and what is on the report screen page is quite large and it is not an issue of the data changing between the email fist going out and the report screen being viewed.
    Also, is there a way for a user to 'unsubscribe' from a report?
    Any help would be great,
    Thanks
    Chris
    APEX Version v:  Application Express 4.0.0.00.46

    Hello Becky,
    While exporting from DEV you should set NO for following options
    <li> Export Private Interactive Reports
    <li> Export Interactive Report Subscriptions
    Because, Private Reports and Subscriptions will be made by end-users and they will be made on Prod systems. So if you export them from DEV and import into PROD, then all private reports and subscriptions will be lost on PROD.
    Regards,
    Hari

  • Interactive report performance problem over database link - Oracle Gateway

    Hello all;
    This is regarding a thread Interactive report performance problem over database link that was posted by Samo.
    The issue that I am facing is when I use Oracle function like (apex_item.check_box) the query slow down by 45 seconds.
    query like this: (due to sensitivity issue, I can not disclose real table name)
    SELECT apex_item.checkbox(1,b.col3)
    , a.col1
    , a.col2
    FROM table_one a
    , table_two b
    WHERE a.col3 = 12345
    AND a.col4 = 100
    AND b.col5 = a.col5
    table_one and table_two are remote tables (non-oracle) which are connected using Oracle Gateway.
    Now if I run above queries without apex_item.checkbox function the query return or response is less than a second but if I have apex_item.checkbox then the query run more than 30 seconds. I have resolved the issues by creating a collection but it’s not a good practice.
    I would like to get ideas from people how to resolve or speed-up the query?
    Any idea how to use sub-factoring for the above scenario? Or others method (creating view or materialized view are not an option).
    Thank you.
    Shaun S.

    Hi Shaun
    Okay, I have a million questions (could you tell me if both tables are from the same remote source, it looks like they're possibly not?), but let's just try some things first.
    By now you should understand the idea of what I termed 'sub-factoring' in a previous post. This is to do with using the WITH blah AS (SELECT... syntax. Now in most circumstances this 'materialises' the results of the inner select statement. This means that we 'get' the results then do something with them afterwards. It's a handy trick when dealing with remote sites as sometimes you want the remote database to do the work. The reason that I ask you to use the MATERIALIZE hint for testing is just to force this, in 99.99% of cases this can be removed later. Using the WITH statement is also handled differently to inline view like SELECT * FROM (SELECT... but the same result can be mimicked with a NO_MERGE hint.
    Looking at your case I would be interested to see what the explain plan and results would be for something like the following two statements (sorry - you're going have to check them, it's late!)
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two),
    sourceqry AS
    (SELECT  b.col3 x
           , a.col1 y
           , a.col2 z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5)
    SELECT apex_item.checkbox(1,x), y , z
    FROM sourceqry
    WITH a AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_one),
    b AS
    (SELECT /*+ MATERIALIZE */ *
    FROM table_two)
    SELECT  apex_item.checkbox(1,x), y , z
    FROM table_one a
        , table_two b
    WHERE a.col3 = 12345
    AND   a.col4 = 100
    AND   b.col5 = a.col5If the remote tables are at the same site, then you should have the same results. If they aren't you should get the same results but different to the original query.
    We aren't being told the real cardinality of the inners select here so the explain plan is distorted (this is normal for queries on remote and especially non-oracle sites). This hinders tuning normally but I don't think this is your problem at all. How many distinct values do you normally get of the column aliased 'x' and how many rows are normally returned in total? Also how are you testing response times, in APEX, SQL Developer, Toad SQLplus etc?
    Sorry for all the questions but it helps to answer the question, if I can.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)

  • Interactive Report Subscriptions

    Apex Version: 4.1.1.00.23
    Internet Explorer 7
    Oracle Database Version 10.2
    Server Linux
    I have not seen a viable solution to this issue of subscriptions being wiped out when exporting from a development environment to a production environment. I understand internal ids will be different and I shouldn't have to write a bunch of code to try to offset the numbers as I have seen in some posts.
    When exporting I am exporting the entire application.
    Under the export preferences I am setting all to Yes. Still no subscriptions.
    I have even tried to do an export/import of the wwv_flow_worksheet_notify and get error: Parent key not found. I don't know what parent key is failing.
    I have looked at the export file searching for wwv_flow_api.create_worksheet_notify. It is not there.
    I need a solution ASAP. I have to manually recreate each subscription for the end user, that is if I remember to capture it before I import it!
    Thanks so much,
    Becky

    Hello Becky,
    While exporting from DEV you should set NO for following options
    <li> Export Private Interactive Reports
    <li> Export Interactive Report Subscriptions
    Because, Private Reports and Subscriptions will be made by end-users and they will be made on Prod systems. So if you export them from DEV and import into PROD, then all private reports and subscriptions will be lost on PROD.
    Regards,
    Hari

  • How to send a conditional email with interactive report subscription

    Hi,
    i have an interactive report with subscription.
    I would like to send an email with the attachment only when the query returns one or more records.
    How to to this?
    Apex 4.0.2
    Thanks in advance
    lukx

    Well, to understand your requirements can I ask this:
    You said earlier you want a report sent whenever records that meet a criteria exist, correct? So you want the application to query for a condition, and when that condition occurs (a row with primary Key = X, a select COUNT(1) for rows with column X returns a result of 1 or more)
    Then you would schedule a batch job:
    BEGIN
    -- Job defined entirely by the CREATE JOB procedure.
    DBMS_SCHEDULER.create_job (
    job_name => 'Send_Email_Procedure',
    job_type => 'PLSQL_BLOCK',
    job_action => 'BEGIN Test_For_COND_SEND(); END;',
    start_date => SYSTIMESTAMP,
    repeat_interval => 'freq=hourly; byminute=0',
    end_date => NULL,
    enabled => TRUE,
    comments => 'Job defined entirely by the CREATE JOB procedure.');
    END;
    This would in theory run hourly and run your test_for_cond_Send process, in which you would test for the condition and send an e-mail if it was found that would contain the results from your query/report.
    Here is a link to generate a PDF report that could be sent via e-mail: Re: how to save pdf in APEX 3.0
    Thank you,
    Tony Miller
    Webster, TX
    While it is true that technology waits for no man; stupidity will always stop to take on new passengers.

  • Interactive Report Filter Problem

    Hello,
    I ran into a problem with an interactive report today. When the report first loads, no issue. If a filter is added, an error is returned. The error is actually generated by an assertion routine that raises and exception if a NULL value was passed in. Here's a modified/simplified version of the query:
    SELECT id,
       name,
       dept,
       emp.year_of_emp(hire_date) AS years_of_employment
    FROM emp_table
    WHERE id IN (
       SELECT c001
       FROM apex_collections
       WHERE collection_name = 'EMPS_UNDER_MANAGER'
    );Again, when the report first loads, no problem. Then when the manager applies, say a filter on dept, an error is raised from the emp.year_of_emp function because a NULL value was passed in.
    I know that all emps with an emp id in the collection have a hire_date so I don't feel as though I should have to add another condition in the where clause to filter those out (although that is the work around at this point). Anyone have any ideas as to what could be causing this?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

    Roel,
    Hey there! Hope you enjoyed your time off ;) Thanks for having a look...
    Yes, of course I "could" update the functions, but this is NOT something I want to do. I'm one of those people that subscribes to Coding by Contract and the assertion routines at the beginning and end of my subprograms are an important part of that.
    This may be a lack of understanding on my part with regards to the order in which Oracle does it's thing - or a bug in Apex... I'm able to duplicate the problem on apex.oracle.com: dmcghan/test/test.
    Log into the demo app with admin/dmcghan. The home page has an interactive report, filter the name and you should get the error. When you look at the query you'll see a filter in the where clause that goes against the apex_collections table. This is populated from the post-authentication procedure. Let me know if you have questions.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

  • Interactive Report Subscription - missing search functionality

    Hi,
    when receiving the output of a report subscription in Apex 4.1.1, the search Box is missing, only the Text string 'Suche:' is displayed.
    If i download the report as Email or html, the search box is there and usable.
    Maybe i'm wrong, but this was not under Apex 4.0.2.
    Has anyone the same disfunction?
    regards,
    Wolfgang

    Hi Christina,
    i have a smilar problem with Email subscriptions, i don't use items, but i use collections in the where clause!
    Example:
    select * from PUMA_MMRDB_GSM_LB a
    where
    case
    when (select C001 from APEX_COLLECTIONS where COLLECTION_NAME = 'TMP_SELECTION') = 'BRD' then 1
    when (select C001 from APEX_COLLECTIONS where COLLECTION_NAME = 'TMP_SELECTION') = 'REGION' and (a.Region in (select C001 FROM APEX_COLLECTIONS WHERE COLLECTION_NAME = 'REGION_M')) then 1
    when (select C001 from APEX_COLLECTIONS where COLLECTION_NAME = 'TMP_SELECTION') = 'NL' and (a.NL in (select C001 FROM APEX_COLLECTIONS WHERE COLLECTION_NAME = 'NLK')) then 1
    end = 1
    Sometimes i see the Errror ORA-01722 in the 'error message' field of the apex_application_page_ir_sub view. I don't know if this related to the above.
    Can you point me in the right direction?
    thanks,
    Wolfgang

  • Interactive report performance problem over database link

    Hi gurus,
    I have an interactive report that retrieves values from two joined tables both placed on the same remote database. It takes 45 seconds to populate (refresh) a page after issuing a search. If I catch the actual select that is generated by apex ( the one with count(*) over ()...) and run it from sql environment, it takes 1 or 2 seconds. What on earth does consume the rest of the time and how to speed this up? I would like to awoid creating and maintaining local materialized views if possible.
    Regards
    Samo

    Hi
    APEX normally needs to return the full result set for the purposes of pagination (where you have it set to something along the lines of show x-y of z), changing this or the max row count can affect performance greatly.
    The driving site hint would need to refer to the name of the view, but can be a bit temperamental with this kind of thing. The materialize hint only works for sub-factored queries (in a 'WITH blah AS(SELECT /*+ MATERIALIZE */ * FROM etc. etc.)). They tend to materialize anyway and its best not to use hints like that for production code unless there is absolutely no other option, but just sub factoring without hints can often have a profound effect on performance. For instance
    WITH a AS
    SELECT c1,
            c2,
            c3,
            c4,
            c5
    FROM schema1.view1)
    , b AS
    SELECT c1,
            c2,
            c3
    FROM schema1.view2)
    SELECT *
    FROM a, b
    WHERE a.c5 = b.c3May produce a different plan or even just sub factoring one of the external tables may have an effect.
    You need to try things out here and experiment and keep looking at the execution plans. You should also change Toads row fetch setting to be all 9's to get a real idea of performance.
    Let me know how you get on.
    Cheers
    Ben
    http://www.munkyben.wordpress.com
    Don't forget to mark replies helpful or correct ;)
    Edited by: Munky on Sep 29, 2009 1:41 PM

  • Interactive Report - Compute problem

    When I try and to anything with the "Compute" option of an interactive report I get:
    Invalid computation expression. ORA-00942: table or view does not exist
    Anyone know why? or which table may be missing?

    Reproduced this on apex.oracle.com
    http://apex.oracle.com/pls/otn/f?p=37327
    Login with Demo, no password and navigate to the Projects page.
    here is the query that drives the interactive report:
    select     "PROJECT"."PROJECT_ID" as "PROJECT_ID",
         "PROJECT"."PROJECT_NAME" as "PROJECT_NAME",
         "PROJECT"."PROJECT_MGR" as "PROJECT_MGR",
         "PROJECT"."DEV_DATE" as "DEV_DATE",
         "PROJECT"."CIE_DATE" as "CIE_DATE",
         "PROJECT"."QA_DATE" as "QA_DATE",
         "PROJECT"."PROD_DATE" as "PROD_DATE",
         "FDIC_DEPARTMENT"."DEPARTMENT_CODE" as "DEPARTMENT_CODE"
    from     "#OWNER#"."PROJECT" "PROJECT",
         "#OWNER#"."FDIC_DEPARTMENT" "FDIC_DEPARTMENT"
    where "PROJECT"."FDIC_DEPARTMENT_ID" ="FDIC_DEPARTMENT"."DEPARTMENT_ID" (+)

  • BIP Interactive Reporting - JDE - Problems

    Hello,
    I am trying to use BIPublisher 10.1.3.4 enterprise by creating a jdbc connection to JDE E1.
    The Data Access Server was created successfully and the service is up and running. The jdbc connection is established successfully.
    But when I try to create a SQL/Datamodel in the report, I am encountering different types of errors. The list of tables are listed when I click Query builder. But,
    1. If I select any table there, it is giving "[SECURITY_ERROR] A Security error occured"
    2. I wrote a SQL query as
    "SELECT F0150.MAPA8
    FROM JDE.F0150 F0150"
    and when tried to execute the report I am getting this error:
    "[SPEC_NOT_FOUND] Unable to find OneWorld specification for MAPA8.
    3. Some times, It allows to create the query from the query builder but when tried to execute, throwing error
    "Unable to parse operation"
    4. When tried to execute a simple statement to retrieve all columns from the table, following error is occuring:
    [BSFN_CALLOBJECT_ERROR] An error occurred during the call to trigger business function F0101_FETCHAFTER: COSE#1010 Remote environment initilization failed. Please see Enterprise Server log for details, env. maynot be supported by server: JDB_ERR: FAILED TO LOAD ENV.
    If anybody have encountered similar errors, or know the solution for this, please advise us.
    Thank you
    Narasimha

    hi narasimnha,
    Can you share the details setup documents. I want to do the setup for the oracle BI publisher.I have am using DEMO jde 9 to connect with the Oracle BI PUBLISHER.
    Send me the details on [email protected]
    Regards
    Deshpande

  • How many characters in users subscriptions of Interactive Report

    Hi,
    Can someone please help me in Apex 4.1. I would like to know how many characters can I enter in users subscriptions (email address) of Interactive Report and where data are stored.
    Thanks,

    Jessi wrote:
    Can someone please help me in Apex 4.1. I would like to know how many characters can I enter in users subscriptions (email address) of Interactive Report and where data are stored.
    Details of interactive report subscriptions are available in the APEX_APPLICATION_PAGE_IR_SUB APEX view. The maximum size of a subscription email address is 255 bytes.

  • Users Email Subscriptions of Interactive Reports, getting deleted

    Hi,
    We have apex 4.0.2 version instances installed in DEV, Test, Prod environments.
    We use the same app id across all the 3 environments
    eg: App no 200 is used in all the 3 environments.
    The users subscriptions for the interactive reports are getting deleted,
    when the App from Dev is moved to Test or Prod environments.
    Any ideas or suggestions ?
    Thnx

    Hi,
    I could able to get back the users subscriptions in the target environment with below procedure.
    In my scenariou i am moving the app 200 from Dev to Test environment.
    Step1: Export the app 200 from Test environment by selecting Export interactive Report Subscriptions to Yes in Export Preferences tab
    Step2: Extract carefully the wwv_flow_api.create_worksheet_notify code +(you will see more than 1 statements, if there are multiple users subscriptions)+ from the app 200.sql .
    Step3: Extract wwv_flow.g_flow_id and wwv_flow_api.g_id_offset initializer statements.
    Example below:
    In my scenariou i was testing with 1 interactive report user subscription
    begin
    wwv_flow.g_flow_id := nvl(wwv_flow_application_install.get_application_id,200);
    wwv_flow_api.g_id_offset := nvl(wwv_flow_application_install.get_offset,0);
    wwv_flow_api.create_worksheet_notify (
    p_id => 3351032625694541+wwv_flow_api.g_id_offset,
    p_flow_id => wwv_flow.g_flow_id,
    p_worksheet_id => 11045125897667191+wwv_flow_api.g_id_offset,
    p_report_id => 11046318922668871+wwv_flow_api.g_id_offset,
    p_owner => 'abc.def',
    p_email_subject => 'Primary Report test',
    p_email_address => '[email protected]',
    p_start_date => '2012.09.07.01:00:00',
    p_notify_interval => 'D');
    end;
    Step4: Import the app 200 from Development environment to Testing environment.
    Step5: Execute the above Example pl/sql in the Test environment sql prompt.
    Run the app in Test environment, You will see your interactive reports user subscription to the associated pages.
    Note: This procedure applies only when you have  app id same across all the enviornments

  • Upgrade To 4.2 Saved Interactive Reports

    We are currently upgrading our environments to Apex 4.2 from 3.2.
    Some of our applications have saved interactive reports.
    Is there anything special I need to do, so we don't lose these ?
    Gus

    Hi Gus C,
    At the time of Export please check
    Under Export Preferences
    Select Yes in Export Private Interactive Reports
    see below for info
    Export Supporting Object Definitions =     Yes
    Export Public Interactive Reports      = Yes
    Export Private Interactive Reports =              Yes
    Export Interactive Report Subscriptions =     No
    Export Developer Comments      = Yes
    Export Translations      = No
    This will export your Saved Interactive Reports.
    Hope this will helps ,
    Regards,
    Jitendra

  • Characterset of atachment in subscription email for interactive report

    Hi,
    I really like the subscription option on interactive reports. However we have an issue with the attachment.
    In the attachment it says : <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    But that leaves me with � characters where an ë should be. If I override the character encoding setting of my browser I do get the right characters.
    I suspect the characterencoding is WE8MSWIN1252 wich is my database characterset.
    What setting must I change to either have the attachment be really encoded in utf8 or have an alternative charset setting in the html.
    We are using Oracle 11g and Apex 4.0.1
    Thanks,
    Neil

    Sorry for the type (see above ;) ),
    There is no way to change the characterset used by APEX, at least none that would be configurable in APEX.
    In both FF 3.6 and IE 7 I get proper characters when downloading the HTML, but improper encoding in the mail attached report.
    When looking into the source (raw hex, so there's definetly no editor-awareness of any charset), I see proper encoding in the HTML Download, but no encoding in the HTML-attachment, which results in the improper display in the browser. However, when I let my webmailer view the attachment, everything looks fine. I assume, the problem is related to mail encoding. I wonder how my webmailer was abled to fix that, but not fix the file I downloaded...
    -Udo

  • Problems with Page Break in an Interactive Reporting report

    Hello everybody,
    Platform: Hyperion System 9.3.1.
    I have serious problems in managing the 'page break' in an Interactive Reporting report.
    The report shows sales data by store, with article and colour details and it is organized like this:
    group 1: geographic area
    group 2: country
    group 3: city
    group 4: store
    columns: article, colour
    facts: quantity, price, value
    My client's request is to perform a page break at the store group level, meaning that apart from the first store occurance, any change in the store value shoul start a new page.
    The requested result is like this:
    page1: geographic area1
    country1
    city1
    store1
    data store1...
    page 2: store2
    data store2...
    page3: store3
    data store3...
    I tried several combinations of using Break After and Break Before on the store group, with Keep Next / Keep Together and it was impossible to obtain the desired result.
    If I use Break Before the result is as follows:
    page 1: geographic area1
    country1
    city1
    page 2: store1
    data store1...
    page 3: store2
    data store2...
    If I use Break After the result is as follows:
    page 1: geographic area1
    country1
    city1
    store 1
    page 2: data store1...
    store 2
    page 3: data store2...
    even if I specify 'Keep with next' or 'Keep together' for store group and the store data table.
    Any help will be very very appreciated because I've been trying for weeks to figure out this issue.
    Daniela

    First start without using any of the Keep with Next and Keep together.
    Second. try putting the Page Break in the Group Footer. You do not need to keep it visible
    Then you may want to repeat headers on Store in case the Store's Detail rolls onto next page
    Hope this helps
    Wayne

Maybe you are looking for

  • Hp laserjet pro cm1415fnw won't scan WIA error.

    We  just got a hp laserjet pro cm1415fnw, it manages to print, but unfortunately it won't scan. We set it up to be wireless since it will be used by various users. When I run the HP printer and scan dr. it says that there's a WIA error. I tried unins

  • Transferring internal and optical drives?

    Hi all, I have an older MacBook Pro 2,2  (Intel Core 2 Duo, 2.33GHz, 3 GB RAM) which has small internal drive and an optical drive that is starting to become buggy. I have access to a more recent MacBook Pro 4,1 (Intel Core 2 Duo, 2.6 GHz, 2 GB RAM)

  • Manager in AD utilities

    Hi, I have been going through documentation for Oracle Applications DBA R12. Very often I come across the word "Manager",especially when studying about worker process in AD utilities. Can someone throw some light on the concept of "Manager"? What is

  • How do i create a contact list in adobe send from my email contact list and how do avoid typing individual email adresses

    how do i create a contact list in adobe send from my email contact list and how do avoid typing individual email adresses

  • Status stuck on away, doesn't change

    Hello, For some days now. (After I have logged in to my skype account from my home, I usually use it at work), my account is constatly stuck on away. Actually other users see me as away. I can change statuses but there is no actual effect. Other user