Interactive Report Returns Misleading Data Because of ROWNUM Limit

Hi, We have been relying on widespread use of Interactive Reports for internal Business Intelligence in our company, and they have been very popular. However, a user found a data discrepancy when sorting a report because the ROWNUM limit of :APXWS_MAX_ROW_CNT is applied before the user requested ORDER BY clause. We are running Apex version 3.2.0.00.27 on a 10.2.0.4 database.
The IR query returns quotes from our custom quoting application, and the default number of rows is 100 (and is changeable by the user). The user wanted to see the most recent quotes, so he selected the "Creation Date" column header and simply applied a descending filter. The most recent quote returned was dated last week. However, if he applied an additional filter of "creation date in the last week", he did see today's date and mostly current quote rows.
When I ran debug on his IR query, I can see that the ROWNUM limit is applied first, then the ORDER BY. This means that the database fetches the first x rows that match the supplied parameters, and then orders the result set. However, this is not what the user meant, he wanted the first rows of an ordered set.
Here's the debug query output (with the middle removed because it's long):
select
       "QUOTE_NUMBER",
       "CUSTOMER",
       "CUST_CONTACT",
       "QUOTE_STATUS",
       "TOTAL_PRICE",
       "TOTAL_WEIGHT",
       "WHSE",
       "SHIP_DATE",
       "PO_NUMBER",
       "ORACLE_REFERENCE",
       "INSIDE_SALESREP",
       "OUTSIDE_SALESREP",
       "CREATION_DATE",
       "ID",
       "ORA_CUST_ID",
       "CUST_CONTACT_ID",
       count(*) over () as apxws_row_cnt
