Number of character problem

Hi all,
In a custom OAF page I need to restrict number of characters in a messageinput between 10 and 11 characters. Field is varchar2 in db. At most is ok. But I can not implement at least proprty.
How can I do that?
Actually it is a number field I can change type of field to number if neccessary.
Thanks in advance for your help.

Thank for reply,
I can set the max length. I think in controller using OAMessageTextInputBean I have to set a property but I dont know which one?

Similar Messages

  • Are there any plans to fix the misinterpretation of the Exchange ActiveSync policy "Minimum number of character sets"  in IOS5?

    We are testing using IOS5 in our Corporate environment and came across a scenario where IOS5 incorrectly interprets the Exchange 2010 ActiveSync policy "Minimum number of character sets" as the number of special characters required rather than the number of character sets required. Is anyone aware of any plans to correct this in future releases? Here is a thread on Microsoft's forums about the issue:
    http://social.technet.microsoft.com/Forums/en-US/exchangesvrmobility/thread/fe05 1d55-24ba-45e4-b054-67861f28422d/

    Thanks for the responses. I did submit this issue as a bug report earlier this morning also but thought I'd post here in the event any Apple insiders saw this and cared to comment. 
    This really is a significant problem in that our testing shows that the way IOS5 interprets this ActiveSync policy in Exchange 2010 does not allow you to enforce a password using just letters and numbers. This is because  the only valid values for this policy are 1-4. The way IOS5 interprets this requires 1-4 special characters in the password, not 1-4 character sets.

  • Assigning large number if character to a Codepage

    Do  we have a tool / process  which can assign large number of character to a code page, which cannot be done by SAP SPUM4. There are 18 languages and 10 code pages.
    Languages listed below,
    French,English,German,Italian,Spanish,Portuguese,Bulgarian,Japanese,Chinese,Danish,Russian,Dutch,Finnish,Malaysian,Czech,Hungarian,Norwegian,Swedish
    we run SPUM4 in our Development Environment and found 450.000 words without a language associated. This corresponds to 2,5 months of movements from our ERP  productive clients. After applying a dictionary and language patterns provided by SAP, we have now 274.000 words left (and 150.000 duplicates).  I need to find other ways to decrease this number so that I end up with a workable list of words.

    There is no method but assigning them more or less manually or using hints.
    You may check for special characters in languages, e. g. the polish ł will be displayed as ³ when you login in English - although this may also be a different character.
    We had the same "problem" with 8 languages (including more than one Asian language) so it was cumbersome.
    Markus

  • Are there any plans to fix the misinterpretation of the Exchange ActiveSync policy "Minimum number of character sets"  in IOS6?

    We are testing using IOS6 in our Corporate environment and came across a scenario where IOS6 incorrectly interprets the Exchange 2010 ActiveSync policy "Minimum number of character sets" as the number of special characters required rather than the number of character sets required. Is anyone aware of any plans to correct this in future releases? Here is a thread on Microsoft's forums about the issue:
    http://social.technet.microsoft.com/Forums/en-US/exchangesvrmobility/thread/fe05 1d55-24ba-45e4-b054-67861f28422d/

    We have tried Android, Windows Phone7/8 and they all adhere to the "Minimum number of character sets" set in the ActiveSync policy, but IOS does not.
    Require an alphanumeric password   Select this check box to require device passwords to contain both numbers and letters. The default is numbers only.
    Passwords must include this many character sets   To enhance the security of device passwords, you can require passwords to contain characters from multiple character sets. Select a number from 1 to 4. The sets are letters, uppercase letters, numbers, and symbols. For example, if you select 3, passwords must contain characters from three of these sets.
    All other mobile device except IOS 5.x/6.X don't follow this.
    You have to select "Require an alphanumeric password" which is letters and numbers.  But then you can only select 1-4 for the character sets. 
    So we set it at 1, so that would mean you would only need letters and numbers, IOS does not reconize letters, letters uppercase, numbers or symobols as a charator set, it interprets the setting as how symbols you need.
    If you set it at 2, then IOS makes you have "2" symbols in your password.....and so on...
    Make sense?
    It just seems that IOS does not reconize charator sets, it just looks at the number as how many symbols you need in a password.

  • Limit number of character in a TextArea

    Hi,
    how can I limited the number of character in a jTextArea?
    thanks!

    You have to customize the Document that your text area is using. You can read more about the Document interface here:
    http://java.sun.com/j2se/1.5.0/docs/api/javax/swing/text/Document.html
    And here is a simple example that demonstrates how you can customize a Document to do what you want. The program should compile and run as is. It will display a JTextArea that only allows ten characters.
    import javax.swing.*;
    import javax.swing.text.*;
    public class LimitedTextArea extends JFrame {
        public LimitedTextArea() {
            setDefaultCloseOperation(EXIT_ON_CLOSE);
            JTextArea text = new JTextArea(5, 40);
            // Set the customized Document on the text area. Only allow
            // a maximum of ten characters:
            text.setDocument(new LimitedDocument(10));
            getContentPane().add(new JScrollPane( text ));
            pack();
            setLocationRelativeTo(null);
        public static void main(String[] args) {
            new LimitedTextArea().setVisible(true);
        // Document that only allows a certain number of characters
        class LimitedDocument extends PlainDocument {
            private int maxLength;
            public LimitedDocument(int maxLength) {
                this.maxLength = maxLength;
            // This method is overriden from the super class. It will be called when
            // you are trying to insert text in your text component (by typing
            // or pasting).
            public void insertString(int offs, String str, AttributeSet a) throws BadLocationException {
                int currentLength = getLength();
                if( currentLength >= maxLength ) {
                    // There's not room for more characters. Return.
                    return;
                if( currentLength + str.length() > maxLength ) {
                    // All of the characters we are trying to insert will not fit.
                    // We must trim the string.
                    str = str.substring(0, maxLength - currentLength);
                // Insert the text:
                super.insertString(offs, str, a);
    }

  • BI JDBC character problem

    I tried to write  multiple data to database by using  BI JDBC connection.I wrote "insert" statement in the SQL_STATEMENT on the line(event) from table to BI query.It works.I select multiple records in the table and write these records to database.But there is a problem about some Turkish Characters such as  ü,ş,ğ...There is no character problem when using stored procedures(JDBC connection) instead of BI JDBC.But I cannot write multiple records by using stored procedures.I select multiple records in the table, it onlys writes the first record when using stored procedures.Can I write a stored procedures which takes multiple records from VC? Or, how can I solve Turkish character problem when using BI JDBC connection?
    Thanks,
    Nihat

    Hi Nihat,
    I think it depends on your JDBC Driver, which character set it supports. Your database supports turkish characters, when it works with a stored procedure. Maybe you can try to use a conversion for using JDBC. Did you check the manual of the jdbc driver? Did you contact the the jdbc driver vendor?
    Best Regards,
    Marcel

  • MIRO document Number range buffering problem

    Dear all,
    My MIRO document number is not following the sequence. if my first 5 numbers come in a sequence, then the next 5 numbers are not coming in between. Instead, the next 5 numbers are coming. It might be due to number range buffering problem. How to find the number range object  for  MIRO document number range?
    How to solve this?
    Please suggest.
    I will award full points.
    Thanks & Regards,
    AR

    Hii,
    You can search the Number Range object in T-Code: SNRO
    The Number Range object for Invoice document is RE_BELEG
    Go the Change Mode of the Number Range Object in SNRO, remove the No of Numbers of Buffers (by default it will be 10).
    This will resolve your issue.
    Regards,
    Kumar

  • I wanted to know explain my problem down package cc2014 where I put the serial number of the problem that I have is that when you open the program asks me start of session in which he put it and go but back inside and it drives me to request the start of

    I wanted to know explain my problem down package cc2014 where I put the serial number of the problem that I have is that when you open the program asks me start of session in which he put it and go but back inside and it drives me to request the start of session and I take 3 weeks or more with this problem if they can support me solve it was the number of seire wearing this being installed at a private university

    Cloud programs do not use serial numbers... you log in to your paid Cloud account to download & install & activate... you MAY need to log out of the Cloud and restart your computer and log back in to the Cloud for things to work
    Some general information for a Cloud subscription
    Log out of your Cloud account... Restart your computer... Log in to your paid Cloud account
    -Sign in help http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html
    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html
    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html
    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html
    Does your Cloud subscription properly show on your account page?
    If you have more than one email, are you sure you are using the correct Adobe ID?
    https://www.adobe.com/account.html for subscriptions on your Adobe page

  • HR_ESS_PAYSLIP_TO_PDF pdf converter character problem

    Hi,
    I have a problem regarding to HR_ESS_PAYSLIP_TO_PDF.I done every customizing about Employee Self-Service to see my salary statement at ESS.I see it at ESS but I have a character problem with Turkish capital characters and some Turkish letter(Ş,İ).at the smartform my Language Attiribute is TR(Turkish) and thats not change anything.
    Thanks...

    Can I up this question?
    I have the same problem with Russian characters, what's wrong?

  • Which method to count the number of character in a string?

    Hi all,
    I want to know which class and method to count the number of character in a string?
    Gary

    http://java.sun.com/j2se/1.4.2/docs/api/java/lang/String.html

  • Get number of character within a String by number of pixels

    How can i get the number of character within a String
    by a width value...
    for example..
    i have a String = "1234567890abcdefghi.........."
    and when i give the width "10"
    i will get the String "12".
    or the number of charcter..
    or somthingggggggggggggggg
    please help..
    Shay

    i solved this...
    by doing somthing similar..
    i made a for loop on all character
    and evrey time i am get a sub string from the 0 till the loop index..
    and i am chashing the last string
    so when a sub width is greater the the requested width
    i am returning the lst cashed result
    thanks.. all..

  • HT1695 My iPad (4th gen) Wi-Fi Serial Number: DM*******184; Problem: can not connect Wi-Fi, just keep connecting...

    Dear All,
    My iPad (4th gen) Wi-Fi Serial Number: DM*******184; Problem: can not connect Wi-Fi, just keep connecting...
    Appreciate your advice.
    Thanks and regards,
    Linh Hua
    (Vietnam)
    <Edited By Host>

    Is this happening with one particular network or with all?  Make sure iOS is updated on the device.
    Try this:
    Reboot ipad by pressing and holding both the home and sleep/wake buttons at the same time until the apple logo appears on the screen, then let go. Then try to connect to network.
    Go to settings, Toggle airplane mode on/off. Make sure bluetooth is off. Turn on wif (airplane mode off). Try to connect.
    Reset Network Settings
    Go to settings/general/reset/reset network settings. Then try to connect to network.
    If its your home router, then reboot router by unplugging for 5-10min. (do this while you're resetting network settings).
    If problem persists, then check for firmware updates on your router.(you check router manufacturer support website for downloads and instructions).

  • Problem in converting number to character

    Hi All,
    In my report there is number field called <?LINE_TOT_AMOUNT?>. In the next line i want to display that amount in words. I tried using
    <?xdofx:to_char(LINE_TOT_AMOUNT)?>
    but the output is same as the <?LINE_TOT_AMOUNT?>. Can any one help in solving this?

    look at TO_CHAR (number)
    if LINE_TOT_AMOUNT is number then to_char(LINE_TOT_AMOUNT) in string
    it's not display that amount in words
    it's only format row
    if you wnat to convert number to words
    plz see Re: Conversion of number to word

  • Non-English character problem in Oracle 10g Express Edition

    Hi There;
    I have a table. It's name is INSTITUTION. It has a NUMBER INS_ID and NVARCHAR2(50) INS_NAME . INS_NAME can contain Turkish characters, such as "ğ,ü,ş,ç,ö". According to business logic, there can not be a repetition on the INS_NAME.
    User will enter institution name from a textbox in ASP.NET , and I check this name in database from c sharp code, if there is no repetition, we will add this record.
    The problem is; when user enter a instition name that contains Turkish character, there is a duplication. If there is a instition name is *"su işleri"* , the both query; SELECT * FROM INSTITUTION WHERE INS_NAME = *'su işleri'*; and SELECT * FROM INSTITUTION WHERE INS_NAME = *'su isleri'*; returns no result, even though there it is.
    But if instition name is "oracle corporation" (there is no Turkish character) it query successfully. I have the same problem in Toad for Oracle 11.5.1.2. When I query database from toad SELECT * FROM INSTITUTION, the phrase *"su işleri"* has appeared. But when I query SELECT * FROM INSTITUTION WHERE INS_NAME = *'su işleri'*; , there is again no result.
    When I connect oracle database directly and perform the query SELECT * FROM INSTITUTION , the phrase *"su isleri"* (not *"su işleri"* ) has appeared.
    Here are the language settings of the database:
    National Language Support
    National Language Parameter Value
    NLS_CALENDAR______________GREGORIAN
    NLS_CHARACTERSET__________WE8MSWIN1252
    NLS_COMP__________________BINARY
    NLS_CURRENCY______________TL
    NLS_DATE_FORMAT__________DD/MM/RRRR
    NLS_DATE_LANGUAGE________TURKISH
    NLS_DUAL_CURRENCY_________YTL
    NLS_ISO_CURRENCY__________TURKEY
    NLS_LANGUAGE______________TURKISH
    NLS_LENGTH_SEMANTICS______BYTE
    NLS_NCHAR_CHARACTERSET___AL16UTF16
    NLS_NCHAR_CONV_EXCP______FALSE
    NLS_NUMERIC_CHARACTERS____ ,.
    NLS_SORT___________________TURKISH
    NLS_TERRITORY______________TURKEY
    NLS_TIME_FORMAT____________HH24:MI:SSXFF
    NLS_TIMESTAMP_FORMAT_______DD/MM/RRRR HH24:MI:SSXFF
    NLS_TIMESTAMP_TZ_FORMAT____DD/MM/RRRR HH24:MI:SSXFF TZR
    NLS_TIME_TZ_FORMAT__________HH24:MI:SSXFF TZR
    How can I resolve that problem? Thanks in advance.
    Edited by: 963344 on 05.Eki.2012 01:00
    Edited by: 963344 on 05.Eki.2012 01:01
    Edited by: 963344 on 05.Eki.2012 01:06

    This type of question/discussion belongs in {forum:id=50} forum.
    Very recently a thread there touched the topic of Turkish character support.
    Please read it: Western European Characterset to Turkish in sql
    >
    NLS_CHARACTERSET__________WE8MSWIN1252 Check the character set repertoire of win-1252 (look for the typical turkish language characters you've mentioned above).
    http://msdn.microsoft.com/en-us/goglobal/cc305145.aspx
    Look at character names, such as "... letter s with cedilla".

  • Xml publisher reprot - special character problem

    I invoice report through xml publisher. I have '&' special character in vendor list. I am getting below error
    A semi colon character was expected. Error processing resource.
    Below is the code
    CREATE OR REPLACE PACKAGE BODY XML_RPT AS
        FUNCTION XML_TAG (p_tag IN VARCHAR2, p_data IN VARCHAR2) RETURN VARCHAR2 IS
        l_ret_str VARCHAR2(5000);
        BEGIN
            l_ret_str := '<'||p_tag||'>'||p_data||'</'||p_tag||'>';
            RETURN l_ret_str;
        END XML_TAG;
         PROCEDURE VENDOR(errbuf          OUT  VARCHAR2,
                         retcode         OUT  NUMBER) IS
        CURSOR inv_Cur  IS
            select pv.vendor_name          
            from po_vendors pv;        
         xmldata            varchar2(1000);
         l_sqlstr           varchar2(1000);
         l_seqnum           varchar2(3);
         l_vendor_name      varchar2(100);
        BEGIN
          xmldata := '<?xml version="1.0" encoding="UTF-8"?>';     
          xmldata :=xmldata|| '<VENDOR>';
          xmldata := xmldata||' <LIST_VENDOR>';
          fnd_file.put_line(fnd_file.output,xmldata);    
          FOR rpt_rec IN inv_Cur LOOP
              xmldata := '<VENDOR_REC>';
              l_vendor_name := replace(rpt_rec.VENDOR_NAME,'&','&amp');         
              xmldata := xmldata || XXMCG_XML_TAG('VENDOR_NAME',L_VENDOR_NAME);
              xmldata :=xmldata|| '</VENDOR_REC>';
              fnd_file.put_line(fnd_file.output,xmldata);
          END LOOP;
          xmldata := '</LIST_VENDOR>';
          xmldata := xmldata||'</VENDOR>';
         fnd_file.put_line(fnd_file.output,xmldata);
        EXCEPTION
        WHEN OTHERS THEN
             fnd_file.put_line(fnd_file.log,substr(SQLERRM,1,500));
        END VENDOR;
    END XML_RPT;can any one advice.

    Duplicate post ? xml publisher report problem
    Srini

Maybe you are looking for