Forms: Oracle AS 10g R2 - parameter with "char" type only limit to 4k

Hi,
i have one forms with parameter ":parameter.whole_rights" (Datatype=Char, Length=32767) over design time.
when i compiled and execute it in old server (Oracle AS 10g R1), it work perfectly but when compiled and execute it over the 10gr2, it always show ora-06502: pl/sql: numeric or value error.
after some troubleshooting, i found out that the maximum length for "char" type parameter is only 4k. if i assign any string larger than 4k characters, it will show the error as per mentioned but it work on old server...
anyone have this problem and how to resolve it???
additional information:
server is on unix environment.
Edited by: cy82 on Jun 15, 2010 3:35 AM

Hi there,
the application does not use up all the 32k characters, the maximum length it use currently is around 6k.
the parameter is used to store all the available access right (forms name, button/object name, read, write etc which is very customized & application specific design). every related access right in that parameter will be passed seperately into related form when the form is called to control the view, transaction nature etc.
as the design involve other system who passed the data in, i not really plan to change it as it involve interface between 2 systems instead try other possible ways (simple and less impact).
i think i should not say it use up all 32k, i just curious why the application declare the length as 32k over the forms design time but the actual length was only limited to 4k during forms execution time on Oracle AS r2.
thanks for suggesting me to try the copy build in and i will try it & post the result tomorrow. i think it should work because i saw your quote for the documentation here:
In Oracle Forms 10g, all parameters of datatype CHAR are limited to 4000 bytes when set or referenced using PL/SQL bind variable notation; for other usages no limit is imposed.
as the "copy" build in does not use the parameter as PL/SQL bind variable, quite large posibilities it works...will try and update the result tomorrow....
another question: where did you get the documentation for oracle forms?? i'm searching around and still cant find the quote that you copy from documentation. hopefully you can give me the link for my future reference.
Edited by: cy82 on Jun 16, 2010 9:58 PM