from (
select  *  from (
SELECT
  kh.id,
  kh.ora_cust_id,
  kh.quote_number quote_number ,
  kh.cust_contact_id,
  k2_customers_pkg.get_contact(cust_contact_id) cust_contact ,
  k2_customers_pkg.get_cust_name(kh.ora_cust_id)customer,
  k2_customers_pkg.get_cust_number(ora_cust_id)
( ......... more sql goes here )
AND k2_customers_pkg.get_outside_salesrep_number(kh.ora_site_id)||'%' LIKE :P64_OUTSIDE_SALES||'%'
AND kh.whse_code like :P64_WAREHOUSES||'%'
AND ((1=
    CASE WHEN :P64_ITEM_ID IS NULL THEN
        1
    ELSE
        (SELECT 1
           FROM k2_quote_lines kl
           JOIN k2_ingredients ki
             ON ki.quote_line_id=kl.id
          WHERE (1=1
            AND kh.id=kl.quote_id
            AND ki.ora_item_id=:P64_ITEM_ID AND ROWNUM=1))
    END)
    OR 1=(
        SELECT 1 FROM k2_quote_lines kl WHERE kl.quote_id=kh.id AND kl.part_id=:P64_ITEM_ID AND ROWNUM=1
)  r
) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
order by "CREATION_DATE" DESC,"QUOTE_NUMBER" DESCHowever, what the user wanted is to have the ORDER BY applied first, then the limit. I realize performance may suffer, but users are now alarmed that they cannot trust these reports. I'm tempted to log a SR with Oracle on this.
Any thoughts on this? Is this fixed in 4.0?
Thank you, Wolf Moritz

Hi, thanks for the response. I did spend a bit of time on trying to trick the interactive report into reversing the rownum and order by clauses. But ultimately I didn't see how to do it. Whatever query I paste into the source of the report is then wrapped in a couple of containing select statements which first applies the rownum limit and then the order by clause (if the user selects any columns to sort by).
So this query:
select * from scott.empBecomes:
select
       "EMPNO",
       "ENAME",
       "JOB",
       "MGR",
       "HIREDATE",
       "SAL",
       "COMM",
       "DEPTNO",
       count(*) over () as apxws_row_cnt
from (
select  *  from (
select * from scott.emp
)  r
) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
pAnd a user applied sort becomes:
select
       "EMPNO",
       "ENAME",
       "JOB",
       "MGR",
       "HIREDATE",
       "SAL",
       "COMM",
       "DEPTNO",
       count(*) over () as apxws_row_cnt
from (
select  *  from (
select * from scott.emp
)  r
) r where rownum <= to_number(:APXWS_MAX_ROW_CNT)
order by "DEPTNO" DESCIf I could somehow bind to some item for the order by string I might then be able to trick the report into ordering the result set first (which I know can't really be done unless using dynamic sql). Forcing an initial hard coded order by isn't practical on this particular report, although I do see why that might work in some circumstances.
Side note on the oddly placed case statement: This interactive report has some page level "meta" parameter items, and that case statement was meant as a way to avoid an exists statement on a particularly large table if no value was submitted for P64_ITEM_ID. It's been a long time since we deployed the report, so it's probably worth testing some explain/autotrace plans on this case statement vs an exists statement in the predicate. But for now it works!
Thanks, Wolf

Similar Messages

  • Tax Report Returns No Data [Message 131-85]

    Our client has been using SBO for the past few years and run the Standard Tax Report.
    They follow a standard procedure whereby they open the Tax Report enter the period details and click OK, the report returns all Input and Output Tax details.
    This month they have run the report and no matter what dates you enter the report returns No Date [Message 131-85]
    Does anyone have any clues as to what might be causing this?

    I have discovered via a SQL trace that the following script is tun for the tax report
    exec sp_executesql N'
    SELECT      T0.[AbsEntry],
         T0.[Code],
         MIN(T0.[Name]),
         T0.[SrcObjType],
         T0.[DocNum],
         MIN(T0.[Category]),
         MIN(T0.[IsEC]),
         T0.[IsAcq],
         MIN(T0.[VatPercent]),
         MIN(T0.[EqPercent]),
         T0.[DocDate],
         MIN(T0.[TaxDate]),
         MIN(T0.[CANCELED]),
         SUM(T0.[BaseSum]),
         SUM(T0.[VatSum]),
         SUM(T0.[EqSum]),
         SUM(T0.[DeductSum] - T0.[EqSum]),
         MIN(T0.[SrcObjAbs]),
         N''0'',
         0,
         0,
         MIN(T0.[DocDate]),
         0,
         0,
         MIN(T0.[NumAtCard]),
         SUM(T0.[BaseSumSc]),
         SUM(T0.[VatSumSc]),
         SUM(T0.[EqSumSC]),
         SUM(T0.[DedctSumSC] - T0.[EqSumSC]),
         MIN(T0.[TaxType]),
         T0.[CrditDebit],
         MIN(T0.[CardCode]),
         MIN(T0.[CardName]),
         MIN(T0.[SrcLineNum]),
         MIN(T0.[VatDate]),
         MIN(T0.[VatIdUnCmp]),
         MIN(T0.[LicTradNum]),
         MIN(T0.[BPLicTradNum]),
         MIN(T0.[AddID]),
         SUM(T0.[BaseSum])
         FROM  [dbo].[B1_VatView] T0 
         WHERE (T0.[Code] = (@P1)  OR       
         T0.[Code] = (@P2)  OR 
         T0.[Code] = (@P3)  OR 
         T0.[Code] = (@P4)  OR 
         T0.[Code] = (@P5)  OR 
         T0.[Code] = (@P6)  OR 
         T0.[Code] = (@P7)  OR 
         T0.[Code] = (@P8)  OR 
         T0.[Code] = (@P9)  OR 
         T0.[Code] = (@P10)  OR 
         T0.[Code] = (@P11)  OR 
         T0.[Code] = (@P12) ) AND 
         T0.[DocDate] >= (@P13)  AND 
         T0.[DocDate] <= (@P14)  
         GROUP BY T0.[AbsEntry], T0.[Code], T0.[SrcObjType], T0.[DocNum], T0.[IsAcq], T0.[DocDate], T0.[CrditDebit]
         ORDER BY T0.[IsAcq] DESC,T0.[CrditDebit]',N'@P1 nvarchar(30),@P2 nvarchar(30),@P3 nvarchar(30),@P4 nvarchar(30),@P5 nvarchar(30),@P6 nvarchar(30),@P7 nvarchar(30),@P8 nvarchar(30),@P9 nvarchar(30),@P10 nvarchar(30),@P11 nvarchar(30),@P12 nvarchar(30),@P13 datetime2,@P14 datetime2',N'SEXP',N'SFRE',N'SGST',N'SNT',N'PCAF',N'PCAP',N'PFRE',N'PGNR',N'PGST',N'PGSTV',N'PNT',N'PPRI','2010-03-01 00:00:00','2010-03-31 00:00:00'
    If I run this in SQL I get the following error, which mat shed some light on what is happening
    Msg 2715, Level 16, State 3, Line 1
    Column, parameter, or variable #13: Cannot find data type datetime2.
    Parameter or variable '@P13' has an invalid data type.
    Msg 2715, Level 16, State 3, Line 1
    Column, parameter, or variable #14: Cannot find data type datetime2.
    Parameter or variable '@P14' has an invalid data type.

  • Report returns wrong data when run on server

    Hi,
    I'm runing CRS XI R2 on Windows Server 2003 SP2.  When I refresh a report in the Crystal Reports XI Designer, I'm getting correct data.  But when I schedule the report to run on the server it returns wrong data.  The data is different from what I see when I refresh it from the designer.  In the report I have running totals set up to count customers that meet a certain criteria.  The report is very large.  It take almost 2 hours to refresh.
    I was wondering what is causing the difference in running total data between refreshing it on the designer and running it on the server.  Is it returning wrong data b/c of it not reading all the records?  Should I be making any changes to the server settings?  I saw that under pageserver, there are options for  setting the 'Minutes Before an Idle Report Job is Closed' and 'Database Records To Read When Previewing Or Refreshing a Report".  Do either of those have anything to do with the report returning incorrect data when being scheduled to run on the server?
    Thanks,
    Kim

    Hi Xuandao,
    You would need to Use Cell Binding and Trigger concept to accomplish this.
    Its simple, however, you would have to work on a trial and error basis to understand this concept as implementing the same is subject to your dashboard and WEBI Design.
    Open you LiveOffice.
    Insert your WEBI, Now, go to Object Properties of your WEBI, select the second tab that says Prompt, Here, it lists the prompts that you have for your WEBI. This would also enlist your BEx variables as well. Select this BEx variable and click on the button that says Prompt at the bottom of this window. Here, select choose Excel Data Range and click on the cell select button on the right (small button that lets you choose what cell you want to bind this prompt to), Now select a free cell that would not be even populated later on when you run the dashboard say A1 (remember the value that you select). Click on OK and again OK. The WEBI Refreshes and you can see all the prompt values at the cell A1. These are all the possible values stored for your BEx prompt variables (these values are fetched from BW system dynamically).
    Now, save this LiveOffice, Go to you dashboard. Connect your dashboard to your Live office. Go to Data-> connections-> Now, select the WEBI and in the right hand pane  go to Usage tab, here, Click on Trigger cell button on the right hand side and select A1 in you LiveOffice.
    It should work fine.
    Let me know.
    Rgds,
    Sreekul Nair

  • Interactive report filter for date not working correctly

    Hi,
    I am having an interactive report. I tried to give a filter for a column(created_on) as created on>29-oct-2009 17:17
    but i am getting the row containing created on as *29-oct-2009 17:17* in the report result. How can i correct this
    problem
    Thanks,
    TJ

    Hi,
    I think it is because seconds.
    So it is 29-oct-2009 17:17:00 and your record is e.g. 29-oct-2009 17:17:02
    br, Jari
    Edit
    You can use trunc function in your select so that it round date to minutes
    TRUNC(created_on,'MI') AS created_onBr, Jari
    Edited by: jarola on Nov 5, 2009 3:02 PM

  • Discoverer Report  returning ' no data  found '

    Hi  ...
    i  have an issue with one discoverer  report  .
    Discoverer report  name : EDI Price Exception Report.
    when i ran the report  in Discoverer  Desktop edition  It is returning 'No Data Found ' But  i am taken the  Query from admin edition  and tried to  ran in  PL/SQL Developer/TOAD  by setting  Org_id condition
    it's returning Data  . the Desktop Edition of Discoverer for  some specific date  Range  it's giving Data  But  from last month on wards  it's not returning any Data.
    in Discoverer Report  Desktop  it's not retuning the Data from  November to till date
    Oracle  Applications  11i
    Discoverer 4i
    Oracle Data base :9i 
    OS : Windows.
    Attached the Sql  which i used to generate the Report :
    I HAVE USED THE FOLLOWING  :-for initialize the profile options
    EXEC FND_GLOBAL.APPS_INITIALIZE (0,52163,660);
    EXEC APPS.FND_CLIENT_INFO.SET_ORG_CONTEXT(2922);
      SELECT A.CUST_PO_NUMBER,
             A.ORDER_NUMBER,
             A.ORDERED_DATE,
             A.ORDER_TYPE,
             -- C.CUSTOMER_ID,
             C.CUSTOMER_NUMBER,
             C.CUSTOMER_NAME,
             B.LINE_NUMBER,
             B.ORDERED_ITEM,
             MSI.SEGMENT1 ACCO_ITEM,                               -- GRW 20060407
             MSI.DESCRIPTION,
             -- MSI.INVENTORY_ITEM_ID,
             (SELECT MCI.CUSTOMER_ITEM_NUMBER
                FROM MTL_CUSTOMER_ITEMS MCI,
                     MTL_CUSTOMER_ITEM_XREFS MCIX,
                     MTL_SYSTEM_ITEMS_B MSIB
               --  MTL_PARAMETERS          MP
               WHERE     MCI.CUSTOMER_ID = C.CUSTOMER_ID                 --1814924
                     AND MCI.CUSTOMER_ITEM_ID = MCIX.CUSTOMER_ITEM_ID
                     AND MCIX.INVENTORY_ITEM_ID = MSIB.INVENTORY_ITEM_ID
                     AND MSIB.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID   --869899
                     AND MSIB.ORGANIZATION_ID = MTP.ORGANIZATION_ID --MP.ORGANIZATION_ID
                     AND MTP.ORGANIZATION_CODE = 'BRM'
                     AND MCI.CUSTOMER_ITEM_NUMBER = B.ORDERED_ITEM
                     AND NVL (mci.inactive_flag, 'N') <> 'Y'
                     AND NVL (mcix.inactive_flag, 'N') <> 'Y')
                CUSTOMER_ITEM,
                     XXAB_ITEM_XREFS.GET_GBC_ITEM_NUM (B.ORDERED_ITEM) GBC_ITEM_NUMBER,
             B.ORDERED_QUANTITY,
             B.PRICE_LIST,
             B.UNIT_SELLING_PRICE,
             B.UNIT_LIST_PRICE,
                   TO_NUMBER (B.ATTRIBUTE7) CUST_SENT_PRICE,
             apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
                                                B.ordered_item,
                                                B.header_id,
                                                B.line_number,
                                                B.unit_selling_price,
                                                B.attribute7,
                                                B.pricing_quantity_uom,
                                                B.attribute4)
                CUST_SENT_PRICE_CONVERTED,
             ABS ( (B.UNIT_SELLING_PRICE
                    - apps.XXAB_CUST_SENT_PRICE_CONV_SO (C.customer_number,
                                                         B.ordered_item,
                                                         B.header_id,
                                                         B.line_number,
                                                         B.unit_selling_price,
                                                         B.attribute7,
                                                         B.pricing_quantity_uom,
                                                         B.attribute4)))
                DIFFERENCE,
                      MTP.ORGANIZATION_CODE,
             B.SHIP_TO_LOCATION
        FROM OE_ORDER_HEADERS_V A,
             OE_ORDER_LINES_V B,
             RA_CUSTOMERS C,
             MTL_PARAMETERS MTP,
             MTL_SYSTEM_ITEMS_B MSI
       WHERE     A.HEADER_ID = B.HEADER_ID
             AND A.SOLD_TO_ORG_ID = C.CUSTOMER_ID
             -- Added by Gati on 19-Oct-2012, tkt - INC000000118962
             AND ROUND (TO_NUMBER (apps.XXAB_CUST_SENT_PRICE_CONV_SO (
                                      C.customer_number,
                                      B.ordered_item,
                                      B.header_id,
                                      B.line_number,
                                      B.unit_selling_price,
                                      B.attribute7,
                                      B.pricing_quantity_uom,
                                      B.attribute4)),
                        2) <> B.UNIT_SELLING_PRICE
             --AND ROUND(TO_NUMBER(B.ATTRIBUTE7), 2) <> B.UNIT_SELLING_PRICE
             --AND     a.ship_from_org_id = mtp.organization_id
             AND B.SHIP_FROM_ORG_ID = MTP.ORGANIZATION_ID          -- GRW 20060413
             --AND     a.ship_from_org_id = msi.organization_id
             AND B.SHIP_FROM_ORG_ID = MSI.ORGANIZATION_ID          -- GRW 20060413
             AND B.INVENTORY_ITEM_ID = MSI.INVENTORY_ITEM_ID       -- GRW 20060407
             AND A.ORDER_SOURCE_ID = 6
             AND A.ORG_ID = B.ORG_ID
             AND TO_CHAR (A.ordered_date, 'DD-MON-YYYY') between  '01-NOV-2013' and  '03-NOV-2013'
             and mtP.organization_code='BRM'
                      AND A.ORG_ID = (SELECT HOU.ORGANIZATION_ID
                               FROM HR_OPERATING_UNITS HOU
                              WHERE HOU.NAME = '50 ACCO Canada')
             AND B.cancelled_flag <> 'Y'
             AND B.flow_status_code <> 'CANCELLED'
             AND B.ORDERED_ITEM <> 'INVALID_ITEM'
    ORDER BY a.order_number

    Hi,
    Assuming your initialization matches your discoverer login, it is pretty weird that you get no data.
    I am not sure how you got the SQL but i suggest you trace the session to get the exact SQL ran by the discoverer.
    You may find another condition or join that limits your data.
    Also another thing that you should try is to initial the session by using all the parameters (including the security group as you have in your discoverer login):
    begin
      fnd_global.APPS_INITIALIZE(user_id =>, resp_id =>, resp_appl_id =>, security_group_id =>);
    end

  • Discoverer report returns no data from a certain time

    Using Discoverer 10g,a discoverer report which returned data normally last month gets to return no data now.
    We have four same environments, and two of them has this problem, two is OK.
    And the SQL of the discoverer of the four environments are the same.
    We have no any changment of this discoverer and related EUL for more than one year....
    How should we investigate into this issue.
    For example ,a point we should notice or something...
    Could somebody give us a suggestion?
    Thank you.

    Thanks for your qiuck reply.
    1.empty table that is joined in the query.The four environments has almost the same data,it is not the cause.
    2.security issue with the data, maybe the security definitions are different from one environment to another.we are now invesgate into this cause.
    and there is a sql of the discoverer's EUL which shows no data in a enviroment(in this enviroment discoverer report gets no data), but in another enviroment data can show.
    the sql is as following.
    =============
    SELECT loc_bu.org_id
    ,loc_bu.location_id building_id
    ,loc_bu.building building_name
    ,loc_bu.location_code building_number
    ,loc_fl.location_id floor_id
    ,loc_fl.location_code floor_number
    ,loc_fl.floor floor_name
    ,loc_of.location_id office_id
    ,loc_of.location_code office_number
    ,loc_of.office office_name
    ,loc_of.suite office_suite
    ,loc_of.location_alias office_alias
    ,loc_of.assignable_area office_assignable_area
    ,loc_of.space_type_lookup_code office_space_type_code
    ,lst.meaning office_space_type
    ,loc_of.function_type_lookup_code office_function_type_code
    ,fun.meaning office_function_type
    ,(SELECT ffv.description
    FROM fnd_flex_values_vl ffv
    ,fnd_flex_value_sets ffvs
    WHERE ffv.flex_value = loc_of.attribute1
    AND ffv.flex_value_set_id = ffvs.flex_value_set_id
    AND ffvs.flex_value_set_name = 'MB_PN_ON') occupancy_exception_flag
    ,loc_of.active_start_date
    ,loc_of.active_end_date
    --ADD BY KEVIN 2008/6/26 START
    ,loc_of.attribute7 division_code_office
    ,(SELECT ffv.description
    FROM fnd_flex_values_vl ffv
    ,fnd_flex_value_sets ffvs
    WHERE ffv.flex_value = loc_of.attribute7
    AND ffv.flex_value_set_id = ffvs.flex_value_set_id
    AND ffvs.flex_value_set_name = 'MB_PN_DIVISION') division_description_office --ヌヨ-ホ・ヒオテ・
    --ADD BY KEVIN 2008/6/26 END 
    FROM pn_locations loc_bu
    ,pn_locations loc_fl
    ,pn_locations loc_of
    ,fnd_lookups fun
    ,fnd_lookups lst
    WHERE loc_bu.location_id = loc_fl.parent_location_id
    AND loc_bu.location_type_lookup_code IN ('LAND', 'BUILDING')
    AND nvl(loc_bu.attribute6, '99') <> '01'
    AND loc_fl.location_id = loc_of.parent_location_id
    AND loc_fl.location_type_lookup_code IN ('FLOOR', 'PARCEL')
    AND nvl(loc_fl.attribute6, '99') <> '01'
    AND loc_of.location_type_lookup_code IN ('OFFICE', 'SECTION')
    AND nvl(loc_of.attribute6, '99') <> '01'
    AND loc_of.function_type_lookup_code = fun.lookup_code(+)
    AND fun.lookup_type(+) = 'PN_FUNCTION_TYPE'
    AND loc_of.space_type_lookup_code = lst.lookup_code(+)
    AND lst.lookup_type(+) = decode(loc_of.location_type_lookup_code,
    'OFFICE',
    'PN_SPACE_TYPE',
    'SECTION',
    'PN_PARCEL_TYPE')
    AND nvl(loc_of.space_type_lookup_code,'99') <> '07';
    ====================
    Ps.before excute this sql, we always first excute following command.
    ====
    begin
    fnd_client_info.set_org_context(117);
    end;
    ====
    The analyst of our team is not very good at the security problem, could you help us?
    Thanks a lot.

  • Custom Report return no data

    Hi,
    i have a custom report, when i choose to log in the application with Arabic language and run the report it return no data, while it return data when i log with English language  ,
    i have English as basic lang and Arabic as installed lang and i am using R 12 .
    any help, many thanks.

    In Report Attributes tab, under Messages, you will see a section named "When No Data Found Message". In it, I added this javascript code. When no data was found, the javascript worked, and popped up a message box. You can replace the alert code below with a call to your javascript function.
    <script language="javascript">
    alert("no data found");
    </script>
    There is another way. In the Region Definition tab, there is a section called "Region Footer". In it, add this javascript:
    <script language="javascript">
    var i = #TOTAL_ROWS#;
    alert(i);
    </script>
    When variable i is zero, then you know that no data was returned.
    Hope this helps.
    Ravi

  • Interactive report filtered by date/time ?

    Hi All,
    I have an interactive report in my application.
    Sql query of the report having start date ,end date column name.E.g.The values of start date and end date are like 16-NOV-2009 12:00AM and 16-NOV-2009 12:00AM.
    I have 2000 records in my report.
    When I go to Filter on the column, I can only pick the Date and not the Time. Is there a way so I can enter Date/Time as the Filter?
    I need your help.Please suggest some solution.
    Thanks,
    Ramya.

    Hi All,
    Apex gurus please suggest some solution.Is it possible to do this below task?
    In an interactive report
    Click actions -> click filter -> select 'Start date' ||select operator 'between'||select click expression calender.
    In the calender ,i want to display bath time and date.If its a user defined item like P2_START_DATE then i can set the format mask and check the date and time ,but its a in built one!! appearing from Action menu.
    Am using APex 4.0,Is it a known apex issue or we can do it by adding some custome code or plugin?
    Thanks
    with Regards,
    Ramya.

  • Interactive Reporting:Error reading data of InfoProvider /CRMBW/CSAL_C01

    Hi Forum,
    I configured an interactive reporting to read interaction record data.
    When I execute the reporting, I am getting the following error message: 
                 +Error reading the data of InfoProvider /CRMBW/CSAL_C01+
                 +No destination exists to source system YYYCLNT999+
    The RFC mentioned in the error message is not the correct one. But I checked the configuration in RSA1 and the RFC mentioned there is the correct one. So, I think I am missing a customizing that is pointing to the wrong client...
    Any idea ?
    Thanks a lot and best regards.

    Hi,
    first you should check the overall configuration. Go to your CRM client and run transaction /CRMBW/CONFIG_WIZARD. If there are errors or warnings, solve them step by step. The transaction should be self-explaining but may require some expertise (the documentation provided should help, though).
    Best regards

  • Crystal Reports return no data after publish to Infoview.

    *Description of Problem or Question:
    Reports defined in Crystal report client do not work correctly when published to Infoview.
    When report run from client, correct data is returned. When run from Infoview, no or limited data is returned.
    The problem is new since installation of Service Pack 3 fixpack 3.5.
    We are using the SAP Integration kit.
    Product\Version\Service Pack\Fixpack (if applicable):
    BOBJ XI 3.1 SP3, FP 3.5 (Including Integration kit transports)
    Relevant Environment Information (OS & version, java or .net & version, DB & version):
    Windows 2003 64-Bit, Java, Linking to SAP ECC6 on MAXDB 7.6
    Sporadic or Consistent (if applicable):
    Consistent, altough 1st refresh returns data, subsequent refresh returns no rows or few rows.
    What has already been tried (where have you searched for a solution to your question/problem):
    We have searched SAP Marketplace for OSS notes but none match our problem.
    Steps to Reproduce (if applicable):
    Create report in Crystal Reports - publish to Infoview
    Install BOBJ XI 3.1 SP3 and FP 3.5
    Refresh report in infoview - shows limited or no data
    Open report in Crystal Reports 2008 Client, refresh data - returns correct data.
    Save Cystal report to Infoview, refresh data in infoview (scheduled or online) - returns incorrect or no data.

    Hello,
    this is interesting. Check your CR Server settings if there are any limits with regards to rows or timeouts after the installation of FP3.5
    If your CR reports are running on a Universe, check the properties of the Universe if there are limitations affected to the rows.
    If this all brings no result i would highly recommend to open a Support Message at SAP - maybe thats a Bug coming with FP3.5
    Regards
    -Seb.

  • Interactive Report uses XML data saved in database for creating PDF files?

    Hello all,
    I installed Apache FOP to allow a PDF "Download" in the Interactive Reports.
    Correct me if i'm wrong, when a PDF file is created with the Interactive Report option "Download", it uses a XML data to make it. Right ??
    I would like know where in the database is this XML code located.
    Regards Pedro.

    After some searching i found that XML its stored as a BLOB and it is used as XML based report data and RTF or XSL-FO based report layout.
    I didn't find yet where is located the XML used by Interactive Reports. If someone knows where in the APEX database is the XML located please share.
    Regards Pedro.

  • Exclude column from interactive report when exporting data

    Hello!
    Is it possible to exclude column from exporting (using bi publisher) in interactive report, but having in report. So in report it is, but in export result it isnt :). I know, that I can just not to select this column in "Action" menu before exporting, but then to select it to view in report. But is it possible not to export this column, but having it in report result?
    I Just have a checkbox in report, and I dont need to see it in export result.
    APEX 4.1.
    Thanks !
    Edited by: go0ze on Sep 28, 2012 1:40 AM

    Hi,
    Set condition type PL/SQL Expression to column and enter to Expression 1
    NVL(:REQUEST,'EMPTY') NOT IN('CSV', 'XLS', 'PDF', 'RTF', 'XML', 'HTMLD')Regards,
    Jari
    My Blog: http://dbswh.webhop.net/htmldb/f?p=BLOG:HOME:0
    Twitter: http://www.twitter.com/jariolai

  • Download to email in interactive reports returns same sender as recipient

    Hello everyone
    I just upgraded to Apex 4 and is very happy with it, and I love the feature to download and send by email option in interactive reports, which makes life a little bit easier. However, when I send the mail, I get the same sender e-mail, as the recipient I entered.
    So when the mail with report arrives it says
    from: [email protected]
    to: [email protected]
    Instead of
    from: [email protected]
    to: [email protected]
    This is no dealbreaker, but it can confuse the customer that requested the report and think it might be something fishy with the attachment, thinking it's something bad like a virus.
    Is there any way to change this? Cannot find anything in the settings to change this.
    Sincerely
    Johnny
    Edited by: Johnny_Johnny on Aug 4, 2010 2:02 AM
    Spelling error in recipient :)

    Getting the same problem. Anyone found a solution or is this a bug

  • SQL Report return No Data Found

    I have a page with a SQL Report that runs a very complex query. If the returns are that nothing is found, I want to run some JavaScript. How can I determine the count of the result set or the capture the exception? Or is there another way without rerunning the query?
    Thanks

    In Report Attributes tab, under Messages, you will see a section named "When No Data Found Message". In it, I added this javascript code. When no data was found, the javascript worked, and popped up a message box. You can replace the alert code below with a call to your javascript function.
    <script language="javascript">
    alert("no data found");
    </script>
    There is another way. In the Region Definition tab, there is a section called "Region Footer". In it, add this javascript:
    <script language="javascript">
    var i = #TOTAL_ROWS#;
    alert(i);
    </script>
    When variable i is zero, then you know that no data was returned.
    Hope this helps.
    Ravi

  • 2 Bugs found in V4 Interactive report Date filter

    I've noticed a couple of bugs when trying to create filter in an interactive report on a date column.
    1) There is no "=" operator available for dates
    2) There is no Year navigator for the date picker. This is essential for Date of Birth columns. I have to click the previous month button 12 times for each year...thats 720 times to get to 1950 !
    Paul P

    Hi,
    you could add new computation "Added This Week" (Format -> Compute), with Computation Expression:
    case when sysdate- B < 7 then 'Y' else 'N' end
    --B is my date column
    Then you can add color highlight, with **Added This Week = Y
    Additional you can even hide computed column (Action -> Select Columns)
    You can check example on http://apex.oracle.com/pls/apex/f?p=60428:1
    Username: demo
    Password: demo
    Regards,
    Aljaz
    Edited by: Aljaz on 2.3.2012 0:06
    Edited by: Aljaz on 2.3.2012 0:15

