How to build a pl/sql report

Hi everyone,
Plz tell me the procedure of buiding pl/sql report
Thank you in advance..
Edited by: user10763149 on Feb 10, 2009 3:16 AM

http://download.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_plsql.htm#g1021942

Similar Messages

  • How to find if the SQL Reporting services are stand alone or clustered ?

    Hi All,
    Can any one tell me how do i find if the SQL Reporting services are stand alone or clustered ?
    As there are no other SQL features installed on the server except for reporting.
    Is there any GUI or CLI command to check this ?
    Gautam.75801

    Hello,
    Do not open cluster administrator since SSRS cannot take advantage of Windows Clustering Services.
    You need see if the Network Load Balancing manager (NLB) (windows feature) is installed on the SSRS computer and open
    it to see if a NLB cluster has been configured.
    Hope this helps.
    Regards,
    Alberto Morillo
    SQLCoffee.com

  • How to register a pl/sql report as an Oracle report.

    Guru's,
    I have a requirement to add a Pl/sql report in a shipping document set.
    Shipping document set can contain Oracle reports only(RDF).
    Is there a way we can add pl/sql report in a shipping docuemnt set?
    Thanks
    -Karthik

    Please see these docs.
    Adding PL/SQL Stored Procedure To Document Set. [ID 551154.1]
    Concurrent Programs Of Pl/Sql Attached To Shipping Document Set Is Not Firing [ID 810856.1]
    Concurrent Programs Of Pl/Sql Attached To Shipping Document Set Not Working. [ID 1246184.1]
    Shipping Document Set Containing PL/SQL Program Ends with Oracle Error 6550 in FDPSTP [ID 316221.1]
    Concurrent Program Not Being Called? [ID 956722.1]
    Thanks,
    Hussein

  • How to pass date in SQL Report

    Hi All,
    I am trying to create a SQL report which contains the following in the where clause:
    and A.RESP_DATE >= to_date('01/01/2010','MM/DD/YYYY')
    BIP does not seem to like this and is not processing the report. If I remove this clause the report is running but I want to limit the number of records that are being returned.
    I wanted to find out which date format should be used to pass the SQL query.
    TIA,
    Ramkumar

    Hi ,
    where clause with date will wrk in bip.
    Check the same query in sql..if it is wrking means it will wrk here also.
    (A.RESP_DATE) whats ur actuall format of this column.
    Thanks,
    Ananth

  • How to build an 8.5 report where a single source repeats with each piece of data

    I don't really know how to characterize this problem or if there is a short-hand for the type.  Here is my dilemma:
    I have a SQL table of tracking numbers which is custom to our version of Dynamics.  The table contains both orders and invoices.  Each invoice may have 1 or more tracking numbers, but each tracking number associated with an invoice or order is recorded as a different record under the invoice or order number.  E.g.:
    SOPNUMBE          SOPTYPE          Tracking Number
    INV0001234               3                    1ZA12341234
    INV0001234               3                    1ZA12341235
    INV0001234               3                    1ZA12341236
    ORD005111               2                     FedEx 123411
    ORD005111               2                     FedEx 123412
    INV0001287               3                    1ZA12349876
    ORD005134               2                    1ZA12345263
    INV0001291               3                    FedEx 165304
    INV0001291               3                    1ZA12345666
    and so on ...
    What I'm trying to do in Crystal, which is the only way I can access that table (nothing within Dynamics allows me to access that table) is create a page of labels, based on the date of the SOPNUMBE and the SOPTYPE, (IOW only invoices) that shows as the following:
    INV0001234                              INV0001287                         INV0001291
         1ZA12341234                         1ZA12349876                       FedEx 165304
         1ZA12341235                                                                      1ZA12345666
         1ZA12341236
    I would be using 2 x 1.5 labels, 3 or 4 labels across and 6 down, approximately
    Here is my problem:  I cannot use the Mail Label format as it requires each line having a different Field Physical Name.  However, if I use a standard Crystal format or an undefined format, I can get the right layout for one column only.  If I try to use 3 columns across, it simply repeats the data in the first column.  For the life of me, I cannot figure out how to create 3 or 4 columns across with separate data.
    The purpose is to be able to attach the appropriate label to the actual invoice for the information, which customers tend to call in for, anyway.  Now, we have to hand-write the Tracking Numbers on each invoice, which makes for an increase in errors.
    Any suggestions and/or solutions would be greatly appreciated.
    Thank you,
    Laura Douglas

    it could be that 8.5 doesn't have this option to do a group sort / top n.
    if you're looking for the data to spill into a new label then that won't work for you anyways.
    here are some options:
    a) the group itself needs to repeat in order to have another label available. the only way to do something like this in 8.5 is for your database administrator to create a stored procedure that groups the sopnumber data into sets of N values.
    e.g. each group would only have at the most 5 tracking numbers. if a sopnumber had 12, then 3 groups would be created by the stored procedure, e.g. INV0001234_a, INV0001234_b, & INV0001234_c   this would be required to create the correct number of labels and to ensure that all data from each sopnumber was eventually displayed.
    once a stored proc is created to break up the data into these groups, you need to create a new report off of the proc and use this new grouping field to base your group on.
    b) another option would be based on whether or not your database had a specific field that indicated a running total counter for the tracking numbers which was reset every sopnumber. e.g. if sopnumber INV0001234 had 4 tracking numbers, there would be a field that indicated 1,2,3,or 4 depending on the record.
    c) another option would be if the stored proc simply brought back the data that you have as well as a running total / counter that indicated / counted in a manner similar to the above. this may be a better option than a) or b)
    -jamie

  • How to build "Query by example" Report?

    I want to create a report which allows user to select which columns to return.
    It is similar to "Query by example" form. Have someone done that before and share me the PL/SQL how to do that?
    Thanks in advance.

    I got the answer, u need to set table.setFilterModel("") and refresh panel collection which contains this table
    whenever u need to make "Query By Example" button of panel collection invisible.

  • How to build a performance matrix report

    Hi,
    I have a table that tracks performance and potential of employee's.
    I want to represent the data in the table as a 9 box performance potential matrix report Each box should contain the names of the employees who fit the particular performance potential criteria.
    |---------------|--------------|-----------------| ^
    | | | | p
    | | | |Exceeds e
    | | | | r
    |---------------|--------------|-----------------| f
    | | James | | o
    | | Dan | |Meets r
    | | | | m
    |---------------|--------------|-----------------| a
    | | | | n
    | | | |Needs Improvement c
    | | | | e
    |---------------|--------------|-----------------|
    Limited Growth High
    <-------------Potential---------------------->
    Is there a good way of achieving this?

    http://download.oracle.com/docs/cd/B14099_17/bi.1012/b13895/orbr_plsql.htm#g1021942

  • How to build SAP B1 query reports for VAT in Source currencies

    Hello,
    Need help ASP

    You may start your query by checking these threads first:
    VAT Report
    I need VAT Report
    Re: Can we set tax amount directly instead of tax code?
    Thanks,
    Gordon

  • Migrating reports from MS SQL reporting services to BO(Crystal reports)

    Hi Folks,
    I am looking to migrate my existing reporting application to BOXI and crystal reportsXI. The current reports application is build on Microsoft SQL reporting services platform. I have thousands of reports in the application and am looking for a solution to migrate all these existing reports into BO compatible format, i.e., .rpt format.
    Anyone with previous experience of this kind of migration/conversion for suggestions on the quickest and most cost effective solution.
    I do not want to be developing all the reports again on BO.
    Appreciate any kind of assistance on this.
    Thanks,
    Shetty.

    Hi Tim,
    Thanks for the reply.
    I searched the forum and found the link to [url|http://devlibrary.businessobjects.com/BusinessObjectsXIR2SP2/en/en/BOE_SDK/boesdk_java_dg_doc/doc/boesdk_java_dg/URLreporting_new.html] which specifies the process to use URL Reporting for Crystal Reports . But to implement this we have to change the architecture of our existing application as presently we are directly accessing the report in URL to run the report. I was not able to found any solution that implements this architecture.
    Does Business Object Enterprise 11.5 still supports this architecture?
    If we use the architecture specified in the above URL for URL Reporting for Crystal Reports  then how we can migrate all our reports to BOE 11.5? We have to use the Publish Wizard for that, to get the ids for our reports?
    There was a parameter APSTOKEN how can we get a token. Can it be a static token that can be used by all the users to access the reports?
    Thanks!

  • How to incorporate ratio in Crystal Report?

    Hi,
    I am new in Crystal report and had no technical background.
    I would like to  know how to build ratio in crystal report? The draft layout as below:
                                                  (RM)        %
    Sales Revenue                        A           (A/A)*100
    Cost of sales                           B            (B/A)*100
    Where A and B are formula in crystal report.
    Regards
    Thomas

    Hi Thomas,
    Ratio is just a result by division.  If you take one field over another as a denominator, you got your ratio.
    Thanks,
    Gordon

  • Create Simple Printable SQL Reports in APEX 3.2 Without a Print Server

    Oracle Apex 3.2
    Oracle 11g
    OHS
    I thought I'd post an answer on how to get a printable SQL report in Oracle Apex without having to configure a print server. I'm sure that similar things have been posted in various other places, but I found the documentation for using custom row templates (to create a printable report) to be incomplete at best. For my needs, I was not looking for an awe inspiring report printout, but rather simple directory information printouts. For example, if you wanted a printable report to look like this:
    =================================
    CURRENT ACTIVE EMPLOYEES REPORT
    =================================
    First Name: Bob                  Employee ID: 0000000000
    Last Name: Swarts              Company Credit Card Number: 0000-0000-0000-0000
    Middle Initial: F                  Social Security Number: 000-00-0000
    First Name: Sue                  Employee ID: 1111111111
    Last Name: Johnson           Company Credit Card Number: 1111-1111-1111-1111
    Middle Initial: G                 Social Security Number: 111-11-1111
    etc.....In MS Access, doing this is very easy. From what I understand, this is also very easy to do this using PDF software with a print server. However, if you are like me, you don't want to waste time and money by obtaining and configuring a print server (even if it is free). However, never fear because you can create simple reports like this with relatively minimalistic effort; and you can do so without having to configure a print server.
    1.) Create a new page
    2.) Create a new sql query report region on the page
    3.) Make your query just as you would normally.
    For this example the query would be:
    select first_name, employee_id, last_name, company_credit_card_number, middle_initial, social_security_number from employee_table4.) Go to "Shared Components"
    5.) Under "User Interface" click on "Templates"
    6.) Click on the "Create" button
    7.) Select "Report"
    8.) Select "From Scratch"
    9.) For the "Template Class," choose one of the "custom" classes. For the "Template Type," choose "Named Column"
    10.) Click the "Create" button
    11.) Now that you created a custom row template, go back to "Shared Components" and then to "Templates"
    12.) Find your custom template and click on it
    CUSTOM TEMPLATE HOW TO
    1.) In the "Row Template 1" textbox, you are going to create some custom css that will display the data on the page. The css to make the report look like the report above would be:
    <div style = text-align: justify">
    <table>
    <tr>
    <td style = "width: 200px"><b>First Name: #1#</b></td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px"><b>Employee Id: #2#</b></td>
    <tr>
    <td style = "width: 200px">Last Name: #3#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Company Credit Card Number: #4#</td>
    <tr>
    <td style = "width: 200px">MI: #5#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Social Security Number: <b>#6#</b></td>
    </tr>
    </table>
    <p style = "page-break-after: always">----------------------------------------------------------------</p>
    </div>
    {code}
    As you probably figured out, the numbers between the two pound signs ("#") are substitution strings for the variables in your select query in the SQL report.  As you have also probably noticed, the "page-break-after: always" line will always make it so that only one report is shown on a page.  To fix this, we will need to use logic and row template 2.
    2.)  For the "Row Template 1 Condition," select "Use Based on PL/SQL Expression" from the select list.
    3.)  In the textbox for the row template 1 expression enter in the following:  {code}substr('#rownum#',-1) = 0 or substr('#rownum#',-1) = 5{code}
    ***** This condition will make sure that this template is applied when the last digit in the row number is either a "0" or a "5."  So, only 5 reports will be displayed per page.
    4.)  Now go down to "Row Template 2" and enter in the following in the textbox:
    {code}
    <div style = text-align: justify">
    <table>
    <tr>
    <td style = "width: 200px"><b>First Name: #1#</b></td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px"><b>Employee Id: #2#</b></td>
    <tr>
    <td style = "width: 200px">Last Name: #3#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Company Credit Card Number: #4#</td>
    <tr>
    <td style = "width: 200px">MI: #5#</td>
    <td style = "width: 225px">&nbsp</td>
    <td style = "width: 215px">Social Security Number: <b>#6#</b></td>
    </tr>
    </table>
    <p>----------------------------------------------------------------</p>
    </div>look familiar? that is because it exactly the same code as above, except without the page-break-after piece.
    5.) For the "Row Template 2 Condition," select "Use Based on PL/SQL Expression" from the select list.
    6.) In the textbox for the row template 2 expression enter in the following: substr('#rownum#',-1) != 0 or substr('#rownum#',-1) != 5***** This condition will make sure that this template is applied when the last digit in the row number IS NOT a "0" or a "5."
    7.) Scroll down to column headings and enter this in the textbox for the "Column Heading Template": OMIT
    8.) Click the "Apply Changes" button
    9.) Now go back to your application and the page you want to apply the custom report to
    10.) On the report, click on the report tab
    11.) Scroll down to "Layout and Pagination"
    12.) Click on the "Report Template" select list
    13.) Select your custom template
    14.) Click the "Apply Changes" button and run the page
    Try printing the report, if it does not print correctly, try it in Opera, Safari, Internet Explorer, Firefox, and Google Chrome. Please note that it is my understanding that only Firefox does not understand the css "page-break-after: always"
    If needed, add some css to the page to hide tabs and other items when you print.
    ~Andrew Schulltz

    DOH. Too much copy/paste.
    In my code, I was setting an application variable to contain the email address I was retrieving from AD. Once commented out, it worked fine.
              IF l_attr_name = 'mail' THEN
                 APEX_UTIL.SET_SESSION_STATE('F111_USER_EMAIL',l_vals(i));
              END IF;

  • Oracle APEX PL/SQL reports

    Hello
    I was wondering if someone can help me with the syntax error, or if someone can give an example how to implement dynamic query based on a select list item.
    Last night I was looking how to implement simple PL/SQL report using Oracle Apex source region, but every time I try to run the page I'm getting an error "Flow=128 page=10 ORA-20001: wwv_flow_flash_chart.func_ret_sql_qry_err"
    IF I put the same query into SQL developer and replace :P10_STATUS into string 'open', query returns correct results.
    It works fine for single table, but not for inner joint.
    Any help would be appreciated.
    ======================================================
    declare
    v_return varchar2(3000);
    begin
    IF :P10_STATUS is not null THEN
    v_return := 'select p.priority, p.status, i.departments
    from help_details p, help_department i
    where status = :P10_STATUS';
    END IF;
    return v_return;
    END;
    =========================================================

    Hi ATD,
    Thanks for the suggestions.
    Now i have replaced the code as
    Declare
    v_return varchar2(3000);
    begin
         :P1_ITEM1:=:P1_DEPTLOV;
    IF :P1_DEPTLOV IS NOT NULL
    THEN
    v_return:='select dname,deptno from dept ';
    return v_return;
    ELSE
    V_RETURN:='SELECT ename,deptno FROM EMP ';
    return v_return;
    END IF;
    plsql reportEdit      
    report error:
    ORA-20001: Error fetching column value: ORA-01403: no data found
    DEPTNO     Ename
    and in case i change
    select dname from dept ; for select dname ,deptno from dept ;
    then i m able to see only the col deptno , but in query i never used dept...
    I am unable to get where is the mistake ..
    Kindly to a favour by using the above link & checking the application .
    Regards,
    Nandini Thakur.
    Edited by: Nandini thakur on Nov 25, 2010 3:59 AM

  • How to change database in crystal report design

    Hi experts
                         I have created a report in crystal addon using demo database, now I want to change the database to see the actual testing of report. I tried by Set Location option in Database expert I log off the current server then Log on It ask the database name I put new database name . But when I Run the report it show the previous database records.

    >
    Julie Jamieson wrote:
    > Try using a dot (.) as the server if you want to be able to run the report from inside SAP from a different database
    What do you mean by this?
    I have not yet installed the Crystal Addon for SAP (Using R1 Reports now) I would hope that Addon allows you to use a different database with Crystal, my current solution does and that is how I build most of my reports with views and sp's.
    I hope this is not to far off topic.
    Thanks
    Ken W.

  • How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000

    Post Author: ltkin
    CA Forum: WebIntelligence Reporting
    Hi,
    How to build a report in web Intelligence using Store procedure under Microsoft SQL Server 2000 ?
    Regards,

    Hi ltkin,
    Unfortunately, it is not possible in Xir2 to create Webi reports from stored procedures.
    Webi reports can only be created from Universe. So in Business Objects XIR3 we can create a special universe that enables Web Intelligence user's to access stored procedures residing in the database. This is the only way that Web Intelligence user's can access stored procedures.
    Please let me know if the above information helps.
    Regards,
    Pavan

  • SQL report shoring report total - how to disable it

    Hi,
    I am using a report of type "SQL report" to show monthly revenues by year... Report is showing total for individual years... my issue is that Report is also showing a grand total for all years (report total)... may I know how to get rid of report total

    You could build your query to produce the subtotals using a rollup and then NOT have to have the report do totaling..
    Thank you,
    Tony Miller
    Webster, TX
    On the road of life...There are 'windshields', and there are 'bugs'
    (splat!)
    "Squeegees Wanted"
    If this question is answered, please mark the thread as closed and assign points where earned..

Maybe you are looking for

  • Is there a way to set the control panel in assistive touch?

    I have a survivor case on my iPhone 5 and it is difficult to pull up the control panel from the bottom. Is there a way to set the control panel to pop up through assistive touch? If so how?

  • Problem posting through FBV0 with BTE enhancement

    Dear Gurus, I created BTE enhancement event 1030 in P/S modules. The BTE program used to post another document after original (standard) document is posted. If we post directly without park, the document all posted successfully. So when the document

  • Paste not working in Dreamweaver CS4

    I am running Dreamweaver CS4.  The paste function is not working. Any ideas?

  • How does the macbook pro stack up to the competition?

    Look at this - a 240gb HD! Catch up apple catch up! in the intel and compatible world you really need to offer more for less. Mac OS is much better than windows but the macbook pro is less hardware for more. That's part of the equation too. HP Pavili

  • Dynamical logical port creation

    Hi Is it possible to generate a logical port dynamically at runtime. I only need a logical port once for executing a web service, so I'm looking for a way to minimize administration work. Regards, Mathias