New to Oracle reports...

Hi everyone,
I am new to oracle reports.i am following this document
http://download.oracle.com/docs/cd/B14099_10/bi.1012/b13895/orbr_tab.htm
where can i find the .SQL file of the tables and data for the examples given in that document.I am trying to practice those but dont have tables and data.
Thanks in advance.
phani

Excerpt from : http://download.oracle.com/docs/cd/B14099_10/bi.1012/b13895/preface.htm
Accessing the Data Sources
The data sources used in this manual are:
-SCOTT schema
-Sample Human Resources, Sales History, and Order Entry schemas
-Summit Sporting Goods (SUMMIT) schema
The SCOTT, Human Resources, Sales History, and Order Entry schemas are available with the Oracle Database (both 9i and 10g).
SUMMIT Schema script :
http://otn.oracle.com/products/reports/htdocs/getstart/examples/Tools/demos60.zip

Similar Messages

  • New to oracle report builder

    Dear all;
    Please pardon me. I am new to oracle report builder and I am trying to accomplish the following. First and foremost please find my pl/sql queries below. Kindly note, all the queries have been tested and I just need to be able to input those queries into the report builder. Thank you.
    create or replace package test1 is
    type r_cursor is ref cursor;
    function report(company_name in varchar2) return r_cursor;
    end test1;
    create or replace package body test1 is
    function report(company_name in varchar2) return r_cursor as
    my_r_cursor r_cursor;
    begin
    if(company_name = 'ALL COMPANIES') THEN
    open my_r_cursor for
    select t.t_id, t.t_description from t1 t;
    return my_r_cursor;
    elsif(company_name != 'ALL COMPANIES') THEN
    open my_r_cursor for
    select t.t_id, t.t_description from t1 t
    where t.t_id = company_name;
    return my_r_cursor;
    end if;
    end;
    end test1;
    create table t1
    t_id varchar2(200) not null,
    t_description varchar2(250),
    primary key(t_id)
    insert into t1
      (t_id, t_description)
    values
      ('CITI', 'PROFIT: 2.2Billion');
    insert into t1
      (t_id, t_description)
    values
      ('GE', 'PROFIT: 1Billion');
    insert into t1
      (t_id, t_description)
    values
      ('JPMORGAN','PROFIT: 0');Now, I am trying to create a simple report in oracle report builder. The interface for generating for this report is basically, there is a dropdownlist where by the user picks a company name from the dropdownlist and clicks on the go button, this should then generate a report with the above query shown in the package. How can this be achieved? All help will greatly be appreciated.

    Hi,
    first of all you need strong typed ref cursor, oracle reports need to detect witch are the columns returned by your cursor.
    so first you create your package
    create or replace package test1
    as
    TYPE t_record IS RECORD ( company_number PLS_INTEGER--TABLE_NAME.COLUMN_NAME%TYPE
    , company_desc VARCHAR2(150)--TABLE_NAME.COLUMN_NAME%TYPE
    TYPE T_REF_CURSOR IS REF CURSOR RETURN t_record;
    procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor) ;
    end test1;
    show errors
    create or replace package body test1
    is
    procedure report(company_name in varchar2 ,cur_out OUT t_ref_cursor)
    is
    my_r_cursor T_REF_CURSOR;
    begin
    if(company_name = '1')
    THEN
    open my_r_cursor for
    select 1 as t_id, 'description' ast_description from dual
    else
    open my_r_cursor for
    select 2 as t_id, 'description2' as t_description from dual
    end if;
    end;
    end test1;
    show errors
    then, in your report you create a ref cursor query :
    function QR_1RefCurDS
    return test1.t_ref_cursor
    is
    C_return test1.t_ref_cursor;
    begin
         test1.report(1,C_return);
    RETURN(C_return) ;
    end;
    hope this helps you !
    E

  • New to Oracle Report .....run/display 2  queries depending on parameter

    I am developing 2 report where the output is almost same except for 2 rows .Those 2 row should be extracted from Employee table if the parameter specified is E or should be extracted from Salary table if parameter specified is S.
    In short the report should look like
    parameter E
    ----------1----------------
    MICROSOFT
    Bill Gate
    United States
    Huge organization
    Employee
    George Bush
    Dick Cheney
    parameter S
    ----------2----------------
    MICROSOFT
    Bill Gate
    United States
    Huge organization
    Salary
    100000
    200000
    Please advice as how to go about doing this.

    Well, if it's only about 1-2 non-repeating values that need to be computed and displayed conditionally, then, the best approach would be to have for them two user parameters, such as :p_u1 and :p_u2.
    Then, say in the afterpform trigger you may have something like:
    if :p_s='S' then
    --- those below being selects that return single values
    select ... into :p_u1 from ... where ...
    select ... into :p_u2 from ... where ...
    end if;
    Then, for having the values conditionally printed, you may use the format trigger for the fields, or, eventually, for the frames that contain the fields and some aditional text that is to be printed.
    If it's to be a query that returns a number of rows that has to be conditionally printed, then, in the query you may put an aditional condition in the where clause. And in the layout you may put the repeating frame for that query and tha column headers text within a frame that has a format trigger for printing conditionally.

  • Printing barcode in oracle report 6i in character mode

    Hi there,
    I am new in oracle reports, especially in printing it in character mode.
    I am trying to create a report for ticketing purposes, so I have to put barcode on it.
    So far, I did follow this link Printing in character mode (urgent)
    and yes, I didn't get it. I been doing this 3 days already and no successful result.
    I just don't get the commands in .prt file and how could i integrate it in oracle report 6i.
    The printer I use : epson LX-300+
    windows OS.
    Your help is highly needed, any opinion will do. I just need help that bad.
    Thanks..
    Edited by: shynn on Jul 18, 2012 6:56 PM

    Hi guys,
    I already get the character mode using ESC character.
    Just this, I need your help.. Do you know the ESC code for the barcode that we could add in .prt file?
    Just the ESC code, but if there is needed for configuration for that, kindly add it up.
    Thanks,

  • How to call a oracle report from APEX in a seprate window while pressing a

    Hi,
    I have a button named 'Run Report' on a APEX application page. When I press this button it open an oracle report in pdf format but in same window.
    Can someone help me to open this .pdf report in seprate window when I press this button.
    Please help me. It's very urgent.
    Thanks

    Hello user8681139,
    Not tried before but found the links on OTN. Hope that following links will help you in regards to your query:
    # Re: How to run Oracle Report in new window
    # Oracle Report in New window with submit
    Regards,
    Bhavin

  • Getting Error While Displaying web page in Oracle Report 11g

    Hi,
    I am new to Oracle reports 11g. I have stuck into an error. While I'm trying to display the web page it says "No such Web command ()".
    I am using following URL to call the report.
    http://hostname:port/reports/rwservlet/?server=repserver&report=a.jsp&destype=cache&desformat=htmlcss&userid=scott/tiger@db
    Please help me out from this.

    Hi Rupesh,
    Thanks a lot removing web solved my problem.
    My second problem is
    1) SAP xMII >Navigation services>Navigation do following
    a) From the account name pull down menu select everyone
    b)In the navigation tree tab page,choose Navigation Item >Add>Child
    c)In the loading content dialog box,enter a name , for example,"Test"
    d)choose."..."
    e)In the File Browse dialog box,open the CM folder and navigate to teh QM folder
    Select ZPPWeb.htm and choose Ok
    After this I get error message as
    "Can't move focus to the control because it is invisible , not enabled or of a type that does not accept the focus".
    It does not add my htm file to the navigation link
    Thanks in advance
    Regards Namita

  • Pl/sql in oracle reports 6.0

    Hi ,
    I am new to oracle reports, is there any way to use pl/sql in oracle reports.I mean i have to take aggregate data from Oracle and to print/populate the data according to slabs(Say distance slab or time slab).Can u please provide me sample code...
    mail id : [email protected]
    thanks & regards
    Anand M

    you can use ref cursor in your pl/sql stored procedure and then call it in your reports

  • Oracle Reports - Distributing Multiple Reports in a Management Report

    Hi,
    I am new to Oracle Reports and would sincerely appreciate some guidance.
    Requirement.
    I plan on using Oracle Reports to write multiple reports containing Text, Graphs, Crosstabs, Tables etc. There are 3 developers and each will be developing a number of reports.
    At the end of each month, we need to run all the reports and publish it into a Management Report Pack.
    This Management Report Pack must contain a table of contents with the names of the different reports and page numbers. Each Report in the Report pack needs to have a header, footer and page number.
    The number of reports will change on a monthly basis so the page numbering will not be specific to a report.
    Summary,
    3 developers writing multiple reports
    All reports must be run and then printed out in a specific order.
    Table of Contents page with page numbering for each report.
    How can we do this with Oracle Reports?
    Is it possible, and if so, how?
    What is involved and what is required?
    Your assistance is highly appreciated.
    Thank you.

    You should be creating a universe using the table with filter utilizing a column which accepts a parameter value of language and shows the data in that specific language. This concept is already used in SAP standard audit universe which accepts language for any query and shows the data in that language.. The logic for the derived column for the table should look something like below Table.LANGUAGE = @Prompt(Select language)

  • Current date in oracle report

    The field in the Oracle report footer has the source as current date. It is not showing the current date and time when the report is rerun. What is the solution for this problem. How to refresh the footer? I am new to Oracle reports. Please help. thanks

    What is the report version and what format mask are you using for the date/time?

  • Requirement with Oracle report builder

    Hi All,,
    I had a requirement like this...i am very new to Oracle report builder tool and Oracle APPS
    i need to develop a sample report in this format.......please help me
    which tables i need to use??
    i know how to create user parameters,field columns...etc i have 50% knowledge on Oracle report builder

    You can make start with
    Oracle Reports Tutorial...
    Here few link...
    1. Tutorial 1
    2. Basic--[2] Oracle Reports 10g Tutorials
    3. About Oracle Report 10g: Triggers in Report Data Source and Report Style
    Hope this helps
    hamid

  • Oracle reports and multiple pages

    I am new the Oracle Reports and I am trying to generate a report that can continue to the another page. For instance, if my list of items exceeds the first page of the report, the remaining items will be printed on the next page. We can get it to continue to the next page, but the formatting of the following pages after the first page needs to be different. Currently, it is placing the remaining items in the same position as the first page. The remaining items should be further up the page.
    In short, how do I generate 1 report with 2 different formats. All pages beside the 1st page will be the same.
    Any guidance is appreciated.

    Please post the details of the application release, database version and OS.
    I would like to ask for your help regarding printing from concurrent requests.
    I am currently having an issue with printing multiple pages from Oracle reports, both in text format and RTF/PDF formats.
    When I generate a multiple page report and print it directly from a concurrent request, print outs generate extra space after each page even though page size is indicated in the reports (all of them are in letter size).What if you print the output file from the OS, can you reproduce the issue then?
    Troubleshooting (Printing) [ID 104528.1]
    An Extra Empty Page Is Printed at the End of Requests Output [ID 1011499.7]
    I have already tried editing the printer drivers both the actual driver config file and through the application but the results are still the same.Can you reproduce the issue with other printers?
    This is very important since printing is done on continuous paper and continuous pre-printed forms
    Any ideas would be greatly appreciated.If the issue is urgent, please log a SR.
    Thanks,
    Hussein

  • Oracle Reports gives : "Failed to locate the Browser" Error. Please help.

    Hello All,
    I am new to Oracle Reports Developer. I followed the "Oracle Reports Tutorials" (Document ID : B14364-01) to build my first report.
    I tried to run the report in web layout mode : I got the following things.
    1) A new blank firefox window.
    2) After a few seconds : A message window in Report Builder with : "Failed to Locate the Browser" Message
    My Machine details :
    Windows XP sp3.
    Oracle Developer Suite 10g.
    Firefox version : 3.5.
    Registry Entries : HKEY_CURRENT_USER|Software|Oracle|Toolkit|TKBrowser. No BrowserName, BrowserPath keys found. So I added these keys manually under the paths :
    HKEY_CURRENT_USER|Software|Oracle|Toolkit|TKBrowser|BrowserName (value = firefox)
    HKEY_CURRENT_USER|Software|Oracle|Toolkit|TKBrowser|BrowserPath (value=C:\Program Files\Mozilla Firefox\firefox.exe)
    Ran the report again. This time also I encountered the same scenarios which I mentioned previously. Also tried with registry setting
    HKEY_CURRENT_USER|Software|Oracle|Toolkit|TKBrowser with value "BrowserName=firefox;BrowserPath=C:\Program Files\Mozilla Firefox\firefox.exe".
    I also ran with the all the settings once without restarting the computer after making the changes. And also ran each time by restarting the computer whenever I changed the value. I could not get a break thourgh.
    Please help me in resolving this issue. Your help is greatly appreciated.
    Thanks in advance,
    Suresh.

    Thanks for replying. I tried the same thing with Netscape 9 now. It is still displaying a blank web page and after a few seconds the same message in Reports Developer : " Failed to locate the Browser".
    Is there any specific setting that I need to customize in order to run the reports? My Forms are being executed without any issues. Where as I have problem with Reports Developer.
    Thanks in advance,
    Suresh.

  • Oracle Report prompts

    I am new in Oracle Report Builder. Can somebode please tell me how I can insert an interactive user prompt in a report

    use srw.message() to display message built-in to display messages.
    It behaves differently depending how you run the report. Check help go get more details about the package.
    Br, Gouri Sankar

  • Which blogs or sites useful to practice oracle reports developer

    HI,
    am new to oracle reports and forms developer  can anyone tell us the how the best way to practice the D2K(Form& Reports)

    Is there any other way of installing just Forms and Reports tools?No, you have to install everything in order to get Forms and Reports.
    Craig...

  • How to open new window and generate oracle report from apex

    Hi,
    I had created an application that generates PDF files using Oracle Reports, following this Guide.
    http://www.oracle.com/technology/products/database/application_express/howtos/howto_integrate_oracle_reports.html
    And I followed 'Advanced Technique', so that users can't generate PDF file by changing URL and parameters. This is done for security reasons.
    But in this tutorial, when 'Go' button is pressed, the PDF file is displayed on the same window of apex application. If so, user might close the window by mistake. In order to avoid this, another window have to be opened.
    So, I put this code in the BRANCH - URL Target. (Note that this is not in Optional URL Redirect in the button property, but the branch which is called by the button.)
    javascript:popupURL('&REPORTS_URL.quotation&P2100_REP_JOB_ID.')
    But if the button is pressed, I get this error.
    ERR-1777: Page 2100 provided no page to branch to. Please report this error to your application administrator.
    Restart Application
    If I put the code 'javascritpt ....' in the Optional URL Redirect, another window opens successfully, but the Process to generate report job is not executed.
    Does anyone know how to open new window from the Branch in this case?

    G'day Shohei,
    Try putting your javascript into your plsql process using the htp.p(); procedure.
    For example, something along these lines should do it:
    BEGIN
    -- Your other process code goes here...
    htp.p('<script type="javascript/text">');
    htp.p('popupURL("&REPORTS_URL.quotation&P2100_REP_JOB_ID.")');
    htp.p('</script>');
    END;
    What happens is the javascript is browser based whereas your plsql process is server based and so if you put the javascript into your button item Optional URL Redirect it is executed prior to getting to the page plsql process and therefore it will never execute the process. When you have it in your branch which normally follows the processes, control has been handed to the server and the javascript cannot be executed and so your page throws the error "Page 2100 provided no page to branch to"... By "seeding" the plsql process with the embedded javascript in the htp.p() procedure you can achieve the desired result. You could also have it as a separate process also as long as it is sequenced correctly to follow your other process.
    HTH
    Cheers,
    Mike

