Bind varibles,reports,dblink and view based on joins

Created a report in portal with sql code (<oracle> tag) which fetches data from remoted db on 7.3.4.5 thru db link..
But when i run report it says 0 rows found..seems bind varibles r not getting bounded..
Db link is active.
Same query works fine in sql plus .But does not work in portal or TOAD.
Any qlue..
sarvesh

Hi,
Did you try creating any other components or a view using the same query and DBLink and see any results ??
what version of portal are you using .
Thanks,
Anu

Similar Messages

  • View link between view based on entity(table) and view based on stored proc

    I've created a view based on a stored procedure. I need to link this view to a view based on an entity which is based on a table.
    I can create the view without issue, but when I attempt to run the application module that contains the relationship I get this error:
    (oracle.jbo.InvalidOperException) JBO-26016: Cannot set user query to view "SalesentityModuleApiView2" because it is a destination in a view link
    One thing that may be notable about this is that this view started out based on a database view. I later overrode the select related methods using the example here:
    http://download-east.oracle.com/docs/html/B25947_01/bcadvvo008.htm
    Any ideas? I will gladly post some code if someone will let me know what might help diagnose this.

    Hi,
    I solved my problem with adding transient field, and changing the value of it (true | false) on set method of field that can be changed so I can get which row was updated. What exactly do you mean when you say not updateable, I'm using a vo with no entity, and I can add, remove rows, in fact I think it's a good solution because I don't want to write to database immediately.

  • Dblink and view

    Hi
    I have created a db link in my backend database and a view on top of it.
    developer has created an application on this view( which uses db link,) he sometime gets error saying page can not be displayed when accessing his application and at the database level we are getting plenty of trace/dump files and below error message
    ORA-02097: parameter cannot be modified because specified value is invalid
    ORA-00439: feature not enabled: Database resource manager
    any advice is appreciated.
    Thanks

    Hi,
    Did you try creating any other components or a view using the same query and DBLink and see any results ??
    what version of portal are you using .
    Thanks,
    Anu

  • Error in Report Execution and Viewing

    We have some reports that were originally developed in Crystal Reports 5 running on Crystal Reports Xi now.
    Our users reported getting the following error while printing
    Error in File C:\temp\{72703900-5223-49CB-8C2A-A83FCFCA4447}.rpt: The request could not be submitted for background processing.
    When I refresh this report using the crsytal reports tool (desktop tool), I see the report, but as I am browsing the report using the navigation buttons, I get the following error on one page. After reporting this error, the application shuts down.
    CiceroUIWndFrame:crw32.exe - Application Error
    The exception Integer division by zero.
    (0xc000094) occurred in the application at the location  x2c03a340
    Click OK to terminate program
    Click CANCEL to debug program
    I checked the formulas and sql queries on this report and there is no division of any sort being performed. There is some grouping being done.. but the flelds being grouped on have data and I think its unlikely that the grouping would cause this error.
    I am using windows XP sp2. The server is a windows 2000 server with IIS going against a sql server 9 version database.
    Thanks,
    Jayashree

    Hi James,
    Thank you for your quick response.
    I checked the report and the remainder functions is not being used.
    The only formulas being used in the report are the following.
    UpperCase ([1])
    + ", " + - This is set to @name
    {@name} + " (" + + ")"
    There are some formatting formulas set on the above values, but other than that, there is a sql query and the "select distinct rows" and "perform grouping on server" is selected.
    Thanks,
    Jayashree

  • Not Yet Documented ADF Sample Applications #113.Apply Bind Varible Val @11g

    Hi ,
    I am trying to apply this to 11g but I am facing some weird issues. I am using an editable inline detail table and when I edit a row and refresh the page it adds a new row with the updated value to the table.
    Should I use a different way to Apply Bind Varible Values to Filter View Link Accessor RowSets in 11g ?
    113.Apply Bind Varible Values to Filter View Link Accessor RowSets
    Thanks

    Hi Frank,
    Would really apprecaite your feedback and Muhammad has same issue and he is
    trying work around for this issue using view accessor.
    I read your wonderful blog everytime, I am stuck in problem , I would appreciate ,if you can give me answer to my issue.
    Let us consider : Item , SubItem relationship.
    Component : Item VO , SubItemVO , Item can have many subitem.
    1.Created ItemVO
    2.Create SubItemVO
    3.Create View Link based on ItemVo-ItemId that is FK in SubItem table.
    4.Created JSF page and Dragged ItemVO from Datacontrol to JSF Pagen as ADF ReadOnly Table.
    5.Expanded Item table structure in Structure window and open the detailstamp.
    6.Dragged SubItemVO in detailstamp as ADF ReadOnly table.
    Expected Result :
    1. ItemVO First Row
    1.SubItems belonging to ITEMVO First Row
    2.SubItems belonging to ITEMVO First Row
    2.ItemVO Second Row.
    1.SubItems belonging to ITEMVO Second Row
    Current Result :
    1. ItemVO First Row
    1.SubItems belonging to ITEMVO First Row
    2.SubItems belonging to ITEMVO First Row
    2.ItemVO Second Row.
    1.SubItems belonging to ITEMVO First Row
    2.SubItems belonging to ITEMVO First Row
    Description: Second ItemVO when expanded shows first ItemVO SUBITEMS.
    Thanks,

  • Differance between the Cost based costing and Account based costing

    Hi,
    What is the Differance between the Cost Based Costing and Account Based Costing ?

    You can check sap note 69384
    COSTING-BASED PROFITABILITY ACCOUNT-BASED PROFITABILITY
    ANALYSIS ANALYSIS
    OBJECTIVE
    o profitability and sales accounting
    o evaluation of market segments (for example,
    customers, product groups, sales areas) and corporate
    units (for example, division, sales organization) with
    regard to their profit or contribution margins
    o calculation of profits procedures
    - cost-of-sales accounting
    - interim and reconciled sales report
    - periodic and transaction-based allocation
    - Profitability Analysis on the basis of full and
    direct costs
    o posted and costing-based values o account-based values
    o can be reconciled with FI for o always reconciled with
    account groups (revenues, sales FI on account level
    deductions, costs of goods
    Note 69384 - Information: Account-based Profitability Analysis
    manufactured, and so on)
    DATA STRUCTURES
    o definition of operating concerns o definition of operating
    with fixed characteristics and concerns with fixed and useruser-
    defined characteristics defined characteristics
    and value fields
    o cumulative storage by posting o cumulative storage by
    periods and weeks posting periods
    o storage in operating concern o controlling area currency,
    currency (as of Release 4.0 also company code currency
    optional in company code currency and transaction currency
    if req.)
    o user-definable summarization levels
    FUNCTIONS
    o transfer of profit relevant o transfer of profit-relevant
    business transactions from SD, FI activities from SD, FI, CO, MM
    CO, MM (revenues, sales deductions (revenues, sales deductions and
    and costs organized by value fields) costs organized by accounts)
    o Derivation of characteristics from master
    data or using derivation rules
    o Realignments also for data that is already
    posted
    o Valuation
    (Costs of goods manufactured, imputed
    costs and sales deductions)
    o sales and profit planning o profit planning
    - flexible layout - flexible layout
    - periodic distribution - periodic distribution
    - valuation, revaluation - forecast procedure
    - forecast procedure - top-down distribution
    - top-down distribution - simulation
    - simulation
    o profit analysis by means of 'interactive drill-down
    reporting'
    - Report Painter
    - object list/ranking lists, database schema
    - drill-down
    - key figure systems
    - flexible hierarchies
    - navigation between reports
    - exception reporting
    - ABC analyses
    - Exporting (Excel, Winword, Mail)

  • OBIEE report based on same criteria but different view based on filter

    Hi,
    I am trying to create a report in OBIEE 11.1.1.5 where In the same report using the same criteria, I can have different views which applies different filter.
    Suppose, I have a report criteria as
    Dim1, Dim2, Measure1, Measure 2.
    I want to create two pivot view based on the same data.
    One view will be showing data Dim1="Value1". The other view is duplicate of this view but will show data Dim1="Value2".
    Is it possible in OBIEE?
    basically what I want is work on the same dataset but different representation and show them in the same report. Please share your opinion.
    Regards,
    Tanveer.

    Hi,
    You create a new dim dummy column in criteria and in presentation level create new pivot table view use this dummy dimension column and filter with dim1=value2.
    give updates on this.
    Mark if Helpful/correct.
    Thanks.

  • Interactive report on view based on pipelined table function.

    Hi,
    I want to build an Interactive Report on a view.
    The view definition contains a select on a pipelined table function. I use context functionality to pass paramaters to the pipelined table function.
    A plain select * from #my_view# in SqlPlus results in 121 different rows.
    However, If I base my Interactive report on this view, I get 15 repeated rows (all the same).
    Is it possible to use pipelined table functionality on an Interactive report? I can't seem to get it working.
    If I use the following approach (http://rakeshjsr.blogspot.nl/2010/10/oracle-apex-interactive-report-based-on.html) I do get results, but I can't use this solution for a reason that's not relevant.

    Hello,
    Is it possible to use pipelined table functionality on an Interactive report? I can't seem to get it working. I have used it in one instance and it works fine. However I was passing the values to pipe-lined function directly.
    IR Query..
    SELECT * FROM TABLE(fn_pipeline(:P1_ITEM_NAME))Call pipe-lined function from IR query directly (instead of using view)
    Try sending values to Pipe-lined function directly. In-case if the problem is with setting and getting values from the context?
    Regards,
    Hari

  • Performing searches and scrolling within a report using Plus and Viewer

    Hi All:
    In Discoverer Plus and Viewer, is there a way to do searches within a report?
    Also, if I have a report that has multiple pages, as much as I can adjsut the row number, is there a quick way to get from the beginning to the end of the report and vice versa without using the Down/Up option?
    thanks .... cm

    Hi cm
    In Plus, you can click the Search button, it has the icon of a Torchlight. This brings up a new dialog box that allows you to search through the report. Because Viewer is an HTML page it has no similar feature. If the whole report is on screen you can the browsers own search facility by pressing CTRL-R.
    As for getting to the last page in Viewer, that functionality was added as an enhancement during the release of 10.1.2.2 cumulative patch 2 and has been continued into 10.1.2.3
    Here are the notes from CP8:
    Enabling Bug 5639863 - ENH: NEED OPTION TO NAVIGATE TO LAST PAGE IN VIEWER
    Introduced UI for page navigation, using which a user can navigate to first/previous/next/last/specific page of the worksheet in Viewer. A new config parameter, named ‘pageNavigation’ has been added in configuration.xml as part of this enhancement.
    It is a Boolean parameter, which when set to true, the page navigation toolbar will appear in the Viewer page, else not. It has been added owing to the fact that non-incremental query has to be run for showing the page serial number information correctly, thus resulting in relatively more show-up time of worksheet (based on how large the worksheet is) for the first time its rendered. It is recommended to set this parameter as FALSE, because setting it to true makes the query non-incremental, which is a performance trade-off.
    And some additional commentary from CP2:
    The default is FALSE. If you wish to use this UI, then you may notice a performance trade off for very large queries when the query initially runs compared to the default 10.1.2 functionality. The trade off is that it is much easier and quicker to navigate to specific pages of a large report.An example of the usage of 'pageNavigation' is given below
    <viewer queryRefreshPeriod="3000" queryRequestTimeout="1000"
    longRequestRefreshPeriod="6000" longRequestTimeout="10000"
    userDefinedConnections="true" logLevel="error" laf="dc_blaf"
    switchWorksheetBehavior="prompt" defaultLocale="en" disableBrowserCaching="false"
    enableAppsSSOConnection="false"
    pageNavigation="true">
    Best wishes
    Michael

  • Hi, i am trying to open and view a report that comes from another server with different odbc connection

    hi, i am trying to open and view a report that comes from another server with different odbc connection
    i created a crystal report for a mysql database on my machine and everything works great
    but we have other reports that come from other machines with different odbc connection
    and this its not working when opens the report asks for credentials
    and i cannot use the remote ip for these reports that come from other machine
    question
    if i cannot connect to remote ip to open the report
    for each report i have to create a database the report database on my machine and then open the report ?
    or there is some other way to open the report ?
    i am using visual studio 2013 and mysql and
       <add key="MYSQLODBCDRIVER" value="{MySQL ODBC 5.3 UNICODE Driver}"/>
    thanks

    short
    i have a report that it was created on another server with a specific dsn
    now i am trying to open the report on my machine
    the database from the other server does not exist on my machine
    the server machine where the report was created the ip its not accessible
    question ?
    can i open the report on my machine or its impossible ?
    thanks

  • Difference between refresh of Report in Active Viewer and Active Studio BAM

    We use the Oracle SOA Suite with BAM (on Linux) 10.3.2.0.
    I have 2 questions:
    1. We have made a report with several items and in Active Studio --> Select Report --> Edit mode --> I see the correct values for my report. When I open my report in Active Viewer I see data from yesterday. The report is not being refreshed. How can I change this, what is causing this difference between Active Viewer and Active Studio in Edit mode??
    2. One of my items in my report always gives the message: opening (only in Active Viewer, in Active Studio/edit mode I can see the correct data).

    Is your popup blocker turned off? I can only imaging that the popup blocker may be keeping the Live Data window from appearing and updating the dashboard. Active Studio doesn't do a Live update, but an update on report load.

  • Views on CF Report Builder and Crystal Report

    Dear all,
    I would like to get your opinions on CF Report Builder and
    Crystal Report.
    As we all know, CF Report Builder is a new reporting tool.
    But I find it very difficult to design a complex report maybe due
    to limitation in its functionalities. Sometimes the tool shutdowns
    by itself without any warning and reason. But the output is nicely
    presented on a flash paper / pdf and it can be run on non-MS
    platforms.
    On the other hand, Crystal Report is a more matured product
    but runs only on MS platform. It is very easy to use and very
    powerful. I have been using it for almost 10 years. But the output
    is not nicely presented on the web browser unless if we purchase
    Crystal Report Enterprise to generate the report which is very
    costly.
    Can you all share your views? I need to make decision which
    tool(s) to use. Really appreciate it.
    Cheers,
    Keiko

    Hi Keiko,
    Yes, CF Report builder is new and initially there was few
    issues with this. But I guess now it's good after hotfixes.
    Well, I am using CF Report Builder. It's good for me. You can
    also design and develop complex reports, that depends upon the
    query you are writing. You can also add subreports to your main
    reports.
    Mainly CF Report is platform independent and you can also
    generate reports in PDF, EXCEL and FlashPaper.
    Crystal Report is no doubt is very good, and it's there for
    long years. I agree you can create complex reports with this, but
    you also can do the same in CF also. You are using this for last 10
    years, so I guess you should try something new and that is CF
    Report Builder and you can judge then.
    I am sure you will have fun with CF.
    Thanks
    Sankalan
    (www.mindfiresolutions.com)

  • Report Title and Text Area issue when exported to pdf using Viewer

    Hi there,
    We are using OracleBI Discoverer Version 10.1.2.55.26
    We have reports that displays Report title containing the following
    - Report Title
    - Runt Date and Time
    - Page No
    And text area which displays 'Last Page'
    Following properties are set at the worksheet level using page setup
    Report Title --> 'Print on every Page'
    Text Area --> 'Print on last page'
    The report when exported to PDF using Discoverer plus works fine and displays report title and text area as defeined.
    But when we try to export the same report to pdf from Discoverer viewer, it displays
    - Report title on first page only.
    - text area on all pages
    All our users accesses report using discoverer viewer so we cannot open discoverer plus to them.
    Is there a solution which will enable us to export the report in pdf using discoverer viewer and displays the same output as discoverer plus.
    Please let me know... If you have any questions then please feel free to ask.
    Thanks in advance for your help...
    Manish

    but when opened on other os x machines some text is colored differently than it should be
    Well, if typographic objects are colour managed, the colour appearance is dependent on the source ICC profile that describes the colourants in the typographic objects and the destination ICC profile that describes the colours the display is able to form and the RBC colourant combinations that will form those colours.
    In general, typographic objects should have special treatment, since the expectation is not that typographic objects should be colour managed, but that typographic objects should simple be set to the maximum density of dark. On a display, that is R=0 G=0 B=0 and on a seperations device (a lithographic press) that is C=0 M=0 Y=0 K=100.
    If for some reason typographic objects are colour managed, and if the ICC profiles for the displays are off by half a mile or more in relation to the actual state of the display system, then the colours will not be the same. On the other hand, if those displays are calibrated and characterized, then the colourants will be converted to form the same colours on the displays.
    /hh

  • Creating View based on Current and previous data from same table

    I am trying to create a view based on a table called “my_companies”. The table has following columns: “company_id”, “start_date”, “product_type_code”, “partner_id”
    The main purpose of this view is to obtain previous company_id’s associated with a particular “partner_id“and “product_type_code”. So basically, I’m looking to create an extra column, say “prev_company_id” in the view along with all the other columns. The “previous” data can be obtained depending on the “start_date”. I’m not able to write a query successfully to do this.
    Can anyone help? Thanks in advance.

    Hi,
    Whenver you have a question, it helps to post:
    (1) The version of Oracle (and any other relevant software) you're using
    (2) A little sample data (just enough to show what the problem is) from all the relevant tables
    (3) The results you want from that data
    (4) Your best attempt so far
    Executable SQL statements (like "CREATE TABLE AS ..." or "INSERT ..." statements) are best for (2).
    Formatted tabular output is okay for (3). Type before and after the tabular text, to preserve spacing.  The sample results should include any special cases that you foresee, such as one company having many previous companies, or vice-versa.
    It sounds like might need a +self-join+, where you have two copies of the same table, as if the current companies were in one table and the previous companies were in another, even though they are all actually in the same table.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • Strange problem with publication based on crystal reports, bwquery and DynR

    Hi everybody,
    I found the following behaviour when executing a publication based on a crystal reports document ontop of a BW query and dynamic receipients. This is what the personalisation looks like:
    _____________________Default Value
    PARAM1____________ null____________ @param1 based on my dynamic receipient list
    PARAM2____________  null____________ @param2 based on my dynamic receipient list
    PARAM3____________  10____________ Default value for all receipients
    When executed this happens:
    - the publication starts
    - the query is executed with the default values for the parameters
    - the query is executed for every receipient with the correct, personalised parameter values
    I am sure, the the query is executed with non personalised values because a) there is a cache entry on bw site and b) when one of the parameters is filled with an invalid default entry under personalization I get an bapi error.
    I am not 100% sure but I think this problem is new since SP3 or a 3.x fixpack. Has anyone faced the the same problem yet? Maybe Ingo knows something about it.
    Thank you very much in advance!
    Kind regards,
    Thorsten

    Hi Ingo,
    thank you very much for your reply. I am speaking of the default value entered under personalization in the publication in CMC or InfoView.
    The report only has parameters based on BEx varialbes.
    If needed I can post some screenshots.
    Kind regards,
    Thorsten
    Edited by: Thorsten Voß on Mar 17, 2011 9:23 AM

