Af:query issues within a taskflow

JDev: 11.1.2.1
I've created a simple fusion app, using the HR countries and department tables. The ViewController contains a home page and a taskflow.
The taskflow accepts a 'SearchBy' parameter, and I have a router (default) which then redirects the user to one of two pages, based on that parameter.
<case id="__1">
<expression>#{pageFlowScope.SearchBy eq 'countries'}</expression>
<outcome>countries</outcome>
</case>
<case id="__2">
<expression>#{pageFlowScope.SearchBy eq 'depts'}</expression>
<outcome>depts</outcome>
</case>
The two pages "CountriesQueryPage" and "DeptsQueryPage" contain nothing more than a standard af:query (with table) based on the named criteria "All Queriable Attributes" for respective views.
The Home page contains the taskflow above as a region, and a couple of links, which set a #{requestScope.SearchBy} parameter. The taskflow binding was changed to Refresh 'ifNeeded'.
<af:panelHeader text="panelHeader 1" id="ph1">
<f:facet name="context"/>
<f:facet name="menuBar"/>
<f:facet name="toolbar">
<af:group id="g1">
<af:commandLink text="Countries" id="cl1" partialSubmit="true">
<af:setPropertyListener from="#{'countries'}" to="#{requestScope.SearchBy}"
type="action"/>
</af:commandLink>
<af:spacer width="10" height="10" id="s1"/>
<af:commandLink text="Depts" id="cl2" partialSubmit="true">
<af:setPropertyListener from="#{'depts'}" to="#{requestScope.SearchBy}"
type="action"/>
</af:commandLink>
</af:group>
</f:facet>
<f:facet name="legend"/>
<f:facet name="info"/>
<af:region value="#{bindings.tf11.regionModel}" id="r1" partialTriggers="::cl1 ::cl2"/>
</af:panelHeader>
When I run this, the default "countries" page is displayed in the region. The af:query functions perfectly. When I click the link to the Depts page, the region refreshes as expected, but when the query table is rendered an error is thrown "Content failed to load.... data transmission was interrupted. Checking the log, I'm getting....
<LifecycleImpl> <_handleException> ADF_FACES-60098:Faces lifecycle receives unhandled exceptions in phase RENDER_RESPONSE 6
java.lang.IllegalStateException: Could not find component to stream
<FaceletViewHandlingStrategy> <handleRenderException> Error Rendering View[Home]
java.lang.IllegalStateException: Could not find component to stream
Couldn't find much online about this error message.
The only way I've been able to stop the issue is to remove the af:table on the depts query page.
I also tried using a dynamic region to get the above functionality (dividing each query page into it's own taskflow and removing the router) and got exactly the same issue.
Any ideas?
Thanks
Edited by: drb on Nov 24, 2011 6:31 PM

Just in case anyone else has this issue -:
It turns out that the fault was using RequestScope parameters within the af:setPropertyListener. Once I changed this to a longer scope, pageFlowScope for example, the issue was resolved.

Similar Messages

  • Dataset query issues twice if the dataset is connected to matrix and used in multilookup function

    hello everybody.
    could not find any information if this is an intended behavior:
    dataset query issues twice if the dataset is connected to matrix and used in multilookup function
    parameters in both queries are the same
    ssrs: 2008 r2, sharepoint 2010 integrated
    sharepoint 2010: september 2014 cu
    thanks in advance
    Sergey Vdovin

    Hello, Wendy.
    I prepared a very empty sample report for you to demonstrate the problem - with this report, i hope, there is no place to discuss the shrinking of time data retrieval.
    There is one dataset, one parameter and one lookup function. The query is executed twice.
    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns:rd="http://schemas.microsoft.com/SQLServer/reporting/reportdesigner" xmlns:cl="http://schemas.microsoft.com/sqlserver/reporting/2010/01/componentdefinition" xmlns="http://schemas.microsoft.com/sqlserver/reporting/2010/01/reportdefinition">
    <AutoRefresh>0</AutoRefresh>
    <DataSources>
    <DataSource Name="DataSource1">
    <DataSourceReference>http://t005/ProjectBICenter/DocLib/IntegrationDBVdovin.rsds</DataSourceReference>
    <rd:SecurityType>None</rd:SecurityType>
    <rd:DataSourceID>7e554344-d6c2-48a5-a7f4-1d24608cb4b5</rd:DataSourceID>
    </DataSource>
    </DataSources>
    <DataSets>
    <DataSet Name="DataSet1">
    <Query>
    <DataSourceName>DataSource1</DataSourceName>
    <CommandText>select 1 as temp, '$' as tempname</CommandText>
    <rd:UseGenericDesigner>true</rd:UseGenericDesigner>
    </Query>
    <Fields>
    <Field Name="temp">
    <DataField>temp</DataField>
    <rd:TypeName>System.Int32</rd:TypeName>
    </Field>
    <Field Name="tempname">
    <DataField>tempname</DataField>
    <rd:TypeName>System.String</rd:TypeName>
    </Field>
    </Fields>
    </DataSet>
    </DataSets>
    <ReportSections>
    <ReportSection>
    <Body>
    <ReportItems>
    <Textbox Name="ReportTitle">
    <CanGrow>true</CanGrow>
    <KeepTogether>true</KeepTogether>
    <Paragraphs>
    <Paragraph>
    <TextRuns>
    <TextRun>
    <Value>=Lookup(1,Fields!temp.Value,Fields!tempname.Value,"DataSet1")</Value>
    <Style>
    <FontFamily>Verdana</FontFamily>
    <FontSize>20pt</FontSize>
    </Style>
    </TextRun>
    </TextRuns>
    <Style />
    </Paragraph>
    </Paragraphs>
    <rd:WatermarkTextbox>Title</rd:WatermarkTextbox>
    <rd:DefaultName>ReportTitle</rd:DefaultName>
    <Top>0mm</Top>
    <Height>10.16mm</Height>
    <Width>139.7mm</Width>
    <Style>
    <Border>
    <Style>None</Style>
    </Border>
    <PaddingLeft>2pt</PaddingLeft>
    <PaddingRight>2pt</PaddingRight>
    <PaddingTop>2pt</PaddingTop>
    <PaddingBottom>2pt</PaddingBottom>
    </Style>
    </Textbox>
    </ReportItems>
    <Height>57.15mm</Height>
    <Style>
    <Border>
    <Style>None</Style>
    </Border>
    </Style>
    </Body>
    <Width>152.4mm</Width>
    <Page>
    <PageFooter>
    <Height>11.43mm</Height>
    <PrintOnFirstPage>true</PrintOnFirstPage>
    <PrintOnLastPage>true</PrintOnLastPage>
    <Style>
    <Border>
    <Style>None</Style>
    </Border>
    </Style>
    </PageFooter>
    <PageHeight>29.7cm</PageHeight>
    <PageWidth>21cm</PageWidth>
    <LeftMargin>2cm</LeftMargin>
    <RightMargin>2cm</RightMargin>
    <TopMargin>2cm</TopMargin>
    <BottomMargin>2cm</BottomMargin>
    <ColumnSpacing>0.13cm</ColumnSpacing>
    <Style />
    </Page>
    </ReportSection>
    </ReportSections>
    <ReportParameters>
    <ReportParameter Name="ReportParameter1">
    <DataType>String</DataType>
    <DefaultValue>
    <Values>
    <Value>1</Value>
    </Values>
    </DefaultValue>
    <Prompt>ReportParameter1</Prompt>
    <ValidValues>
    <DataSetReference>
    <DataSetName>DataSet1</DataSetName>
    <ValueField>temp</ValueField>
    <LabelField>tempname</LabelField>
    </DataSetReference>
    </ValidValues>
    </ReportParameter>
    </ReportParameters>
    <rd:ReportUnitType>Mm</rd:ReportUnitType>
    <rd:ReportServerUrl>http://t005/ProjectBICenter</rd:ReportServerUrl>
    <rd:ReportID>cd1262ef-eca7-4739-a2ce-d3ca832d5cd6</rd:ReportID>
    </Report>
    Sergey Vdovin

  • Cell definition in Query Design within Bex Analyzer

    Hello,
    I would like to use special cell definition to visualizing the difference row definition between 2 columns (last year and actual year). With "Cell Definition" function in Query Design within Bex Analyzer there's a option to select a new restricted key figure for a related cell. But as a result I just can see a star (*) against a result number in that field. Do you have an idea, how can I solve this problem?
    Thanks and Regards,
    Nuran

    Hi again Dirk,
    there's not a unit problem. We use 2 different restricted key figure definition for a same row. The first restricted (or can be decribed as calculated key figure) key figure must be used in the first column to represent the value of the last year. And at the same row with usage of same text (for example: cost of goods sold)the second restricted key figure should be used to show the value of actual year (B2:costs in euro). The problem is the key figure definitions are totaly different; they're using different account groups etc. Cause of, I wanted to use cell definition function. In the first value field (B1) should be shown first key figure but I just get star (*) and a wrong value in the formula field of excel (between the toolbars and the result area).
    Thanks for your reply.
    Nuran

  • Web Query issues

    Hi All,
    I have created a web query and assigned it to a role. I have moved the role, web templete and the query from dev to QA was able run the query fine without issues.
    The problem I am having is when I make changes to the query and transport it to QA...when I run the query from the role menu it still shows the old query instead of the changed query.
    Can someone please explain what are the steps I need to take when I make changes to exsisting web query in dev and move to QA and be able to see the changes. What are all the objects I need to collect. Also would like to know if there are any settings on the role menu or web templete that need to be changed and also any buffers that I need to cleared??
    Any help is appriciated and will give max points.
    Thanks

    BWdesi,
    please avoid reposts - it could be that due to network issues the post got posted twice... close one of them as answered and then proceed with the other one...
    Web Query issues
    Arun

  • Multiple Cell Selection Scaling Factor Issue within BEX

    We have a report which we need to create views from where each view is simply a different scaling factor within 20 rows of a 50 row query.  
    Within WEB reporting, you can simply select all the cells you want, and then select the proper scaling via the context menu.
    When you try to do the same thin in BEX though, only the first cell that is selected within the total selection is changed to the desired scaling factor selected.
    So...is this a bug?  ...and/or how can we selectively change the scaling for multiple cells within BEX?
    You can of course selectively choose which figures should have a specific scaling, but we need views saved and not queries for this....and to my knowledge you can't save views out of query designer.
    any thoughts?

    When you try to do the same thin in BEX though, only the first cell that is selected within the total selection is changed to the desired scaling factor selected.
    are you trying to do this with cell references or are you doing it for the entire row/ column ?
    you can create cell refernces for the cells that require differenr scaling factor in the query designer and then using cell properties you can define a scaling factor of your choice.
    To create a cell refence simply double click that cell OR right click>create new cell refernce.
    then you will be able to see cell properties where you can define desired properties.
    Hope this helps you.

  • Query issue

    I had query issue on planning layout
    Sold    mat   price   qty   amount
    100      3        5        5          25    layout 1
    100      4       10       5          50    layout2
    when I should removed  material  cal has to come  like this
    100             15        10          75
    but I getting value like
    100        15       10       150
    can u plz tell me how to slove this
    regards
    raju

    Dear Raju,
    In the query, for the Calculated Key Figure (Amount)
       Select properties, enhanced and change to:
                          "BEFORE AGGREGATION"
    It seems to be doing after aggregation, which is  default.
    it is aggregating:
        price = 5+10 = 15
        qty   = 5+5 = 10
        Amount = 15 * 10 = 150
    Good luck, BB

  • Physical query issued by Obiee when cache is on is different and slow

    When the same report runs in OBIEE 10g and cache is OFF it takes less then 1min to get results. If cache is turned ON physical query issued by Obiee is totally different and it takes 2h to get results. Has anyone experienced this with having cache on that some queries are performing poorly.
    Thanks,
    Tatjana

    We are using BI Apps Order Management and Fulfillment Analytics and all tables are cached anyway. Dimensions used are not that huge up to 40K rows. What should I check when it comes to DB query? As I said is different than one generated when cache is disabled although both have the almost the explain plan.

  • ADF UIShell - Within a Taskflow

    Hi.
    I have successfully run the UIShell demo.
    However, I have tried to see if I can use for example, --> Second.jspx as a URL view within a specific bounded Taskflow, that sits in a region in TEST.JSPX. However, when I try
    and run TEST.JSPX, I get the following error --> "Target Unreachable, 'tabContext' return null".
    Is there a way to get around this error, or I am doing something wrong. I really need the UIShell functionality to work within a Taskflow component.
    Thanks.
    Channeld

    Hi,
    I tried to follow your use case and did the following based on the "UIShellSherman_V02" demo ui shel app:
    1. Created a new sample-task-flow-definition and added one view and one URL-view.
    view1 -------launch----> urlView1
    2. Defined the url of the urlView1 to "http://127.0.0.1:7101/UIShellSherman-uiShellViewController-context-root/faces/First.jspx".
    3. Created the view1.jsff and added a single button with action="launch".
    4. Open adfc-config and added a new testPage view.
    5. Create the testPage.jspx and drag the sample-task-flow-definition as a region.
    6. Run the testPage.jspx
    7. Invoke the button on view1.jsff, and viola! The First.jspx did display properly.
    pino

  • I purchased an iPhone 3 and had photos on it. Started having issues within 30 days and could replace it. Moved photos to back up on iCloud. did not restore new phone from back up how can i save the new photos and retrieve the old ones?

    I purchased an iPhone 3 and had taken some photos on it. I started having issues within 30 days and could replace it. So I created an iCloud account and  saved those photos as a back up on iCloud. I did not restore my new phone from back up because I did not realize I needed to restore and not just activitate it. How can I save the new photos, apps, and other stuff but retrieve the old photos?

    If all you want is your old photos, you could backup your new phone using iTunes, then restore it from your iCloud backup, import the old photos to your computer, then restore it from the backup your made in iTunes returning your newer data to your phone.  If you want your old photos on your phone, sync them there from your computer using iTunes.  The process would look like this:
    Connect your phone to your computer, when it appears in iTunes on the left sidebar right-click on it and select Transfer Purchases; right-click again and select Backup.
    Disconnect from your computer and go to Settings>General>Reset>Erase All Content and Settings to return it to new
    Go through the activation setup, choosing to Restore from iCloud backup.  Make sure your phone is plugged into a charger and has access to wi-fi as this can take hours to complete.
    When complete, without connecting your phone to your computer, open iTunes and go to Preferences.  On the Devices tab check "Prevent...from syncing automatically"
    Now import the old photos to your computer (see http://support.apple.com/kb/HT4083)
    When done, open iTunes, right-click on the name of your phone on the left sidebar and select Restore from Backup, choose the backup you made in step 1.
    Go to the Photos tab and select the photos you want to sync to your phone and sync.

  • TS1646 I use and overseas credit card for purchases but Itunes is insisting on a credit card issued within NZ where I live.?

    Why can I not use and overseas credit card for purchases?  My account information is insisting on a credit card issued within my country of residence..?

    iTunes doesn't allow a credit card that was issued by a bank in another country (possibly because it's a way of confirming that you are able to buy from a country's store) - you will only be able to use a credit card issued by a New Zealand bank. Or you could use iTunes gift cards as your payment method, as far as I can see they are available in New Zealand.

  • Paged query results within a TIle ?

    what is the best way to page query results within a Tile
    component ?
    eg. I have a Tile component with multiple Repeater Image
    links supplied via an HTTPService call to a PHP script.
    I want to break up the tiled result pages to save loading
    time.
    Would I load the entire result set into Flex, and then
    control how they are viewed by using the horizontal or
    verticalScrollPosition property of the Tile container, or perhaps I
    could make multiple HTTPService calls for each page of results ?
    Any ideas would be much appreciated.

    What about using the tilelist object for multiple returned
    images? You can provide the list as the dataSource to the TileList.
    The images are dynamically linked and they are delivered from the
    server when they are rendered. That way you could bring down the
    url for many images and dynamically link to the images. This would
    allow you to bring down many rows at one time.

  • SQL query / binding issues within dreamweaver

    Not sure if anyone has had this problem, but its getting
    annoying.. when i
    execute this within SQL it returns all the values requested.
    If i execute it
    within dreamweaver to show me what results i will get back it
    works there..
    but after i bind the fields to my page and view it only some
    or all my
    fields do not display any data... but if i play around with
    the order of my
    select statement below i can get some fields to display and
    other
    disappear... and i dont ever touch my webpage again...
    Can anyone shed some light on this issue? Or is there a
    better way to
    display my results so that what i get back with my query will
    always
    display....
    here is my stored procedure that im calling
    SET NOCOUNT ON;
    SELECT
    c.cfname,c.clname,c.cid,h.termcode,h.hiredate,h.lastdate,h.cdateh,
    h.cdatet,h.startdate,h.managername,h.termby,
    availsun1,availsun2,availmon1,availmon2,availtue1,availtue2,
    availwed1,availwed2,availthur1,availthur2,availfri1,availfri2,
    availsat1,availsat2,h.comby,ssn_dash = dbo.SSN_dash(cssn),
    Home = dbo.PhoneNumber_complete_format(chphone),
    Mobile = dbo.PhoneNumber_complete_format(cmphone),
    Other = dbo.PhoneNumber_complete_format(cophone),
    Jobtitle =
    case
    when c.st = '90' then
    (select top 1 j.jobtitle from has.dbo.JobCodes j where j.hjob
    = h.jobid and
    j.hlocation = 'DC')
    else
    (select top 1 j.jobtitle from has.dbo.JobCodes j where j.hjob
    = h.jobid and
    j.hlocation <> 'DC')
    end,
    (Select T.term_reason
    From has.dbo.termcodes T, has_arc.dbo.EmpTermHistory H
    where T.term_val = H.termcode and h.cid = @cid) as
    TermReason,
    Days = @day,
    Months = @month,
    Years = @year
    FROM has_arc.dbo.EmpCandidate C, has_arc.dbo.EmpTermHistory H
    WHERE C.cid = @cid AND C.cid = H.cid
    END
    ASP, SQL2005, DW8 VBScript

    Can anyone help shed some light on this?
    ASP, SQL2005, DW8 VBScript
    "Daniel" <[email protected]> wrote in message
    news:ff3ud8$10k$[email protected]..
    > Not sure if anyone has had this problem, but its getting
    annoying.. when i
    > execute this within SQL it returns all the values
    requested. If i execute
    > it within dreamweaver to show me what results i will get
    back it works
    > there.. but after i bind the fields to my page and view
    it only some or
    > all my fields do not display any data... but if i play
    around with the
    > order of my select statement below i can get some fields
    to display and
    > other disappear... and i dont ever touch my webpage
    again...
    >
    > Can anyone shed some light on this issue? Or is there a
    better way to
    > display my results so that what i get back with my query
    will always
    > display....
    >
    > here is my stored procedure that im calling
    > SET NOCOUNT ON;
    > SELECT
    >
    c.cfname,c.clname,c.cid,h.termcode,h.hiredate,h.lastdate,h.cdateh,
    > h.cdatet,h.startdate,h.managername,h.termby,
    >
    availsun1,availsun2,availmon1,availmon2,availtue1,availtue2,
    >
    availwed1,availwed2,availthur1,availthur2,availfri1,availfri2,
    > availsat1,availsat2,h.comby,ssn_dash =
    dbo.SSN_dash(cssn),
    > Home = dbo.PhoneNumber_complete_format(chphone),
    > Mobile = dbo.PhoneNumber_complete_format(cmphone),
    > Other = dbo.PhoneNumber_complete_format(cophone),
    > Jobtitle =
    > case
    > when c.st = '90' then
    > (select top 1 j.jobtitle from has.dbo.JobCodes j where
    j.hjob = h.jobid
    > and j.hlocation = 'DC')
    > else
    > (select top 1 j.jobtitle from has.dbo.JobCodes j where
    j.hjob = h.jobid
    > and j.hlocation <> 'DC')
    > end,
    > (Select T.term_reason
    > From has.dbo.termcodes T, has_arc.dbo.EmpTermHistory H
    > where T.term_val = H.termcode and h.cid = @cid) as
    TermReason,
    > Days = @day,
    > Months = @month,
    > Years = @year
    >
    > FROM has_arc.dbo.EmpCandidate C,
    has_arc.dbo.EmpTermHistory H
    > WHERE C.cid = @cid AND C.cid = H.cid
    > END
    >
    >
    > --
    > ASP, SQL2005, DW8 VBScript
    >

  • SELECT query from within a stored procedure

    DB Version:10gR2
    For auditing purpose, i just want to execute the query within the IF condition, and get the results for spooling. But i am getting PLS-00428 error. Can't i just execute a SELECT query and get its results displayed in SQLPLUS so that i can spool them?
    SQL&gt; create or replace procedure ship_dtl_aud
      2  is
      3  v_exists number;
      4 
      5  begin
      6  
      7  Select count(1) into v_exists
      8  From ship_dtl
      9  WHERE track_code = 10
    10  AND mod_date_time &lt; SYSDATE - 1/(24*60);
    11 
    12   if v_exists&gt;0
    13   then
    14            select s.username,s.sid, s.serial#, s.terminal,p.spid
    15   from v$session s, v$process p
    16   where s.paddr = p.addr and s.sid in (select SESSION_ID from V$LOCKED_OBJECT);
    17 
    18          end if; 
    19  end;
    20  /
    Warning: Procedure created with compilation errors.
    SQL&gt; show errors
    Errors for PROCEDURE ship_dtl_aud:
    LINE/COL ERROR
    14/11    PLS-00428: an INTO clause is expected in this SELECT statement

    Within PL/SQL code, the results of a query have to be returned from the SQL engine to the PL/SQL engine, hence why it is asking you to include an INTO within your query. Note that the PL/SQL engine is running on the database server so it has no interface to display output to. To output from within PL/SQL you would have to write the data out yourself to whatever output you want e.g. use DBMS_OUTPUT to put the data to the standard output buffer (which can then be read by SQL*Plus if serveroutput is set to "on") or written out to a file on the server, or written out to a table.
    You are assuming that because you can execute SQL from SQL*Plus and spool the output, you can do the same within PL/SQL. This is not the case. When SQL*Plus issues a SQL statement, it goes to the SQL engine and the results of that cursor (as an SQL query is a cursor) are collected by SQL*Plus and it displays them itself. When PL/SQL issues a SQL statement, it goes to the SQL engine and the results of that cursor come back to PL/SQL. PL/SQL doesn't have a display mechanism, so the results have to be collected INTO something.
    Hope that's clear.

  • UCCX 5 SQL Dbase Query Issues - Slow Returns

    For several months it seemed to me that our UCCX 5 system was beginning to have trouble. At first it appeared as a problem with our wallboard system being unable to display the real-time data properly. I had deduced that queries to the db_cra database were taking 4 - 5 minutes to return data.
    At first I called on the vendor for our wallboard, but they were unable to help stating that it was a UCCX database issue - and I agreed. I then went to Cisco TAC and fed them all my information and asked them for help. They also were unable to help figure out what was happening, but they could see that the SQL queries that used to take 2 seconds were now taking several minutes. Since the wallboard system queried the database every 10 seconds, it was over-taxing the database.
    This began to cause little anomalies in things like call-distribution, dropped calls, slow to no Historical reports returns, and this ultimately began to cause failovers to our backup node. I could not go a day without a failover and I had to reboot the servers almost every night.
    I felt there was no solution and was afraid we needed to replace our system.
    After talking to all the engineers around the world, my solution came from our very own SQL administrator. Within 5 minutes he was able to resolve all our issues.
    The root of our problem was that the indexing of the db_cra database was extremely fragmented.
    He wrote a SQL sript that he had me run against the database and he told me that this would correct any indexing issues.
    It worked like a charm.
    The system stopped behaving poorly immediately. This resolved many of our problems that I had been living with for a long time. It made the Admin page work so much faster, call distribution issues halted, the wallboard is running faster than ever with real-time data, and the list goes on. This resolved so many smaller issues that I cannot even list them all.
    I would advise anyone using a SQL database, whether it be a Cisco product or not, to always keep their database 'defragmented'.
    My SQL admin also setup the script to run automatically, on a schedule to keep our database running like a Ferrari. It has been sweet ever since.
    KEEP YOUR INDEXES CLEAN AND YOU WILL REAP HAPPINESS!

    I was equally shocked that there was no escalation, as was my boss and my Cisco rep. They let me go with no resolution and hung-up the phone leaving me with instructions to have some-one else take a look at the database. It was very unexpected, especially considering how close they were to the point when we were trouble-shooting.
    The TAC SR # 611904619 - IPCC Database Not Returning Query Data.
    With this resolution, it also raised to my mind the issue of Informix. We are using CUCM 6.1.2 and are concerned about the same issue happening there and we would like to determine if this can happen there also, and if there is a re-indexing tool available for Informix.

  • Query builder within application

    Hi ,
    is that possible to call query builder
    as a pop up window from the application ?
    Thanks ...

    Hi,
    Not sure, if it is too late for replying for this issue. But, I found the same issue today when I was trying to build the graph(multi-line chart) making use of Function Body returning SQL.
    "'SVG Chart error: ORA-20001: line_chart error: ORA-20001: get_data error: ORA-20001: Function returning SQL query: Query cannot be parsed within the Application Builder.'"
    Here is the work around for the problem
    Step 1.
    Define two hidden items. (depending on the number of series you are having, in this case, it is two). name it like P25_GRAPH_SQL1 and P25_GRAPH_SQL2.
    Step 2.
    Write Onload Computation for these two variables and set the values for these variables using the same Function Body returning SQL which you make use in graph(multi-line chart ).
    Step 3.
    Use the variables P25_GRAPH_SQL1 and P25_GRAPH_SQL2 in the graphs(multi-line chart).
    Step 4.
    Define the content in the series as(nothing else)
    &P25_GRAPH_SQL1.
    and for the series 2 as
    &P25_GRAPH_SQL2.
    Please do not include any other code with this and just make use the above code. Please note that you need to mention the "&" ampersand at the beginning and dot at the end of the variable.
    Step 5.
    Try running the graph(multi-line chart ) now.
    Hurray!! it should show you the graph without any issues provided you have the proper SQL mentioned.
    Step 6.
    Then, give me a treat if it works!!
    Cheers!!
    Prabhakar

Maybe you are looking for

  • How can I get my old itunes library back on a new computer when I lost my old computer

    I had iTunes on my old computer and the programming was messed up and I lost my itunes. I now have a new computer and I want to restore all the music I previously bought, as it was quite a lot

  • Error in creating Business Partner using FLBPD1

    Dear All, While creating the Business partner using tcode FLBPD1, I get the following error. Also I need help to understand how to start Post Processing Office. No business partner could be created for customer CFM0031 Message no. CVIC_UI018 Diagnosi

  • My older username is not working...had to create a...

    how can i ge into my old account its saying is not found but whden i look i up under my new profile i found it...I would like to use my older username i have all my conacts under that profile...How can i get into that profile

  • Unable to install OS x mountain lion, startup disc missing.

    Out of nowhere my internet crashes, then right after my laptop crashes and loads really slow. I tried to erase and restore but error appears every time and when I try to re install os x mountain lion, no disc appears for selection to install the hard

  • Unable to create logical port in SOAMANAGER

    Hi All, When Im tryign to create a logical port for my consumer proxy I get SRT Framework exception: HTTP: Current user does not have the required authorization to access the HTTP destination. Any clue what authrizations I need? I didnt get this erro