Max limit of record fetch in Parameter form

I am working in Reports 6i.
I am populating the LOV in Parameter form. The query used in the LOV returns more than 1,00,000 records.
When I execute the report it encounters with the following error
REP-0066: Error executing CA Utility
REP-3335: Unhandled Internal CA Error.
calaa 1
When I remove this parameter form query my report runs smoothly without any error.
Please help me whether there is any solution to populate morethan 1,00,000 rows in the parameter form.
Thanks In Advance
Dheeraj

I would question why you're trying to generate an LOV with 100,000 rows in it. You possibly should consider another UI for presenting to the user, possibly have a Forms parameter form to drive the report where you have a lot more control (including tree controls).
Another alternative is to create an HTML parameter form using Reports before/after parameter form escapes to generate the HTML controls you need. The constraints then come down to those of the browser rather than Reports.

Similar Messages

  • Building a block based on the records fetched - Forms 10g

    Is there a way in forms to dynamically build the block ( I mean in a multi record block, we usally set the number of records displayed in the property pallete) Instead of setting the property is there a way that we can do it based on the records fetched by the query?
    select a.unit_id, substr(b.product_code,1,5)
    from [email protected] a,[email protected] b
    where substr(a.product_code,1,5) = b.product_code
    and substr(a.product_code,1,5) = 'E3088'
    and inv_product_type in ('PHER','LPHER','VPHER')
    and warehouse_id = 'A'
    This is the query.
    If the query for product_code fetched 5 units for product code = 'E3088' of inv_product_type as mentioned in the query, is if possible to build the multi record block? For another product E3077 it might give us 6 records.
    User wants me to see if I can do it? Is it possible?
    Thanks in advance.
    Anu

    Hi,
    I've not tried this and can't say for sure if it is possible or not.
    But, have a look at this link Re: Automatic  Number  of record displayed .
    I'd thought of a solution but never tried myself. Try if it works for you.
    If it doesn't, i think it will not be possible in oracle forms.
    Navnit

  • Bad practice to always fill recordable media dvd etcetera to the max limit?

    I burn a lot of dvd, bluray etcetera.
    I see that for example Blu Ray Bd-R has a max capacity of 23.31 GB (single layer).
    I have heard that you are not suppose to fill it to the max limit due to quality of burning for long time storage, but cannot understand why eventually.
    Any good guidelines for this?

    Yes, I agree, the chance of bad sectors, or the need for an extra metafile block can means filling the disc is undesirable, especially if just adding plain data. 
    Here's what I have to say about CDs*:
    http://www.macmaps.com/cdrfailure.html

  • Null value in parameter form.

    In parameter form I want to leave blank option in order to print a report for all the values in the parameter form. I am writing the query for the parameter LOV that it fetches the values and making a union with 'select to_char(null) from dual.
    I am getting a blank and the required output when the report is run using the report builder but the this blank space or null value disappears when the report is run on application server 10g. It seems to be a small problem but I am not able to get a solution for this. Please, suggest something.

    Hi,
    Instead of a Null, why not use '-ALL-',
       union all
       select '-ALL-'
       from    dualthen in your query, you will have,
    where column_1 = decode(:param1, '-ALL-', column_1, :param1) that way it will be more clearer for the users that if they picked '-ALL-' in the LOV that they will get all records and will eliminate the problem you are having with null when you deploy your report in application server.
    -Marilyn

  • Using ref cursor in after parameter form in reports

    hi everyone,
    I have problem in usage of ref cursor in after parameter form. My actual requirement is I have user parameter :p_minval, :p_maxval. The values into these user parameters will be coming dynamically using sql_statement as shown below
    select min(empid),max(empid) into :p_minval, :p_maxval from emp where empid in (:p_emp);
    I will be writing this query in the after parameter form
    :p_emp is a lexical parameter as per me but the after parameter form is taking it as a bind variable. so I decided to define a ref cursor and then use it for retrieve. But when I use ref cursor it is returning pl/sql error 591 saying that this is not supported by client side can anyone help me plz..
    The following is the code i tried to use in after parameter form
    function afterPform return boolean is
    type rc is ref cursor;
    l_rc rc;
    sqlstmt varchar2(512);
    begin
    sqlstmt:='select min(empid),max(empid) from emp where empid in ('||:p_emp||')';
    open l_rc for
    select max(empid) from emp where empid in ('||:p_emp||')';
    fetch l_rc into :p_maxval;
    close l_rc;
    return(true);
    end;
    thanks & regards
    venkat

    I ran into the same problem. any body knows why?

  • Maximum record fetched  property of block

    hi friends
    i have a basetable block
    and i set the maximum record fetched property for this block to 1
    but when i execute_query
    i see all records.
    can any one help me?
    and i set this property ---> query array size
    but it doesnot work also!!!!
    tahnks
    regards,
    shoja

    This property takes effect when the Query All Records property is set to true - and you may have to set the interaction mdoe to Non-blocking at Form mode.
    A Simpler way to limit the number of rows would simply be to add
    where rownum < 2 to the where clause for the block.

  • Query Result based on the Parameter Form

    Good Morning folks. I really couldn't come up with a smart enough Subject Line but I will try and make it up in the body.
    I currently have a report that accepts Parameters on the Parameter Form. They are Employee ID# and Number of Copies. The Employee ID is stored in the Employee table but the number of copies is not.
    The output on the Report shows all the different addresses and Phone Numbers the Employee has. Lets say, Employee ID 0001 has two addresses -- Home and Office. In the Report output based on my Query, it is going to return me two records in the Repeating Group. I however, have another parameter along with the Employee ID which is the Number of Copies. In this case, if the Number of Copies to be printed is 1, then its not an issue. However, if the Number of Copies entered by the User is 4, I would expect in that case 4 x 2 = 8 pages of Report output (4 with the Home Address and 4 with the Office Address).
    I know there is way to do this using a Temporary table in AfterPForm and then using the results in the Query by joining my query to the Temporary table but I was really hoping to avoid this situation if it can be handled through the Query.
    Main Query:
    SELECT    e.emp_no,
              e.saln||e.first_name||' '||e.last_name emp_name,
              a.street,
              a.city||' '||a.province||' '||a.postal_code city,
              '('||a.tel_area||') '||a.tel_number telephone
    FROM      employee e, emp_address a
    WHERE     e.emp_no = a.emp_no
    AND       e.emp_no = :P_EMP_NO;Any help is appreciated. Thanks!

    I think I have not explained my requirements clearly and I have missed some valuable information. I will go ahead and start again.
    We do have quite a few reports with similar scenarios, so avoiding Temporary tables would be very beneficial if this works using Queries.
    I have a Report that has a Parameter Form. This Parameter form has 6 fields in total.
    Three of them belong to Customer ID# and 3 belong to Number of Copies.
    User Parameters for Customers: P_CUST_ID1, P_CUST_ID2, P_CUST_ID3
    User Parameters for the Number of Copies: P_N1, P_N2, P_N3
    So, the field PF_CUST_ID1 would have a source with P_CUST_ID1 and the field PF_N3 would have a source P_N3
    Form Paramater:
      PF_CUST_ID1   ----------         PF_N1   ---
    PF_CUST_ID2   ----------         PF_N2   ---
    PF_CUST_ID3   ----------         PF_N3   ---So, at any given point, there could be a maximum of 3 Customer ID's passed to the main query. Here is an example of what the input parameters could look like.
    User chose to enter values for Customer ID's 1 and 2 and left it blank for Customer 3.
      Customer ID1   1001         Number of Copies   2
    Customer ID2   1002         Number of Copies   3
    Customer ID3   ----         Number of Copies   -The Query that retrieves data looks something like this. The query below is intended to fetch Customer Home and Office Addresses.
    Of course, it is possible that there might be No home or Office Address or both.
    SELECT    c.cust_no,
              c.saln||c.first_name||' '||c.last_name cust_name,
              a.address_type,
              a.street,
              a.city||' '||a.province||' '||a.postal_code city,
              '('||a.tel_area||') '||a.tel_number telephone
    FROM      customer c, customer_address a
    WHERE     c.cust_no = a.cust_no
    AND       c.cust_no IN (:P_CUST_ID1, :P_CUST_ID2, :P_CUST_ID3);Based on my query:
    Customer ID 1001 has 3 Addresses (2 Home and 1 Office) --> Total number of Records = 3
    Customer ID 1002 has 2 Addresses (1 Home and 1 Office) --> Total number of Records = 2
    The output should be something like this. I have put a Label Copy1, Copy2 and Copy3 to show
    how the data will appear for readability.
    Cust No Customer Name      Address Type    Address Line 1         Address Line 2        Telephone
    Copy1
    1001    Mr Robert Green    H               2100 Picket Fences     Vancouver BC V6E 2C9 (604)726-5555
    1001    Mr Robert Green    H               2300 Happy Valley      Vancouver BC V6G 2N8 (604)308-5555
    1001    Mr Robert Green    O               1200 Davie Street      Vancouver BC V1V 1X1 (604)211-5555
    Copy2
    1001    Mr Robert Green    H               2100 Picket Fences     Vancouver BC V6E 2C9 (604)726-5555
    1001    Mr Robert Green    H               2300 Happy Valley      Vancouver BC V6G 2N8 (604)308-5555
    1001    Mr Robert Green    O               1200 Davie Street      Vancouver BC V1V 1X1 (604)211-5555
    Copy1
    1002    Ms Cynthia Brown   H               261 King Street W      Calgary AB M5A 1N1   (416)432-5555
    1002    Ms Cynthia Brown   O               150 Bloor St W         Calgary AB M1W 1S3   (416)321-5555
    Copy2
    1002    Ms Cynthia Brown   H               261 King Street W      Calgary AB M5A 1N1   (416)432-5555
    1002    Ms Cynthia Brown   O               150 Bloor St W         Calgary AB M1W 1S3   (416)321-5555
    Copy3
    1002    Ms Cynthia Brown   H               261 King Street W      Calgary AB M5A 1N1   (416)432-5555
    1002    Ms Cynthia Brown   O               150 Bloor St W         Calgary AB M1W 1S3   (416)321-5555
    Scripts for the table creation and INSERTs
    CREATE TABLE CUSTOMER
        "CUST_NO"    VARCHAR2(4 BYTE) NOT NULL,
        "SALN"       VARCHAR2(4 BYTE),
        "FIRST_NAME" VARCHAR2(20 BYTE),
        "LAST_NAME"  VARCHAR2(20 BYTE),
        CONSTRAINT "CUSTOMER_PK" PRIMARY KEY ("CUST_NO")
    Insert into CUSTOMER values ('1001','Mr','Robert','Green');
    Insert into CUSTOMER values ('1002','Ms','Cynthia','Brown');
    Insert into CUSTOMER values ('1003','Dr','David','Taylor');
    CREATE TABLE CUSTOMER_ADDRESS
        "CUST_NO"      VARCHAR2(4 BYTE) NOT NULL ENABLE,
        "ADDRESS_TYPE" VARCHAR2(1 BYTE) NOT NULL ENABLE,
        "STREET"       VARCHAR2(20 BYTE),
        "CITY"         VARCHAR2(20 BYTE),
        "PROVINCE"     VARCHAR2(2 BYTE),
        "POSTAL_CODE"  VARCHAR2(10 BYTE),
        "TEL_AREA"     VARCHAR2(3 BYTE),
        "TEL_NUMBER"   VARCHAR2(10 BYTE)
    Insert into CUSTOMER_ADDRESS values ('1001','H','2100 Picket Fences','Vancouver','BC','V6E 2C9','604','726-5555');
    Insert into CUSTOMER_ADDRESS values ('1001','H','2300 Happy Valley','Vancouver','BC','V6G 2N8','604','308-5555');
    Insert into CUSTOMER_ADDRESS values ('1001','O','1200 Davie Street','Vancouver','BC','V1V 1X1','604','211-5555');
    Insert into CUSTOMER_ADDRESS values ('1002','H','261 King Street W','Calgary','AB','M5A 1N1','416','432-5555');
    Insert into CUSTOMER_ADDRESS values ('1002','O','150 Bloor St W','Calgary','AB','M1W 1S3','416','321-5555');
    Insert into CUSTOMER_ADDRESS values ('1003','O','435 Richmond Street','Calgary','AB','M5A 4T6','416','453-5555');Edited by: Roxyrollers on Jul 17, 2012 10:34 AM
    Edited by: Roxyrollers on Jul 17, 2012 10:58 AM

  • Parameter form  which generates a report in delimited format

    Hello , I have a parameter form which calls a report in delimited format.
    In the RUN_REPORT* (Function Body) in program units , I have made the following modifications :
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'DELIMITED');
    I get a report in txt format . The problem is that when I convert my txt file to excel , I get the label of each row which repeats the number of records found ! I should have the label appearing once followed by the data . What can I do to make that possible please ?
    or if I have a simple query e.g SELECT * FROM BANKS to generate in txt format . Can I write some code in PL/SQL to write the results of such a query in txt format?
    Thanks
    Edited by: twinklin_girl on Aug 28, 2009 3:53 AM

    I think I got the solution !
    I simply need to add the following in my run_report procedure :
    SET_REPORT_OBJECT_PROPERTY(v_report_id,REPORT_DESFORMAT,'*DelimitedData*');
    I get the actual title of each field(as it is in the database) displayed once followed by all records . It's not a perfect solution but I think it will do for now.

  • Parameter values are not showing in in the Organization Parameter form

    We have done a setup for an Inventory Organization.
    Everything was working fine.
    Values were showing everywhere.
    We have lot of transactions done in the org also.
    But suddenly yesterday when I was trying to open the Organization Parameter form for that specific organization, the form came up as blank and in the bottom the error is Query caused no records.
    I have checked data is there in the base table mtl_parameters.
    Value is coming for other organizations. Only one specific organization is having this issue.
    Even in Examine, I have taken the last query run on that form and ran the same in back end database, I can see all values are there in the database.
    But in frontend screen the values are not showing. even organization code also not showing.
    Navigation is: Inv Super user --> Setup --> Organization --> Parameter

    Have you checked Organization Access to ensure that no one restricted that org?
    Or shipping grants and roles?
    I think there are quite a few places that you can restrict access.

  • Max no of records in for all entries table

    Hello all,
    Hi have used for all entries in a select statement in BW extractor. This extractor is working fine for the test data. When i moved this code to pre-production for testing, there this extractor has to deal with thousands of records. In pre-prod , this select statement is not picking up all the records available in DB. Can any one give any idea on behavior of for all entries for large number of records. and is the any max limit for for all entries table.
    Thank you..correct answer will be rewarded.
    Regards
    Sravan

    Moderator message - Please search before asking and do not offer rewards (particularly since as far as I can see, you've awarded a total of two points in the last two years - post locked
    Rob

  • Max. no of records in an Idoc

    Hi all,
    Can somebody please tell me, the Max. no of records that can be hold in an Idoc?
    Thanks in Advance,
    Soumya.

    You can use Maintaining Control Parameters for Data Transfer
    parameter to control the maximum number of data records ... you determine the number of data Idocs after which an Info IDoc is to be sent
    It also depends on the following.
    Maximum size of the data package
    When transferring data into BW, the individual data records are sent in packages of variable size.  You can use this parameter to control how large such a data package typically is.
    If no entry is maintained, the data with a standard setting of 10,000 k Byte per data package is transferred. However, the required memory depends on not only the data package size setting, but also the width of the transfer structure, the required memory of the affected extractor, and, for large data packages, the number of data records in the package.
        Maximum no. of rows in a data package
    With large data packages, the required memory depends a good deal on the number of data records that are transferred with this package. You can use this parameter to control the maximum number of data records the data package is to contain.
    By default, the system transfers a maximum of 100,000 records per data package.
    The maximum main memory demand per data package is approximately 2 X ’Max. Rows’ X 1000 bytes.
        Frequency
    By specifying a frequency, you determine the number of data Idocs after which an Info IDoc is to be sent. In other words, how many data IDocs are described by a single Info-IDoc.
    By default, the frequency has been set to 1. This means that, in this case, an Info IDoc follows after each data IDoc. In general, you should choose a frequency between 5 and 10. If not, do not choose one above 20.
    The larger the package size of a data IDoc, the smaller you should set the frequency. As a result, you should get information about the data load status during the data upload in relatively short spaces of time.
    You can see in the BW Monitor from each info IDoc whether the load process was successful or not. The traffic light is green if this is the case for all data Idocs described by an InfoIDoc.  Info Idocs contain information about whether or not the data Idocs were correctly uploaded.
    Maximum number of parallel processes for the data transfer
    An entry in this field is only required as of release 3.1I.
    Enter a value greater than 0. The maximum no. of parallel processes has been set to 2 by default. The optimal choice of the parameter depends on the configuration of the application server you are using for the data transfer.
    Award points if found useful.
    Cheers,
    Chandra Sekhar.

  • Multi value select LOV in report builder 10g parameter form.

    Hi All,
    I have a requirement to show a set of records by getting user input through the report parameter form.
    employee Table.
    emp_id emp_name
    1 A
    2 B
    3 C
    4 D
    5 E
    In the report i am getting emp_id input from the user through list of values (LOV query is "select emp_id from employee where emp_id =:emp_id").
    This condition is working for me. now user want to select multiple emp_id from the LOV. so that the sql query will get the related records from the employee table.
    so the LOV query will work like the following "select emp_id from employee where emp_id in (:emp_id)".
    can enybody help me to acheive the above.
    Thanks
    Leo.
    Edited by: user13359272 on Oct 24, 2012 5:25 AM

    By all means feel free to post your question as often as you like!
    In webforms DDE runs on the middle tier; it might do what you want against your local OC4J now, but it surely won't open a thing when you run it against an application server.
    Maybe you should enlighten us with your requirement, maybe there is a better solution for your problem.
    cheers

  • Difference between AFTER PARAMETER FORM and BEFORE REPORT in Reports 6i

    Hi Aii,
    What is the difference between AFTER PARAMETER FORM and BEFORE REPORT in Reports 6i.
    Thanks in Advance,
    Balu

    Hi Balu.,
    As per my findings the After Parameter is fired after the Parameters are given to the report and Before Report fires when the queries are parsed and data is fetched.
    Regards.,
    Vijay G

  • Building a JSP-based Web Report with a Parameter Form

    Hi,
    I tried in building a report as shown in the example in OTN under reports in the url
    http://otn.oracle.com/products/reports/htdocs/getstart/examples/ParameterFormJSP/index.html
    i.e for Building a JSP-based Web Report with a Parameter Form. The directions in this document were not clear and if any one document which is clear with instruction will be useful to me. In this example it is shown with search criteria with sigle text box and if any one had idea & code to place an combo box and population of the record group in the combo box.
    Thank you in advance.

    hi,
    we will be releasing a new example w.r.t creating a parameter form using the reports JSP within the next month.
    as for your request for a combo box. this widget is not available via regular HTML form elements. you can either have a select list or dropdown list.
    for a regular select list you would use the following (only pseudo-code)
    <select ...>
    <rw:foreach>
    <option value="<rw:field .../>">
    </rw:foreach>
    </select>
    to populate a select list.
    regards,
    philipp

  • How do you display a parameter form built from a report?

    Does anyone know how to display the parameter form from building a customized report, as a portlet on a page? Everytime I try, I get the report, which will return no records because it does not first ask for the query parameters.
    thanks!
    null

    You don;t select Run to Run the report with
    parameters - you select the Customize option.
    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by Sarah Lo ([email protected]):
    Does anyone know how to display the parameter form from building a customized report, as a portlet on a page? Everytime I try, I get the report, which will return no records because it does not first ask for the query parameters.
    thanks!<HR></BLOCKQUOTE>
    null

Maybe you are looking for