Maybe you are looking for

  • HT204053 If I start using a new apple ID will I lose all my old purchases the next time I sync?

    Hello, I'm really, really confused and I'd appreciate some advice.  I came here after searching for information on merging two apple IDs so let me start my saying that I understand that I cannot do this.  I get that.  The FAQ says I just need to star

  • How to post a acquisition entry in Dep area 30 (for Non Leading ledger)

    How to post a acquisition entry in Dep area 30 (for Non Leading ledger N1) In our scenario, following configuring is being set up: 1 Book depreciation IAS/IFRS 1 0L 30 LOCAL 3 N1 51 Property Tax 0 60 DELTA 6 N1

  • Windows Blue Screen Error

    Just updated my laptop (windows update and update to iTunes 10. Now when I connect to my laptop (via USB) I receive the Blue Screen Error. iPhone is running the 4.0.2 software. This is very familiar to an issue with the iTouch earlier this year and A

  • Name of PDF when saving

    Hi, I created a pdf and display it in WD4A. Everything works flne but when my users want to save the PDF locally with the standard adobe save button, the file name by default is "F.pdf". Thats in deed not a very meaningful name and I asked myself whe

  • EbXML Quality of Service Configuration

    Hi, Where can I find some good practice on the reliable messaging configuration for ebXML messages. I am looking for some recommanded values for Retry Count, Retry delay when OnceAndOnlyOnce QOS is configured. Thanks for any support. Regards, Hatim