Database view initialization in BP Publisher report

Hi,
I am novice to BI Publisher and trying to create some sample report in BI Publisher. The data source for my report is database, hence i have written a query based on view from APPS database. when i try to run the report, it does not show any data coz i did not make org id initialization for view. Can anyone suggest me how can i initialize the view in BI publisher.
Thanks for your help,
Regards,
AS
Edited by: user9959418 on Nov 4, 2008 9:35 PM

I am sorry if my question was not clear. I meant to say is, when you develop a report in Oracle reports 6i that time in case multi-org env, if we use views in our query then in before report trigger we use :
begin
dbms_application_info.set_client_info('ORG_ID);
end;
Is there any provision to use the same in case of BI publisher?
I hope i am clear with my question.
Thanks,
Regards,
AS

Similar Messages

  • APEX Database Configuration re XML / BI Publisher report issue

    Greetings,
    I have a problem that would be considered database related.
    I am attempting to implement the APEX REPORTS functionality.
    The process currently breaks for me when I have over 45 columns in an XML output in the APEX Reports framework. When I say BREAK, this is a very soft break. It just does not return any XML. The system eventually returns “no response” and then continues normally.
    Looking closer at the DB, I will see the session hanging on, and not completing with very little information. These sessions will stay active for a very long time… possibly indefinitely. They are running as “APEX_PUBLIC_USER”.
    The “current statement” shows as follows…
    BEGIN
       DECLARE
          l_bind_values   wwv_flow_global.vc_arr2;
          i               NUMBER                  := 0;
       BEGIN
          FOR c1 IN (SELECT c001, c002
                       FROM wwv_flow_collections
                      WHERE collection_name = 'SET_BIND_VALUES')
          LOOP
             i := i + 1;
             l_bind_values (i) := c1.c002;
          END LOOP;
          FOR c2 IN (SELECT owner
                       FROM wwv_flows
                      WHERE ID = :fb_flow_id)
          LOOP
             wwv_flow_render_query.print_shared_query
                                         (p_flow_id            => :fb_flow_id,
                                          p_format             => 'XML',
                                          p_xml_structure      => :p1112_xml_structure,
                                          p_query_text         => :p1110_query,
                                          p_query_name         => :p1110_name,
                                          p_query_owner        => c2.owner,
                                          p_items              => :p1111_items,
                                          p_values             => l_bind_values
          END LOOP;
       END;
    END;I have tested this on APEX.ORACLE.COM and I am un-able to reproduce the same issue. It runs fine. This leads me to believe that I have a database setup issue. The problem is that I don’t know where or how to discover.
    Steps (for me) to reproduce:
    1- Create a REPORT QUERY which has a fair number of columns (say 50 – 60)
    2- Go through the wizard steps and finish
    3- Review the Query – Option n the right (under tasks) – click on “Export Report as XML”
    Result = session hangs creating a DB session which does not complete.
    Footprint:
    Application Express: 3.0.1.00.08
    Database: 10.2.0.1.0
    Connecting via a DAD connector from Oracle Application Server
    BI Publisher connection
    Suggestions are welcome.
    Many Thanks.
    --Tim                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    Just for the off chance that someone else runs into this, I am going to try to brief my findings on the subject related to this issue...
    Previously, in the 3.0.1 version of APEX, our system would generate an OS process which would not terminate. Now in 3.1, it seems as though there is an error that is generated when this issue comes into play. I can, when attempting to get the sample XML from the REPORTS definition screen, generate this output when using the DOWNLOAD button:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    SUMMARY
    TO RECREATE:
    1- CREATE a report with a lot of "columns wide" (about 50).
    2- Create a report using the GENERIC LAYOUT setting for REPORT LAYOUT
    3- RUN or get XML by using the DOWNLOAD or TEST REPORT buttons from the designer page Report Queries>Edit Report Query
    ISSUE: The generic layout has an issue in the code with size....
    PROBLEM: When creating a new report - XML is not available in order to create the required layout. Without a layout, XML will not generate. Standard chicken and egg syndrome.
    WORKAROUND: Create a DUMMY layout and assign it to the QUERY so that the proper XML output can be created.
    --Tim St. Hilaire                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • Project Server Creating database views

    Hi All,
    We are using project server 2013. We need to create some database views to generate some complex report, what is the best way to create. I think if we create any custom views inside the project server databse, will be removed while applying the service pack.
    Thanks in advance, Taj

    Assuming you are talking for an On premise installation,
    You won't have problem if you create custom views within database as long as its referencing reporting objects, it is supported and documented on
    Technet
    Excerpt from Technet
    Schemas are documented only for the reporting tables and views.
    For an
    on-premises Project Server installation, you can add reporting tables
    and views for entities that are not defined in the Project database
    schema. You can also create separate databases for custom on-premises
    applications. Modification is not supported for the draft, published,
    and archive tables and views. Because the Project database is not
    directly accessible in Project Online, reporting tables and views cannot
    be modified. However, if you have a SQL Azure account, you can create
    separate databases for custom use with Project Online.
    Thanks | Sunil Kr Singh | http://epmxperts.wordpress.com

  • How to call database view in report

    Hi i have a small problem in report
    the problem is like this i had created a database view in which i got all the values displayed but can any one of you tell me how to declare this database view in report with example
    i had created a database view named as znew1
    and the fields are
                 LIFNR  LIKE EKKO-LIFNR,
                 EBELN  LIKE EKKO-EBELN,
                 LIFNR1 LIKE LFA1-LIFNR,
                 NAME1  LIKE LFA1-NAME1,
                 EKBE   LIKE EKBE-EBELN,
                 VGABE  LIKE EKBE-VGABE,
                 MATNR  LIKE EKPO-MATNR,
                 WERKS  LIKE EKPO-WERKS,
                 NETWR  LIKE EKPO-NETWR,
                 MENGE  LIKE EKPO-MENGE,
                 MWSKZ  LIKE EKPO-MWSKZ,
                 TXZ01  LIKE EKPO-TXZ01,
                 KOSTL  LIKE EKKN-KOSTL,
            PS_PSP_PNR  LIKE EKKN-PS_PSP_PNR,
                 EBELN1 LIKE EKKN-EBELN,

    Hi Mr. Rich
    This is the program code and i want this output int he alv grid format
    TABLES:EKKO,EKBE,EKPO.
    DATA:BEGIN OF RTAB_ALV OCCURS 30,
                 LIFNR  LIKE EKKO-LIFNR,
                 EBELN  LIKE EKKO-EBELN,
                 LIFNR1 LIKE LFA1-LIFNR,
                 NAME1  LIKE LFA1-NAME1,
                 EKBE   LIKE EKBE-EBELN,
                 VGABE  LIKE EKBE-VGABE,
                 MATNR  LIKE EKPO-MATNR,
                 WERKS  LIKE EKPO-WERKS,
                 NETWR  LIKE EKPO-NETWR,
                 MENGE  LIKE EKPO-MENGE,
                 MWSKZ  LIKE EKPO-MWSKZ,
                 TXZ01  LIKE EKPO-TXZ01,
                 KOSTL  LIKE EKKN-KOSTL,
            PS_PSP_PNR  LIKE EKKN-PS_PSP_PNR,
                 EBELN1 LIKE EKKN-EBELN,
         END OF RTAB_ALV.
    DATA:IZNEW1 TYPE TABLE OF ZNEW1 WITH HEADER LINE.
    select * into table IZNEW1 FROM ZNEW1 UP TO 10000 ROWS.

  • BI Publisher Report Build - XML view

    Hi Experts,
    I am trying to build the BI publisher report. During the process, I am defining the SQL query structure in the 'Query Builder' once after that I have saved the report.
    As part of the next step , I have clicked on 'view' link to view the report structure as mentioned in the OBE.
    I could only see the 'Data' view but not the 'XML' view. Is there any way I can see the 'XML' view.
    Any help would be appreciated
    Siva

    Data means look at the xml data that you have created.

  • Open BI Publisher report  using URL View activity

    Hi,
    i need to call BI Publisher report and I want to use URL View activity (i followed instruction on http://oraclebizint.wordpress.com/2007/07/30/customizing-obi-ee-%e2%80%93-go-url-parameters/ but i can't have HTML Form inside af:form)
    But parameters on URL View activity are visible and i have to send username and pass..
    Is there another way?
    Tnx.
    Andreja

    Yes, I can put HTML form at top or bottom of page but i wanted to put in panelCollection (because of page design)....
    but I will think out something to look nicely too :)
    Tnx

  • Store XML Publisher report in the database

    Hi all,
    Is is possible to generate an XML Publisher report in the background and store the report as a blob in the database. I have an APEX application that needs to generate the report when the user clicks an 'Update' button. This report can then be accessed at a later date (via a hyper-link on another page) and will show the report that was stored on that date. Basically the report needs to be point in time.
    Thanks
    Grant

    Hi,
    you might have your reasons to want to store the entire report in the db as an object ... But wouldn't it be simpler to just add an extra DATE column to filter, and generate the report at runtime?
    What if the data changes in the meantime?
    Just, an idea ...
    Grtz.

  • Unable to view BI Publisher report with SSO configuration enabled

    Hi All,
    Can anybody let us know the configuration of the BI publisher with SSO enabled. We are unable to see any of the BI Publisher reports. without SSO configuration we have integration working perfectly fine with the OBIEE and Publisher.
    We followed the configuration steps to integrate BI Publisher with Oracle SSO. The following are the steps:
    1. deploy analytics.ear as a new application 'analyticsSOAP' in OAS
    2. protect analyticsSOAP in mod_osso.conf file under OAS
    3. change OBIEE Presentation services configuration to use analyticsSOAP/saw.dll
    4. run credstore utility to encrypt password
    5.restart xmlp server
    6.restart http server
    7.restart obiee server
    8. restart obiee presentation service
    Still we have issues when we try to accesses BI Publisher reports by clicking more Products -> BI Publisher or view reports directly on the OBIEE Dashboard
    Thanks in advance.

    configure one more virtual path which is unprotected from site minder. we had similar issue for Marketing and resolved by this virtual path.
    ref:
    http://vaandun-analytics.blogspot.com/2009/11/obi-publisher-with-empty-obi-catalog.html
    Thanks
    Sarathi

  • Write to the database from a BI Publisher report

    I have a requirement to setup a BI Publisher report that writes a snapshot of data to a database table whenever the report is run.
    Putting aside whether doing this is a good idea or not (I'd prefer not to do it for security reasons) if I were to do it in SQL server (that i'm more familiar with) I'd write a stored procedure that does this and enter "exec storedprocedurename" as the report query.
    From searching through this board I see that I'm supposed to use a pipelined function instead of a stored procedure but I'm unclear if once I have setup the pipelined function that I'll be able to achieve my objective of both returning the data to the report as well as writing it to a snapshot table, is this possible? If so then I have some questions as I don't really understand the syntax with my limited pl/sql knowledge.
    create type numset_t as table of number; --where does this go, it doesn't appear to be part of the function?
    create function f1(x number) return numset_t pipelined is
    begin
    for i in 1..x loop
    pipe row(i);
    end loop; -- do I need to do a looP? i just want to do select *...
    return;
    end;
    select * from table(f1(3)); -- again this appears to be outside the function, where does it go?
    Thanks
    Bruce

    Jorge:
    I was looking into something similar some time ago. The suggested solution may or may not work for you, depending on what it is you want to write to the tables. I was trying to write audit information - who ran what report when. Through BI Publisher template variables I could get the who and the when, but not what report was being run, so the report trigger option wasn't of any use to me.
    In the end, I opted to change the attributes of the report so that the "show controls" checkbox is unchecked and make users run all reports through BI Publisher Scheduler. It turns out that reports run via the scheduler have all of that data saved off and you can see it from the Schedules/History display.
    Good luck,
    Gaff

  • Publishing report views

    Guys,
                  How do you publish report views on the web after creating BEX reports?
    Thanks,
    RG

    Not exactly. The portal role will contain the queries in its definition - what you can simply do is to assign the portal role to the user IDs. The creation of the portal role will be done by the portal guy and you will have to give the definition of which role will contain what queries. Examples of roles might be 'FI' or maybe 'Sales Planning' etc.

  • Publishing reports to Enterprise - Remote database access.

    Enterprise newbie.
    I can publish a report that accesses a database residing on the same server as Crystal Enterprise. Under the CMC, report process, database, I'm using the default report DB connections option. It runs fine in the user mode.
    The Problem
    Attempting to publish a report accessing a database not located on the same server as Crystal Enterprise, I get theis error: " There was an error retrieving data from the server: The database logon information for this report is either incomplete or incorrect. "
    I've tried a number of variations on the process database setup and have established user accouts on the remote server, using that accout as the report user and pw under process - database. 
    Both reports created on my desktop with ODBC conections.
    I think I am missing some page or cache server set-up.  Any suggestions appriciated.
    Paul

    Hi,
    If the ODBC connection is set up properly then make sure the servers  in the CCM are running on the domain administrator account.
    Please revert in case of any queries

  • XML Publisher report to view as a self service page in EBS R12

    Hi All,
    I would like to show my XML publisher report as a self service page. What are the different methods in which i can show these reports. I would like to just click the function of the responsibility and see the report as a page.
    Your suggestions would be appreciable. Thanks in advance.
    Regards,
    Boris

    Hi All,
    I would like to show my XML publisher report as a self service page. What are the different methods in which i can show these reports. I would like to just click the function of the responsibility and see the report as a page.
    Your suggestions would be appreciable. Thanks in advance.
    Regards,
    Boris

  • BI Publisher Report Layout Get Distorted when viewed in different format

    Hi Experts,
    I am facing issue while running BI Publisher Report.
    The Report Layout work fine in one output format (PDF).
    But when the same report is generated in different format it get distorted (HTML,EXCEL).
    Could any one please let me know how to resolve this issue.
    Is there any SR raised for this issue.
    Cheers,
    Andy

    Hi,
    I have faced a similar issue, Finally i created a different template for each output type, and tweaked each template through trial and error till the output it provided was what i was looking for in the specified output format, I had a different template for PDF and a different one for HTML. If I used the html optimised template for PDF out, there were all sorts of alignment issues, etc.and vice versa. As for the date format, you can set the parmeter correctly using the word date format properties.

  • How to call the Database views in  Reports?

    Hai experts,
                        i created one Database view in data dictionary for that how to call the that in my program?
                        are we write the select quries on views.
                         plz help me.
    thanks in adv.

    thanks for ur reply.
    how to maintain data in maintance  view . is it possible write the select query on that . I know it most be relate with forgien key.
    plz help.
    thanks in adv.

  • How run the run the BI Publisher report for current/active/selected record

    Hi,
    I have one requirement to generate a BI Publisher report in Siebel, which will run on SR's List view. Report should fetch the active SR and its audit trial entities. I know this was achieved easily using Actuate (simply setting "current Recrod only" to true), but I need how to achieve this in BI publisher.
    This report we are creating is in Siebel-BI Publisher integrated environment, not connecting to database. Can body give share your valuble inputs.
    Thanks,
    Ravi

    In my experience with Siebel 8.1.1 and BI Publisher 10.1.3.4.0 when you generate a report from a Siebel View the report will show all data visible on the view. If you wish to have only a few particular records in the report you must query for them first in Siebel then generate the report again. There is useful article describing how to generate the report for the current record but it does require some config on the applet.
    [http://siebel-essentials.blogspot.com/2009/05/siebel-bi-publisher-integration.html]
    -Fred

Maybe you are looking for

  • Grouping of Shopping Carts using the report  BBP_SC_TRANSFER_GROUPED

    Hi Experts, I am a new SRM consultant and have been asked to investigate an issue regarding grouping of Shopping Carts using the report  BBP_SC_TRANSFER_GROUPED. The wanted scenario: For one specific vendor we wish to pool/group request coming from v

  • How to update row in backing bean?

    Hallo, i want to do the following things ina backing bean of Jdev 10.1.3.3: - positioning to a special row, it has an Id - change the value of an attribute - update the row never before i have done that. any help is appreciated.

  • How to connect internet in PALM Centro

    No device i have one palm centro,,, i m citizen of india,, i am unable to configure the internet settings on PALM Centro,,,,can any one please help me on this issue,,,kindly tell me the total settings,,,step by step,, one more thing,,, Is it compulsr

  • Are these Permission OK?

    When I run repair permissions, these seem to always pop up, even after I just had a huge problem and had to reinstall the OS ... is this OK? In case it matters, this is my mac pro, on which i have a dedicate boot volume with library, system, applicat

  • Messaging bridge issues

    Hi, I am seeing below errors in the managed server logs. Messaging bridges are getting disconnected and getting connected. what is the reason for these errors and what they signify. ####<Mar 8, 2010 8:47:48 AM GMT> <Warning> <MessagingBridge> <clfyhp