Maybe you are looking for

  • Can't add any more AP Divs

    Hi, I'm building a site for my husband which is built entirely with AP Divs (in CS3). Messy, but quick and easy. Never made a website before, so it's all a bit new to me! I've got to the stage now though, where I can't add any more. I can draw the sh

  • Gigabit ethernet (tg3) problem

    Hi all i have this ethernet Ethernet controller: Broadcom Corporation NetLink BCM5789 Gigabit Ethernet PCI Express (rev 21) using tg3 driver but link is up to a speed of 100 as ethtool shows Settings for eth0: Supported ports: [ TP ] Supported link m

  • Can someone pls tell me what data applet notinited means?!!

    Hi, I installed the plug-in...I have Java 2 Runtime environment and plug in 1.3.1_01 the applet appears in IE, but netscape said the plug in has to be installed again. I installed the same thing again, and I got the message "data applet notinited"...

  • Business Process Modelling Methodologies

    Hi, I am looking for graphical images of the following Business Process Modelling Methodologies: FI CO Project System. I am also looking for a graphical presentation of the interaction of the modules in the All In One System.

  • Why did I get a Kernel Panic?

    I got my first Kernel Panic on my early 2013 15' Retina Macbook Pro while browsing in Google Chrome.  I've had many system freezes in the past, where I can't even force quit, and can only hard reboot. I've attached the log file for the kernel panic b