Report results need to be stored in a table

Hello,
I need to store the result of a program to be stored in a table so that i can load the cude.Can anyone help me with this.
Thanks,
Vinay

I have a company table and a address detail table.
SQL> desc company;
Name Null? Type
COMPANY_ID NOT NULL NUMBER(10)
COMPANY_NAME VARCHAR2(50)
COMPANY_DESCRIPTION VARCHAR2(1000)
SQL> desc address_detail;
Name Null? Type
ADDRESS_ID NOT NULL NUMBER(10)
COMPANY_ID NOT NULL NUMBER(10)
ADDRESS_TYPE_ID NOT NULL NUMBER(10)
ADDRESS_LINE1 VARCHAR2(100)
ADDRESS_LINE3 VARCHAR2(100)
ADDRESS_LINE2 VARCHAR2(100)
CITY VARCHAR2(50)
STATE VARCHAR2(50)
ZIPCODE VARCHAR2(20)
COUNTRY VARCHAR2(50)
PHONE VARCHAR2(20)
For a given company it can have multiple addresses. Address_type_id indicates if it is a ship_to, bill_to, headquarters etc.
So for a given company I want to display all of its addresses as a single row.
Thanks.

Similar Messages

  • Schedule report results to be stored on a server in Excel or .CSV format

    Hi All,
    there is a requirement to schedule the report results to be saved in Excel or .CSV format and the file to be stored at a server location.
    Could anyone please advise how we can achieve this if its possible at all?
    Many thanks!

    This is possible using BEx Information Broadcasting.
    After Opening the Query in Query Designer, Click on Query -> Publish -> BEx Broadcaster.
    There is plenty of help on SCN Downloads / Articles on Information Broadcasting that will walk you step by step.
    Here are a few links:
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/40811e9c-4edd-2a10-06bd-c41e475f607a
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00172934-f3c1-2b10-728a-c42a0fc28c61
    http://www.sdn.sap.com/irj/scn/index?rid=/library/uuid/00d91245-1f5d-2a10-c795-8394960f56cc
    Just search in SCN for Information Broadcasting and you will get plenty of help.
    Good Luck.
    MP.

  • Download report result views in separate sheets

    Hi,
    I have a requirement in OBIEE report in which the result is being displayed in Pivot table as well as Chart view.
    My requirement is while downloading the report in excel sheet, I want the report view needs to be downloaded in
    02 separate worksheets.Like chart result in first sheet and the Pivot table result in another sheet.
    Please help me in enabling this functionality.
    Thanks,
    Prithvi

    OBIEE is Web Reporting tool not an Excel worksheet generator. The best you could do is to the BI Office plug-in to update data on an existing Excel file. You can't generate outout like the wants you want in Answers.

  • Delivering Report Results Via Email

    Does anyone out there know of a method to extract information from a report being run through BOE and move it into the subject line of the email message delivering the report results.  We would like to move information items such as invoice numbers into the email subject line.  
    If no such method exists, is there a third party product or add on to BOE that would allow this to happen?

    Hi Giuseppe,
    When you choose "Send by Email" as Output option in the Job properties screen, System will prompt you to specify the email address top which this report needs to be sent.
    The possible way to achieve this is to create multiple reports specific to each BP and then creating individual jobs for each BP with output pointing to the BP email address. You cannot let the system autoselect the email address to which it is going to send the report.
    Hope this helps.
    Regards,
    Hamsa

  • Colorize report results depending on sql selects

    Hy,
    is it possible to colorize report results depending on sql selects.
    For example: select id, name from db where name = 'frankfurt' or name = 'munic'
    All Results munic in red colour.
    Thanks
    Tom

    Hi,
    I have tried using the following in a decode statement of a Region report (type is SQL Query), and all it seems to do is form the HTML text as expected, but does not actually do what I want (i.e. display the field as red):-
    SELECT a_code, a_status, decode(a_fld,a_fld,'&ltfont color=&quotFF0000&quot&gt'||a_fld||'&lt/font&gt','other') "CA" from a_table
    What appears in the report is literally (I've put in single quotes in case this line is interpretted in the forum):
    '<font color="FF0000">1234</font>'
    I'm missing something - to force the HTML to be rendered as such. The field is displayed as a Standard Report Column, but it's just taking the decode search field as an ordinary piece of text. There's something that needs setting, but I can't find it - does anyone know?
    Thanks in advance
    Dave

  • Report results displays only (*), no numeric values.

    Dear all,
    The report result only displays asterick (*), no numeric values. But the field in the result thus has numbers which can be seen in display at the top in the excel sheet. why?
    Do i need to make any changes in Query properties or something else??
    Please advise.

    Hi,
    You should be trying to work to different units of measure or different currency. If you do any calculation with two values which has different unit then the result will be so.
    use NODIM() of the keyfigure and do the calculation. create a formula and add NODIM to keyfigure, then you should be able to see values but you will not get the unit along with value.
    Else you should go for conversion of units to single one and then you can get both values and units.
    Hope this helps
    Regards
    Akhan

  • Report Result showing # and limited vlaues instead of complete values

    Hello,
    I have a strange problem. I am working in BW 2.0B and loading data into 2 cubes (IS and PLAN). Over these cubes, I have a Multicube and my report is built on this multicube. The columns in the Report result show me strange values. For example the field Disposition shows # whereas after checking the cube contents there are more than 100 numeric values. Another field Material number shows few values (hardly 4 records) whereas after checking cube contents, there are lot more values present. What could this be due to? Pls help.
    Thanks & <removed by moderator>,
    SD
    Edited by: Siegfried Szameitat on Jan 12, 2009 2:09 PM

    hi siggi,
    no. i have not used any restriction at all. I created a test report and placed only disposition in it. but it shows me just 1 record in the result.
    do i need to make some changes on the multicube?

  • Customization Form at top populate Report Results at Bottom of Page??

    Is it possible to develop a customization form and its report on the same page?
    Here is the scenario. We want the customization form on the top of the Portal page, and then we want the results of the query form (the report results) to populate in the bottom of the Portal page. The customer desires this so they can still see what information they queried on to get the specified report results.
    Does anyone know a way to do this or has anyone successfully developed it?

    The customization form portlet would need to pass the parameter(s) to the other portlet. You may want to check out the parameter passing portlet samples in the PDK. The Smart Web Services Portlets work in a similar way too.
    If you want end users to show what their previously set parameters were, the customization portlet should read the previously passed parameters (along with the report portlet) and show them.
    You may also consider building a report using the wizards. Components can take parameters very easily through the Portal 9.0.2 (Oracle9iAS v2) page parameters feature.

  • Report result with multiple queries

    Hi,
    I need to achieve a report result by using two different webi queries which are based on same universe.
    I can't merge the "City" information because they're detail objects. (Attribute of a nav. attr. in BEx).
    In the scenario below, if I remove City (Query1), KPI-2 can be displayed. However, I need to use both "City" detail from both queries.
    Any suggestions for this?
    City (Query1)  |  City (Query2)  |  KPI-1 (Query1)  |  KPI-2 (Query2)
      A                      A                 10                  20
    Thank you!

    Hi,
    try to  merge the common dimension object for both city1 and city2 dimension.then drag the merge dimension objects in the report with city1 and city2.and see data is coming or not.
    if data is coming then you can hide the common dimension object in the report.
    Thanks,
    Amit

  • Problem with Report Result Display.

    Hi Experts,
    In one of my reports , i need one  key figure length of service in years which is report execution date (system date ) - entry date / 365.
    Entry date is characteristic and it is in the report display.
    I have made a formula and in that i created a formaula variable using replacement path for entry date and got entry date value.
    Similarly for system date i got it into another formula using customer exit.
    I have made antoher formula length of service in years calculation .Calcualtion every thing is fine.
    My output required is show the result value only   and hide the single values for the length of service. ....
    Here My problem is in the result row for this formula lenght of service it is showing as X instead of the value.
    SIngle values are fine .Result row values are coming as X.
    I read that if it is formual varaivble using replacement path result values wont be proper.
    I treid using calcualte result as ...but i have hierarchy display in my report as a result i am getting warning as
    Calculating result as was not executed...
    I tried using exception aggregattion even then result is coming as X.
    So how i should i get my values displayed in the result row...
    Thanks
    vamsi
    Edited by: vamsi talluri on Oct 13, 2009 4:55 PM

    Hi Experts,
      Any inputs on this...
    Thanks
    vamsi

  • Crystal Report with Optional Parameters from Stored Procedure

    I have a client who created a Crystal Report. This report is linked to a Stored Procedure which allows for input on two criteria. Both of these critera are static values. However, the second of these parameters is setup to allow the user to enter up to 20 values. For example, the Stored Procedure needs the CARDCODE, and a set of DOCUMENTS. So the parameters/prompts would look like this...
    BP CardCode:
    Document1:
    Document2:
    Document3:
    ...etc...
    The report will just display basic document information for those documents that were entered.
    With 8.8, these parameters were changed to be REQUIRED.... not OPTIONAL. According to SAP note 1500777, this is a known bug and will be fixed in future versions. This note also states to change the criteria for the filter. However, when using a Stored Procedure, this does not appear to be an option, as the selection is defined by the data connection (and the parameters defined in the SP).
    Am I missing something? Is there a way to make the suggetion in the above note work with my Stored Procedure?
    Or, is there another way to make these parameters optional? (Do I need to change the SP?)
    Thanks!
    ~ terry.

    I have a client who created a Crystal Report. This report is linked to a Stored Procedure which allows for input on two criteria. Both of these critera are static values. However, the second of these parameters is setup to allow the user to enter up to 20 values. For example, the Stored Procedure needs the CARDCODE, and a set of DOCUMENTS. So the parameters/prompts would look like this...
    BP CardCode:
    Document1:
    Document2:
    Document3:
    ...etc...
    The report will just display basic document information for those documents that were entered.
    With 8.8, these parameters were changed to be REQUIRED.... not OPTIONAL. According to SAP note 1500777, this is a known bug and will be fixed in future versions. This note also states to change the criteria for the filter. However, when using a Stored Procedure, this does not appear to be an option, as the selection is defined by the data connection (and the parameters defined in the SP).
    Am I missing something? Is there a way to make the suggetion in the above note work with my Stored Procedure?
    Or, is there another way to make these parameters optional? (Do I need to change the SP?)
    Thanks!
    ~ terry.

  • Why reports are needed to compile again and again

    Whenever we make a database change all reports needs to be recompiled. It means when we give our user a new application we have to give him *.RDF files so that when he run the script to run reports he would need to recompile all reports.
    My question is
    how can it be preventd?

    Hi,
    It can not be prevented, you should recompile reports when changes in database stored PL/SQL.
    Thanks,
    Oracle Reports Team

  • How to Store the result sets of a stored procedure that is returning more that one result set in two different table ?

    Hi Experts,
       I have on stored procedure which returns mote than one resultset i want that to store in two different temp table how can achieve this in SQL server.
     following is the stored procedure and table that i need to create.
    create procedure GetData as begin select * from Empselect * from Deptend 
    create table #tmp1 (Ddeptid int, deptname varchar(500),Location varchar(100))
    Insert into #tmp1 (Ddeptid , deptname ,Location )
    exec GetData
    create table #tmp (empid int , ename varchar(500),DeptId int , salary int)
    Insert into #tmp (empId,ename,deptId,salary)
    exec GetData
    Niraj Sevalkar

    You cant get two resultsets out of SP like this. The workaround is to merge and bring the resultsets.
    For this number of columns as well as corresponding datatypes have to be compatible. Also you will need one additional column which indicates resultset value. Then use this as filter to get your desired resultset out
    create procedure GetData as
    begin
    select 'resultset1' as Cat,*,.. N columns from Emp
    union all
    select 'resultset2' as Cat,*,.. N columns from Dept
    end
    create table #tmp1 (Ddeptid int, deptname varchar(500),Location varchar(100))
    Insert into #tmp1 (Ddeptid , deptname ,Location )
    Select column1,column2,column3
    from OPENROWSET('SQLOLEDB','Data Source=Server_name;Trusted_Connection=yes;
    Integrated Security=SSPI','Execute yourdb..GetData')
    WHERE Cat = 'resultset1'
    create table #tmp (empid int , ename varchar(500),DeptId int , salary int)
    Insert into #tmp (empId,ename,deptId,salary)
    Select column1,column2,column3, column4
    from OPENROWSET('SQLOLEDB','Data Source=Server_name;Trusted_Connection=yes;
    Integrated Security=SSPI','Execute yourdb..GetData')
    WHERE Cat = 'resultset2'
    also see
    http://sqlblogcasts.com/blogs/madhivanan/archive/2007/11/26/select-columns-from-exec-procedure-name-is-this-possible.aspx
    Another method is to populate table with relevant resultset within procedure itself and then select from the table directly outside.
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My Wiki User Page
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • I'm writing a report and need a title page, so I want the auto-numbering to start with the second page. So the title page is zero and the next page will read "1"

    I'm writing a report and need a title page, so I want the auto-numbering to start with the second page. So the title page is zero and the next page will read "1" How do I do this?

    Hi H4S,
    Click at the end of the Tile page.
    Menu > Insert > Section Break.
    Click in the second Section. Insert a page number in the Header or Footer.
    Inspector > Layout > Section:
    Regards,
    Ian.

  • Passing report results parameters to different page

    Hi y'all,
    I was wondering how report results (results acquired by custom written sql query) can be passed to different pages?
    Can anyone help or provide me with a link which can point me to some documentation on this subject.
    Thanks,
    Cleo

    Cleo,
    Do you want the records fetched by the SQl query available in other pages inorder to use that as a source for processes in those pages ?
    One way is to define a collection in the SQL report page and fetch records into that collection on page load. Change the Report region to refer to the collection.
    For example, you have a SQL report based on the query
    SELECT 'a','b', 'c' from dualYou can have a Before header PLSQL process in that page that fetches these records into that collection
    BEGIN
      APEX_COLLECTION.TRUNCATE_COLLECTION ('REPORT_RECORDS');
      APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY (
          p_collection_name = > 'REPORT_RECORDS',
          p_query => q'!SELECT 'a','b', 'c' from dual!'
    END;Change the SQL report to
    select * from apex_collections WHERE collection_name = 'REPORT_RECORDS'In any page where you want to use the reports records , they would be available in the collection.

Maybe you are looking for