Similar Messages

  • Measuring Point during IK01 not allowing characteristics with CHAR type

    Hi Experts,
    Measuring Point during IK01 not allowing characteristics with CHAR type Only allows NUM,
    could you anyone suggest on this.
    Regards
    Nitin

    May i know the reason of such implementation?
    You can use group code and valuation code for assigning predefined values to measuring documents.
    Moreover text field can be used for assigning short text to it.

  • Cannot assign an empty string to a parameter with JDBC type VARCHAR

    Hi,
    I am seeing the aforementioned error in the logs. I am guessing its happening whenever I am starting an agent instance in PCo. Can somebody explain whats going on?
    Regards,
    Chanti.
    Heres the complete detail from logs -
    Log Record Details   
    Message: Unable to retreive path for , com.sap.sql.log.OpenSQLException: Failed to set the parameter 1 of the statement >>SELECT ID, PARENTID, FULLPATH, CREATED, CREATEDBY, MODIFIED, MODIFIEDBY, REMOTEPATH, CHECKEDOUTBY FROM XMII_PATHS WHERE FULLPATH =  ?  <<: Cannot assign an empty string to a parameter with JDBC type >>VARCHAR<<.
    Date: 2010-03-12
    Time: 11:32:37:435
    Category: com.sap.xmii.system.FileManager
    Location: com.sap.xmii.system.FileManager
    Application: sap.com/xappsxmiiear

    Sounds like a UI browsing bug (when no path is selected from a catalog tree folder browser) - I would suggest logging a support ticket so that it can be addressed.

  • Oracle Database 10g Express Edition with openSUSE 10.3 ?

    The install guide for Oracle Database 10g Express Edition say it requires Suse SLES-9 .
    Does any know if Express Edition can be installed on openSUSE 10.3 ?
    Thanks in advance.

    Likewise. No issues at all.
    You might want to web-search for Novell's orarun package. Not required if you read the install manual and understand Linux, but it helps prep the environment by eliminating some of the guess work.

  • [ANN] New Course - Oracle JDeveloper 10g: Build Applications with ADF

    Register for this Oracle University course online at:
    http://education.oracle.com/web_prod-plq-dad/plsql/show_desc.redirect?dc=D16975GC10
    Upcoming course at VA, Reston next week.

    Yes more location will follow.
    To get the course near you, you might want to ask for it at:
    http://www.oracle.com/go/?&Src=2400827&Act=4
    This way Oracle University will know where there is demand for the course.

  • How is the Oracle apps 10g is integrated with e-business suite

    Gurus
    I am new to oracle.i don't have any knowledge about oracle apps versions and its releases. please tell me something very basic about these.
    Regards
    Nitin

    "Oracle Applications Concepts Manual" should be helpful
    http://download-uk.oracle.com/docs/cd/B25516_14/current/acrobat/11iconcepts.pdf

  • Oracle database 10g connectivity problem with Report Builder

    Hi,
    I need to amend a .rdf report and am using the dev10g. I can't connect the test database from report builder.
    It is getting the error like :
    "ORA-12154 : TNS: could not resolve service name".
    I can connect the database from sql*plus, Toad etc. Also It's giving me the response when I run the TNSPING command with the database name.
    Could someone advise me that how can I resolve this problem?
    Thanks,

    set the TNS_ADMIN variable point to the correct tnsnames.ora file
    or try the note mentioned in http://www.alexyscorp.com/products.htm
    Lastly try opening a command line/dos prompt, set the TNS_ADMIN variablea and start the reports builder from commandline
    Rajesh

  • Use of Call Function Node vi, with char type pointer

    I want to be able to use a certain function from C++ DLL, and I followed the TOOLS>>IMPORT>>SHARED LIBRARY(.dll) wizard.  Where I located my header file and the dll file.
    However i am getting an error (1097).  This is the function with the paramaters:
    void Function_Name(unsigned char *L, unsigned char *H, unsigned in Len, unsigned char Adr);
    I don't think, that I configured my Call Function Node, correctly.  How should i set the paramaters settings of the first 2?  I have tried Numeric, unsigned (and signed) Int (32, 16), pass pointer value.  to accomodate the first two varaibles. 
    Please someone help, what should I do to accomodate the unsigned char pointers, so that I can used the function in labVIEW?

    Hi Safe,
    The error you're encountering has the following description (I'm sure you've already looked this up-posting here for clarity for other readers):
    LabVIEW:  An exception occurred within the external code called by a Call Library Function Node. This might have corrupted LabVIEW's memory. Save any work to a new location and restart LabVIEW.
    Typically, this happens for one of just a few reasons:
    Memory was overwritten (e.g. you passed a buffer of N bytes, but N+X bytes were modified, and an exception was thrown.
    A bad pointer was passed. (This is probably not the case.)
    Arguments were not passed to the function properly. (Calling conventions)
    Function wasn't called from the proper thread.
    Some other reason (only can be determined by inspecting in a debugger).
    I've attached some pictures of how I'd configure the dialog, but there are two critical things you have to know: calling conventions and thread safety. Those are things defined by the DLL. In Windows, C vs. 'Standard' (a.k.a. Pascal) calling conventions MUST be correct, as they affect how arguments are passed on the stack. If this is wrong, then, for example, where arg1 is expected to be an unsigned char *, you may actually only pass an unsigned char. Dereferencing that number as a pointer will at best crash, at worst appear to be a valid address and silently corrupt memory.
    I suggest double-checking the calling conventions. 'stdcall' is still quite common, but not the default setting in the Call Library Function dialog.
    Best regards,
    intvstefve
    intvsteve
    LabVIEW R&D
    Attachments:
    dllconfig11.JPG ‏40 KB
    dllconfig21.JPG ‏41 KB

  • Pension calculation with wage type max. limit

    Hi ,
    Pension for my client is to be calculated as 5% of Basic, Child, Social and Housing.
    Basic,Child and Social are pay components.Housing is not a pay component but for pension calculation is to be taken as 60% of basic for which we have created a wage type.
    Now the issue is the housing amount is not to exceed 8000, i.e. if my basic is say 20000 my housing becomes 16000 but for my pension calculation I have to take only 8000.
    Where do I maintain it or how do I call it to calculate in a rule.
    Any help is appriciated
    Regards
    Uday

    store a constant in table t511k as 8000.
    write a small rule to compare the value of housing wagetype with this constant value, and repalce it with constant value if value greater than 8000.
    Hope this helps.

  • Oracle Fusion 11g Vs Oracle Fusion 10g

    Hi,
    What are the major changes and how complex or simple they made it in Fusion 11g over Fusion 10g? Please share this knowledge.
    Thanks.

    In the form there is an existing parameter of CHAR type and this is assigned to a number variable within the, but this cannot be the error as when the radio button clicks for some data it display details and for some data this gives a above error.
    Never say never! Anytime you let Oracle automatically cast data from one data type to another - you are introducing risk; not to mention that it is a poor programming habit. You should ALWAYS explicitly cast your data between types because you will get inconsistent results otherwise - Oracle has always warned agaist this!
    Since you have a CHAR parameter that is being assigned to a NUMBER variable you should be using the TO_NUMBER() function to cast the CHAR to a NUMBER. For example:
    DECLARE
       n_num_data   NUMBER;
    BEGIN
       n_num_data := TO_NUMBER(:PARAMETER.Char_Data);
    EXCEPTION
       WHEN VALUE_ERROR THEN
          --Someone passed a non-numeric CHAR
          Clear_Message;
          Message('Parameter is not NUMBER');
          Message(' ');
          RAISE Form_Trigger_Failure;
    END;Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.
    Edited by: CraigB on Oct 11, 2011 7:51 AM

  • Can I use Oracle Reports 10g with Apps 11.5.10 version?

    Apps Version is 11.5.10
    Oracle Reports 10g is compatible with 11.5.10 or not?
    If Oracle Reports 6i is the only compatible version with 11.5.10 , from where I can download Oracle Reports 6i?
    Thanks in advance.

    Hi;
    As you said 6i should come with ebs, If they are not able to find it can we raise an SR to get/download oracle reports 6i?I still cant get what is reason of you need to install 6i spreatly? Anyway it comes by default installation. Its mean you have it already,if you havent you cant work wiht ebs nomore.
    In addition to EBSDBA post,Please see below great link which is posted by Hussein Sawwan
    rapidwiz options *<< Posted by Hussein Sawwan*
    Regard
    Helios

  • Migration Oracle 9iR2 - Oracle Database 10g Express Edition, please, help

    Good day!
    Now I study examples from tutorial book "Oracle 9iR2 Data Warehousing"
    (translated to Russian) written by Lilian Hobbs, Susan Hilson, Shilpa Lawande. However my Oracle is "Oracle Database 10g Express Edition" and ( as I thought ) for this reason I can't perform these examples.
    Please, help me, if it no hard.
    First example founded on using "Oracle Database Configuration Assistant"
    and "Oracle Enterprise Manager Console". However, I not found them at
    "Oracle Database 10g Express Edition".
    Now I use only "Oracle Application Express" ( and SQL ). Please, tell me,
    if "Application Express" has enough functionality with comparision to
    "Oracle Database Configuration Assistant" and "Oracle Enterprise Manager Console"
    and how I need to do ? (It must, because 10 > 9)
    Second example founded on using SQL. First 80% SQL-commanfs of this executed succesfully. But command "CREATE TABLE easydw.purchases" has error message
    "PARTITIONing is not available." Really, in "2 Day Developer Guide"
    (SQL Reserved Words ) PARTITION is not exist.
    Can I CREATE TABLE easydw.purchases by "Oracle Database 10g Express Edition"
    (with PARTITIONing by other means of SQL )?
    There is full text of this SQL-Command:
    CREATE TABLE easydw.purchases
    (product_id varchar2(8)
    constraint not_null_product_id NOT NULL
    constraint fk_product_id
    REFERENCES product(product_id),
    time_key date
    constraint not_null_time NOT NULL
    constraint fk_time
    REFERENCES time(time_key),
    customer_id varchar2(10)
    constraint not_null_customer_id NOT NULL
    constraint fk_customer_id
    REFERENCES customer(customer_id),
    purchase_date date,
    purchase_time number(4,0),
    purchase_price number(6,2),
    shipping_charge number (5,2),
    today_special_offer varchar2(1)
    constraint special_offer
    CHECK (today_special_offer IN ('Y','N')) )
    PARTITION by RANGE (time_key )
    partition purchases_jan2002
    values less than (TO_DATE('01-02-2002', 'DD-MM-YYYY'))
    pctfree 0 pctused 99
    storage (initial 64k next 16k pctincrease 0)
    tablespace purchases_jan2002,
    partition purchases_feb2002
    values less than (TO_DATE('01-03-2002', 'DD-MM-YYYY'))
    pctfree 0 pctused 99
    storage (initial 64k next 16k pctincrease 0)
    tablespace purchases_feb2002,
    partition purchases_mar2002
    values less than (TO_DATE('01-04-2002', 'DD-MM-YYYY'))
    pctfree 0 pctused 99
    storage (initial 64k next 16k pctincrease 0)
    tablespace purchasee_mar2002 );
    Naturally, I also shall continue try find solution.
    Winni.

    Winni,
    Partitioning is only available with Oracle Enterprise Edition.
    Here is a list of features by edition:
    http://www.oracle.com/database/product_editions.html
    DBCA is not needed with Express edition because you can only have one XE database per server, and all options are pre-configured.
    Enterprise Manager Console is not included with XE - only with the other editions.
    You can get most of the functionality through SQL, Application Express and SQL Developer.

  • Oracle DB 10g and BI Discoverer for OLAP - Dimension Attributes

    Hi,
    We are using Oracle Database 10g release 1 with partitioning, data mining and OLAP options and Analytic Workspace Manager 10.2.0.1.0A to create the multidimensional objects. For the user dimensions created using AWM we have custom attributes like HireDate, StartDate, Sales Personnel Role etc., For reporting purposes we are using Discoverer for OLAP. In this Discoverer version, I don't see an explicit provision to drag these attributes onto the worksheet. We are only able to filter based on these attributes and capture the measures...
    Can someone throw light on this? Also, if there is a possibility to drag these attributes onto the worksheet can that be expounded?
    Thanks in advance!

    Again this depends on what you are trying to achieve. If you define an attribute against a dimension it takes very little space as it is not directly connected to a cube and so no data is stored against that attribute.
    If, however, you have a 4D revenue cube (product, geography, channel, time) with products attributes COLOR and PACK SIZE and you want to view revenue additionally borken-out by COLOR and PACK SIZE as well as the other four dimensions then your schema will require additional storage space. However, 10g compressed cubes and sparsity options do help to manage the explosion of data points as the number of dimensions increases. This should allow you to easily add attributes as dimensions into your cube.
    One thing to remember is that most users start to struggle when confronted with more than 9 dimensions. So although Oracle OLAP can create extremely large dimensional models, users prefer their cubes to have 9 or fewer dimensions.
    Hope this helps,
    Keith
    Oracle Business Intelligence Product Management
    BI on Oracle: http://www.oracle.com/bi/
    BI on OTN: http://www.oracle.com/technology/products/bi/
    BI Beans http://www.oracle.com/technology/products/bib/index.html
    Discoverer: http://www.oracle.com/technology/products/discoverer/
    BI Software: http://www.oracle.com/technology/software/products/ias/devuse.html
    Documentation: http://www.oracle.com/technology/documentation/appserver1012.html
    BI Samples: http://www.oracle.com/technology/products/bi/samples/
    Blog: http://oraclebi.blogspot.com/

  • Download problems Oracle Database 10g Express Edition

    Completed download.
    Attempted to start application but cannot find the server.
    Removed the software using add/remove programs.
    Attempted to reinstall but it seems that some applications are still on my system.
    Attempted to remove the application but the add/remove program does not recognized the application
    What can I do.

    Hello,
    I need to install "Oracle database 10g Express Edition" with different database name example dev but it is taking
    default name that is XE and there is no option come during installation where i can put the name of database as per my desire.First, note that you can't install more than one instance of XE per server. Changing the instance name won't help you with that.
    As you've already found out, the installer always creates a database instance with default names. That's part of the "Express" concept: As little configuration as necessary to get a Oracle Database installed with just a few clicks. The second advantage is, that you can also simplify the documentation, as you can forget about several aspects when you don't have to configure them...
    Since you don't have tools like dbca in XE, your only option would be to rename the database once it's created. There are a few threads on that topic in this forum, e. g. {thread:id=403056}.
    But before you start working on that, could you explain why exactly you have to use a different database/instance name?
    And also explain why we use "Oracle database 10g Express Edition" instead of Oracle database 10g. what is the meaning of Express Edition.Why and how should we answer why you picked a certain edition? The most likely cause is license costs: XE is available for free, all others are just free as long as you use the OTN license...
    For an overview, there is a [url http://www.oracle.com/us/products/database/enterprise-edition/comparisons/index.html]Comparison Matrix for Oracle Database Editions.
    I'd furthermore ask why you still use 10g XE instead of the current 11g XE?
    -Udo

  • New OracleAS Portal 10g Courses Released

    Oracle University has released two new classes for OracleAS Portal 10g: OracleAS Portal 10g: Build Corporate Portals and OracleAS Portal 10g: Build Portlets with PL/SQL. The first sessions are in February in the US in Reston, VA. These are the very first hand-on classes on Oracle Application Server 10g.
    A third class, OracleAS Portal 10g: Build Portlets with Java, will be released soon too.

    The links did come through properly... Let's try them again:
    http://education.oracle.com/web_prod-plq-dad/plsql/show_desc.redirect?dc=D16648GC10&p_org_id=1001&#9001;=US&source_call=
    http://education.oracle.com/web_prod-plq-dad/plsql/show_desc.redirect?dc=D16652GC10&p_org_id=1001&#9001;=US&source_call=

Maybe you are looking for

  • Automatic Clearing - Customer Account

    Hi All, is there a way in SAP to clear the customer open items automatically for the below scenario Invoice : 3750 Credit Meo - 500 I want the system to clear the above mentioned line items based on certain pre-defined parameter and for the differenc

  • Query regarding using JNI in linux

    Hi I have a query regarding JNI.We have a situation in which we have some c programmes and we want to call that c programme method in my java code. The problem is that in JNI the native code signature should match the signature of the method of the h

  • Problems using Oracle Directory

    Hi all I have the following problem using 9i: I would like to use oracle internet directory to register my db's. I am currently reading the online handbooks and found a section that says to start the directory by using the 'oidmon' and 'oidctl' comma

  • BPEL Append for collection output

    Hi, I need to append the values of an invoke procedure loop,  each time inside the loop an output collection is returned with an unique ID parameter ( EX: 20,30,40,50) and all these parameters have to be appended and  passed to the PL/SQL procedure t

  • Layout Disappeared

    Hi, There were 10 reports in a folder in BEX and there were layouts as well on the reports. But now suddenly all the layouts on all the reports have been disappeared. Can anyone please advice how can i restore all of them in place as earlier. Quick r