Maybe you are looking for

  • Training & Event Management: Restrict Change to Business Event

    Hi, Does anyone know if there is a way to restrict change to Business Event (eg. changes to the Event Schedule) based on certain business criteria? My criteria cannot restrict by authorization. For eg. let say if something happens (based on business

  • Estrange lines appear in the windows when scrolling, or on a popup Win

    Hi everybody. I'm a extremely happy new user on Arch, but i have a little problem that its very annoying. The thing is that I have FGLRX installed on my laptop, which runs on a ATI Radeon Xpress 1100 (Mobility 200M). I install the Catalyst driver wit

  • Suitable Functional module  for ABAP consultant

    Hi all, I am an ABAPer with one and half years of experience. Can some body suggest me a functional module which will be easier to learn for me as I have no domain experience. Also please tell me the marketwise  hottest module these days such that th

  • Unable to acess page fragraments bindings of included page fragment

    Hi All, We are using Jdeveloper 11.1.1.5.0 I have included a page fragment(say JSFF2) inside a page fragement one(JsFF1). Issue is, bindings defined in the page defination of JSFF2 is not getting picked up when jsff1 is rendered on UI. Can any one pl

  • No refund of money owed yet from final bill

    Hi, I recieved a final bill and am owed money.  The billing department over the phone was of no help.  All equipment has been returned and accounted for.  Can someone please work with me to process the money owed.