Oracle10g Reports & Pipe row

I have a function that returns pipelined row, and need to pass parameter to oracle report to call this function, how can i do it in the report query?
following is a sample:
function get_info (v1 number, v2 varchar2)
return my_row pipelined
pipe row ( ......).
now in the report query
select * from table(get_info(????)),
how to pass these as parameter?

It was a bug on the PC I worked on.
Problem solved

Similar Messages

  • How to print a report without row numbers or grid lines?

    Is there a way to print a Discoverer report without row numbers or grid lines?
    Thank you.
    Blake

    Hi Blake
    You're not doing anything wrong.
    The settings made when you use Tools | Options | Sheet are global settings that are only applied to new workbooks and worksheets going forwards. These have no impact on existing worksheets or even the one you currently have open. This is because Discoverer does not know whether your original worksheets were setup in a certain way deliberately as opposed to inheriting the global settings as they were at that time. What this also means, reading between the lines, is that these settings must then be stored within the worksheet itself, and this is exactly what happens.
    Thus, to edit an existing worksheet's settings you need to open the worksheet, right-click in the sheet and from the popup select either Format Table or Format Crosstab depending upon the type of worksheet you are working with. After making any necessary changes you will need to save or re-save the workbook in order for those settings to be remembered for the next time.
    Best wishes
    Michael

  • XL reporter error occurred while executing report! Rows: 25203 Columns: 30

    An error occurred while executing report! Rows: 25203 Columns: 30 Unspecified error
    One user gets this error when trying to run a custom XL report. It works for other users(on different PCs). The user can run other XL reports successfully.

    Hello  pls
    follow below procedure
    start->my computer>cdrive>program files >sap>sap business one> remove these two files 1).AddOnsInstall.sbo and 2).AddOnsLocalRegistration.sbo and clear all ur %temp%Files,prefetch,recent files and restart and open sap then u will get connected to xl reporter add on. and u will not get any errors
    regards
    Jenny

  • How to freeze the report header row in the web template SAP BI 7.0?

    Hello,
    Can somebody tell me how to freeze the report header row in the web template SAP BI 7.0 (key fiigures1, 2,3)?
    key figure1   key figure2    key figure3
    20                    30                   40
    30                    80                   90
    Thanks

    Hi,
    You can refer the following threads...
    Re: Create Scrollable Table Body in WAD - Locking Table Column and Header
    Freeze Data Columns in WAD
    This will help you!
    Rgds,
    Murali

  • Set report starting row to 1

    Dear all,
    I've got a page containing a tree and a report. The tree offers the categories and the report will show the corresponding articles.
    Problem:
    - click at the tree on a category (the report will be updated)
    - click on the report on the "next page" link (the next page will be displayed)
    - click on the tree on another category which just contains 3 or 5 articles
    -> The report shows no articles as the report has "saved" that it should display page 2.
    Is there a possibility to set the report to "row 1" when clicking on the tree (maybe through a URL parameter)?
    Thank you really much for your help!
    Best regards
    Matthias

    Matthias,
    I believe the feature you are looking for is "Reset Pagination".
    You have a checkbox with this name when you define a link in a report, for example.
    You can also specify it using the url syntax (see the documentation for details):
    f?p=101:2:3290311647073705823::NO:RP,::
    See the following threads on suggestions regarding this issue: http://forums.oracle.com/forums/search.jspa?objID=f137&q=%22reset+pagination%22
    ~Dietmar.

  • Report two rows for a given group item

    All,
    I need to generate a report that will list credits on one line and related debits on the next line. Kind of like the following:
    Account Name_____Amount
    Cash ................. 1000.00 ...... (this line would reflect positive entries, or deposits)
    Cash .................... 20.00 - ...... (this line would reflect the negative entries, or withdrawls)
    Is there an easy way to do something like this?
    We're running the desktop edition of Discoverer 10g.
    Thanks,
    Gary F.

    Hi Rod,
    The plot thickens...
    The report I'm working on will read through a table of invoiced items, much like the following:
    Bill_Charges Table
    Company
    Year
    Month
    Week
    Bill_Code
    Retail_Amount
    Discount_Amount
    Based on the Bill_Code, I need to aggregate the Retail_Amount, and the Discount_Amount.
    The data can look like this:
    ABC Company, 2009,08,01,102,100.00,10
    ABC Company, 2009,08,01,103,90.00,15
    ABC Company, 2009,08,01,104,100.00,5
    ABC Company, 2009,08,01,105,100.00,5
    The report will then need to report two rows for all Bill_Codes in the 100s range, first the Retail_Amount, and then the Discount_Amount directly below it, in the next row, as seen below:
    Company Name . . . . . . .Billed Amounts
    ABC Company................$390.00 (This would be the sum of the Retail_Amount column)
    .................................. $35.00 (this would be the sum of the Discount_Amount column)
    My gut feeling is that this will need to be a pivot table, but I'm so rusty on pivot tables that I'd need more than just a squirt can to limber me up.
    Any help you can throw my way would be greatly appreciated.
    Thanks for all you do for us,
    Gary F.

  • Error in pipe row function.

    Hi,
    I wrote the below function,if i select the functions,it returns below error
    create or replace
    FUNCTION FUN_CHR_SEP(P_FLAG IN VARCHAR2)
    RETURN COLS_VAL PIPELINED
    AS
    cursor C_CHR_SEP is
    select text from
    (SELECT SUBSTR(
    txt,
    INSTR(',' || txt,',',1,LEVEL),
    INSTR(txt || ',',',',1,LEVEL) - INSTR(',' || txt,',',1,LEVEL)
    ) TEXT
    from (select P_FLAG TXT from DUAL) T
    connect by level <= length(TXT)-length(replace(TXT,',')) + 1);
    BEGIN
    for REC in C_CHR_SEP LOOP
    PIPE ROW (CHR_COLS_VAL(REC.text));
    END LOOP;
    END;
    select * from table(cast(FUN_CHR_SEP('A,C,V,B') as COLS_VAL));
    Error:
    ORA-06503: PL/SQL: Function returned without value
    ORA-06512: at "SHIPLUS.FUN_CHR_SEP", line 18
    Note : CHR_COLS_VAL and COLS_VAL are Type.
    Regards,
    Fame

    This is the forum for SQL Developer (Not for general SQL/PLSQL questions), you should ask your question in the SQL and PL/SQL forum.
    Having said that, your function has no return statement.

  • Does use of pipelined/pipe row have a limitation on amount of data returned

    We are using Oracle 9i.
    We have an existing function that pipes data. Select * from table(cast(schema.my_pkg.get_data() as schema.t_my_data_tab))
    Function runs, but only returns around 10,000 records. There are actually about 50,000 records to be returned. I do not believe it is just erroring out one a single and stopping because I sorted my cursor multiple ways to show that in one sort certain records do not show, but when sorted another way they do. It is still possible something is stopping it - I will continue looking. But I would like to know if anyone is aware of any size limitations in the amount of data to be piped? I've looked at the types created & the function and do not see anything that was set for a size. Any ideas?
    I apologize I do not know all the correct terms to use. I am taking this over from someone else - hopefully an example of their code will help. Thank you very much.
    FUNCTION get_data(p_id NUMBER DEFAULT NULL)
    RETURN t_my_data_tab PIPELINED
    AS
    v_temp VARCHAR2(10);
    BEGIN
    PIPE ROW
    (t_links_contracts_rec
    (...data values....)
    RETURN;
    END;

    I'm not sure really, if there was a limitation I believe it would be documented and even would raise an exception. I've only used pipelined table function for smallish sets of data. I can't simulate much as I only have access to 10g and 11g here, so I ran a query with 50,000, but I'm only posting its count for obvious reasons.
    Connected to Oracle Database 10g Enterprise Edition Release 10.2.0.4.0
    Connected as fsitja
    SQL> create or replace type t_tab is table of number;
      2  /
    Type created
    SQL>
    SQL> create or replace function test_pipe return t_tab pipelined as
      2  begin
      3    for i in 1 .. 50000
      4    loop
      5      pipe row (i);
      6    end loop;
      7  end;
      8  /
    Function created
    SQL> select count(*) from table(test_pipe);
      COUNT(*)
         50000
    SQL> Some docs referencing the subject from 9i:
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96624/08_subs.htm
    http://download.oracle.com/docs/cd/B10501_01/appdev.920/a96595/dci12tbl.htm

  • Report Record Row with multiple color conditionaly

    Dear Friend,
    i am using Apex 3.2 ver.
    i want to display report record row with colour .
    i want to display reoport row color blue if INVOICE_TYPE column is 'I' and RED if INVOICE_TYPE is 'C' .
    select
    am.ID,
    am.INVOICE_NO,
    am.INVOICE_NO as invoice,
    am.SBU_CODE,
    am.INVOICE_TYPE,
    am.INVOICE_DATE,
    am.AGENT_CODE,
    am.NO_OF_PAX,
    am.ADDL_FIELD5
    from "AR_INVOICE_MAS"  amHow can i disply row record conditionaly color ful .
    Thanks
    Edited by: Vedant on Oct 10, 2012 11:05 PM
    Edited by: Vedant on Oct 10, 2012 11:14 PM

    Dear Jary,
    Thanks to reply me.
    i have follow your link and font color display but bg color not display.
    now i have change in code
    select
    am.ID,
    case       when am.INVOICE_TYPE = 'C' then 'BLUE'
               when am.USER_ENTER_AMT = sum(al.NET_AMT) then 'RED'
                end the_color,
    am.INVOICE_NO,
    am.INVOICE_NO as invoice,
    am.SBU_CODE,
    am.INVOICE_TYPE,
    am.INVOICE_DATE,
    am.AGENT_CODE,
    am.NO_OF_PAX,
    am.ADDL_FIELD5,
    NVL(sum(al.NET_AMT),0) AS SUM,
    NVL(am.USER_ENTER_AMT,0.00) AS CONTROLSUM
    from "AR_INVOICE_MAS"  am ,AR_INVOICE_DTL al WHERE am.invoice_no=al.invoice_no(+)
    group by am.ID,am.invoice_no,am.SBU_CODE,am.invoice_type,am.invoice_date,am.agent_code,
    AM.NO_OF_PAX, am.ADDL_FIELD5,am.USER_ENTER_AMT Here i want to display in red below condition but it's not working.
    when am.USER_ENTER_AMT = sum(al.NET_AMT) then 'RED'How can i display Record in RED which record does not varify below condition
    when am.USER_ENTER_AMT = sum(al.NET_AMT) then 'RED'
    How can i do this.
    Thanks

  • Conditional hyperlinks in a report by row

    Is it possible to have conditional hyperlinks in a report by row based on values of columns in the row?

    You would replace the hyperlinks I provided with links to pages in your application.... As suggested..
    SELECT X,
               Y,
               CASE X
                   WHEN X = 16 THEN
                         < a href="f?p=&APP_ID.:[your target page here]:&SESSION.">Link-text</a>
                    WHEN X = 21 THEN
                         < a href="f?p=&APP_ID.:[your NEXT target page here]:&SESSION.">Link-text</a>
                    WHEN X > 22 THEN
                          < a href="f?p=&APP_ID.:[your NEXT target page here]:&SESSION.">Link-text</a>
                    ELSE
                          < a href="f?p=&APP_ID.:[your target page here]:&SESSION.">Link-text</a>
               END CASE
    FROM Blah BlahThankyou,
    Tony Miller
    Webster, TX

  • Mutiple EVDRE's in  Report - Overwriting rows issue

    Hi,
    I have 2 evdre's in my report. Rows from my 1st evdre is overwriting rows  in the 2nd Evdre.
    How to fix this?
    Thank you in advance.

    Hi nilanjan,
    EVDRE1
    RANGE     VALUE
    PageKeyRange     Sheet1!$F$3:$F$16
    ColKeyRange     Sheet1!$K$39:$L$39
    RowKeyRange     Sheet1!$I$41:$I$42
    evdre2
    RANGE     VALUE
    PageKeyRange     Sheet1!$F$20:$F$33
    ColKeyRange     Sheet1!$K$46:$L$46
    RowKeyRange     Sheet1!$I$48:$I$49
    The rowrangekey seems to be fine for me..but not sure why its overwriting the rows.
    Any other suggestions?
    Thanks for your help

  • Opposite of PIPE ROW(out_rec) in oracle

    when a function is to return large amount of data, can be done by PIPE ROW(out_rec) in oracle to return when the data is ready.
    similaly in order to accept large amount of data from the application do we have any process

    You should look for sqlloader and use a differentformat. It will be X times faster!
    Can you mention about the different format?What he means is that you do not need to have insert statements in an sql file especially if you have large amount of data to insert.
    What you need is the values separated by a field delimiter and each record separated by a record delimiter. For these formats, you need to go through the Oracle Documentation for sqlloader.
    Loading data into tables via sqlloader is much faster than processing insert statements written in an sql file and then load that into a table.
    Regards,
    KeshavB

  • Check Box for each row in report -- all rows deleting when pressing DELETE

    Hello experts! I have set up a report with a check box for each row. When I click the DELETE button to delete the selected rows, every single one of the rows get deleted...even the ones that are not selected. I have my process point set to "On Submit - After computations and validations".
    This is my delete process (SHG is the table and SHG_ID is the primary key):
    FOR i in 1..HTMLDB_APPLICATION.G_F01.count
    LOOP
    DELETE FROM SHG
    WHERE SHG_ID = HTMLDB_APPLICATION.G_F01(i);
    END LOOP;
    Also, I've added to query in the region source this line:
    htmldb_item.checkbox(1, SHG_ID) del,
    Where does the "1" come into this? Not sure what I am doing wrong!
    Message was edited by:
    user477193
    Message was edited by:
    user477193

    The 1 (first argument to all the htmldb_item.* APIs) corresponds to the array number in htmldb_application.g_fNN. So 1 will populate array g_f01, 2 will populate g_f02 and so on.
    Your code seems fine, it should delete only the checked rows. Are you sure there is no other process on the page that might be deleting the rows? See if you can put up an example on htmldb.oracle.com

  • Using member sorting and grouping with two reports sharing rows

    Hi!
    I have a problem with one report and I need some help or advise here.
    I have two dimensions with dynamic expansion in rows (PRODUCT, MATERIAL), and I use the option Member Sorting and Grouping at Member selector to obtain the total amount of PRODUCT group by PARENTH1:
    PRODUCT               MATERIAL          AMOUNT
    TOTAL PROD_A-X                                   100
    PROD_A_A             MAT1                          22
    PROD_A_B             MAT1                          50
    PROD_A_A             MAT2                          28 
    TOTAL PROD_B-X                                   120
    PROD_B_A             MAT1                          30
    PROD_B_A             MAT2                          50
    PROD_B_B             MAT2                          40
    This works fine if I only have one report, but I need to create another one sharing the row and page axis with the Default Report, when I do that the option Member Sorting and Grouping doesn't work. I really need to have two reports with shared rows and also the summation by PARENTH1, how can I do that?
    Thank you very much

    Hi!
    I have a problem with one report and I need some help or advise here.
    I have two dimensions with dynamic expansion in rows (PRODUCT, MATERIAL), and I use the option Member Sorting and Grouping at Member selector to obtain the total amount of PRODUCT group by PARENTH1:
    PRODUCT               MATERIAL          AMOUNT
    TOTAL PROD_A-X                                   100
    PROD_A_A             MAT1                          22
    PROD_A_B             MAT1                          50
    PROD_A_A             MAT2                          28 
    TOTAL PROD_B-X                                   120
    PROD_B_A             MAT1                          30
    PROD_B_A             MAT2                          50
    PROD_B_B             MAT2                          40
    This works fine if I only have one report, but I need to create another one sharing the row and page axis with the Default Report, when I do that the option Member Sorting and Grouping doesn't work. I really need to have two reports with shared rows and also the summation by PARENTH1, how can I do that?
    Thank you very much

  • Updateable Report/Pagination - rows found but not displayed

    Bear with me if there is a post that covers this, as the SEARCH facility seems to be hanging when I search on Pagination.
    I have a SQL Query (PL/SQL Function Body Returning SQL Query) which creates an Updatable Report.
    If I run the Query and the selection criteria results in more than one page in the "search results" and then I go to page 2 or page 3, etc and then peform another search that only results in 1 page of "search results", the actual search results will not display, but the pagination will show the number of rows that should be displaying.
    For example, I search on Coroner "John Black", which returns 55 rows. The first 50 are displayed. The next 5 are on page 2. If I then searchon Coroner "Jim Bean", 22 rows are returned (all on page 1). If I then search on "John Black" again, and this time, go to page 2 (to see the final 5 rows in the result set) and then search on "Jim Bean", I won't get any data in the report for Jim Bean, but a message showing that there are 22 rows of data. However, I cannot get that data to show (even if I select NEXT or PREVIOUS for the pages.
    Then if I go back and select on "John Black", get the same problem. I basically have to sign out completely in order to get this reset.
    Note that the problem occurs if you are on a page greater than that of the result set on the next query. For example, if I am on page 3 of 5 pages and perform another selection that has 3 pages, it is fine. But if the result set only has 2 pages, the form becomes confused.
    If the "Layout and Pagination" has a "Pagination Scheme" set to "Row Ranges X to Y of Z (no pagination)" I get an error like "Minimum row requested: 2401, rows found but not displayed: 46".
    If I use "Row ranges 1-15 16-30 (with set pagination)" I get "1-46" as a hyperlink, which if I click on, will show me the report.
    If I use "Row ranges 1-15 16-30 in select list (with pagination) I have a problem.
    If I use "Row Ranges X to Y (no pagination) I have problems.
    If I use "Row Ranges X to Y of Z (no pagination) I have problems.
    If I use "Row Ranges X to Y of Z (with pagination) I have problems.
    Basically, the one one that seems to work is those that have a hyperlink. Uing NEXT, PREVIOUS or a select list does not seem to work.
    Do you know what is causing this problem?

    I have the same issue, but cannot resolve it following above suggestions. I have a report page with search criteria and a "Go" button to submit the search. The branch back to the same page has "reset pagination for this page" checked, but still if run a query that returns just one row after having paged forwards, I get no rows displayed and a pagination link "1-1" that when clicked brings up the selected row.
    I tried adding a "Reset Pagination" process to run on submit (unconditionally), and it made no difference.
    I am using HTMLDB 2.0.

Maybe you are looking for

  • Apple Mobile Device Service Quits repeatedly

    This just started happening a few days ago. When I try to sync my iPhone with iTunes,it says "iPhone cannot be used because Apple Mobile Device Service is not started." I followed the instructions found on this site and,by turning the service back on

  • IOS 8.1.1 iPhone mail app not working with Yahoo

    Since upgrading my iPhone 4S to iOS 8.1.1 I have been unable to access my (UK) Yahoo mail account. Following advice from other posters I have tried deleting the account, doing a hard reset and then adding the account again. Also tried different setti

  • Multiple kernel panic errors after upgrading to snow leopard 10.6.8 on my MacBook Pro.

    After upgrading to 10.6.8, I almost immediately began experiencing multiple random kernel panic errors.  I reinstalled the operating system that came with my notebook from the cd (10.6?) and the problem went away.  I upgraded again to 10.6.8 and agai

  • Trouble connecting ipod touch

    error 0xE800000a is showing when i connect my ipod touch to the pc... Please help

  • SIGTRAN and Qos

    Hi all, I am new in QoS and trying to apply it in two of my voice links. I have a voice circuit (1xE1) between our office and HQ in USA and another voice circuit (3xE1) with another branch. I have only voice and signaling traffic on the USA circuit a