Number of characters in long text functionality

Can anyone please help me as to how many characters are there in long text functionality in Standard SAP. If we create a document under FB01 , there is a long text field how many characters we can enter in that text field.
Also can we have any number of characters in custom field or is there any restriction to it.

Hi Isha,
Please refer the solution for your problem on this link :
Here i have explained in detail how you can go about with providing Custom Controls on the screen.
[Re: long text in custom screen]
Hope this helps.
Regards,
Samreen.

Similar Messages

  • Notes - Standard Function Modules long text functionality

    Hi All
    Need standard Function Modules for Notes (long text) functionality. I need to create a notes tab in dialog program, this notes tab has all formatting icons to enable create/upload/modify the text entered and passed to SAP standard text objects.
    Edited by: sharmalvn on Jun 29, 2009 4:34 PM

    Take a look at function modules:
    - SAVE_TEXT (saves text to an existing object)
    - READ_TEXT (read text from an existing object)
    - CREATE_TEXT (writes text to a new object)
    Hope that helps,
    Michael

  • Coding - returning the number of characters in a text box.

    I am in the process of creating a cell phone simulation/animation in Edge Animate CC for use in a Captivate course. Basically, when a user clicks on number buttons on the virtual keypad, it displays the numbers in a text box , just like an actual cell phone would display the phone number on the screen as a caller is dialing. So, the user would click seven buttons and a seven-digit phone number appears on the virtual phone screen.  This part of my animation works great and all seven digits appear, but I would like to modify the code so that a hyphen appears after the third button clicked. This way, the output better resembles an actual phone number instead of just a string of seven digits.
    Here is an example of the code I currently have assigned to the #2 button on the virtual keypad:
    var text = sym.$("PhoneNum").html();
    text = text + 2;
    sym.$("PhoneNum").html(text);
    PhoneNum is the name of my text box on the stage where the digits appear as each keypad button is clicked.
    In order to incorporate the hyphen after the third button clicked, I need to somehow return the current number of characters in the PhoneNum text box, then create an if/else scenario that applies the hyphen after the third button clicked.
    Does anyone know how I can use either JavaScript or jQuery to return the number of characters currently in the PhoneNum text box?

    No problem!
    Basically the thing to remember is that unless you are needing to pass html to the object, you can use text() instead. text() also gives you the raw text without any html formatting (so you can assume what .html() would return)

  • Special Characters in Long Text Field of FI Documents

    Hi,
    Users entered the following in the long text field of a FI document:
    "Settlement of claims for direct shipment (Refer to XXX/YY-053/2009, XXX/YY-018/2009, XX2120000031 and X2120000033)"
    The default editor used is the one which looks like the MS Word.
    When we changd to the other editor (Goto > Change Editor), we see the following:
    "Settlement of claims for direct shipment to Thailand (Refer to"
    "XXX/YY-053/2009<(>,<)> XXX/YY-018/2009, XX2120000031 and X2120000033)"
    How did "<(>,<)> " comes about?
    Any ideas?

    I'd probably use a regex of "allowed" characters rather than a list of "disallowed" characters, but thats just a difference in approach.
    I would probably use a regular expression - alphanumeric is fairly easy to check
    String value = request.getParameter("enteredField");
    boolean alphaNumericOnly = value.matches("\\w+");As a matter of being nice to the user, you can also do this check in javascript on the client side.
    ALWAYS validate server side.
    Optionally validate client side to give the user a better experience (less round trip requests)
    Cheers,
    evnafets

  • To limit number of characters in a text field...

    I did a little research. My goal is to limit the number of characters in the textfield by 50.
    If the results of my research are correct, I have to create a JFormattedTextField, then use a MaskFormatter with a mask of 50 asteriks. Is that correct? Any other suggestions?
    Thanks in advance.

    I've got a problem using a JFormattedTextField.
    Each time the the text field gains focus, the caret does no move to the end of the text. It appears at the start of it. plus, any text i typed will overwrite the character already typed in, as if you've pressed the INSERT button during typing in a text editor.
    What caused that and how do I resolve it?
    Thanks a lot for the help ;)

  • Limit number of characters in a text cell

    Hi Numbers Community,
    Is there a way to put a cap on the number of characters that can be written into a cell with Data Format set as Text?
    Thanks for your help!

    There doesn't seem to be a way to keep you from going over a limit on the number of characters in a cell but you can use Conditional Highlighting to alert you when you do go over the limit. This, for example, sets the background color of cell B9 to red if there are more than four characters in cell A9:
    The formula in B9:  =LEN(A9)
    SG

  • How to validate the number of characters in Text Entry box?

    Hi
    I have inserted a text entry box and assigned a variable (UserName) to it. Now, I need to limit the entry to a maxinum number of 20 characters. In other words, how do I validate the number of characters in the text entry box and provide feedback if it is more than 20 characters?

    Thanks.
    I have posted this as a query on the relevant post on Jim's website. I am too new to regular expressions. I hope he will help with an example as well.
    http://captivatedev.com/2012/07/31/adobe-captivate-6-x-widget-text-entry-box-validator/
    Sreekanth

  • Minimim characters in a text box

    It seems silly that it is so easy to set the maximum number of characters in a text box (ie. Properties>Options>Limit of X characters) but that there is no easy equaivalent for minimum characters? At least not in Acrobat 9 anyway, don't know about the never versions!
    Does anyone know if the minimum number of characters can be set with Javascript?

    That was intended to be a rhetorical question. So what you really want is if the field is not blank, that there should at least be some minimum number of characters. What is the minimum number that you want to enforce? Youd probably want to use a custom validation script for this, but what exactly do you want to happen if the user only enters three characters but the minimum you want is four? Should the three characters that were entered be rejected altogether, or should the focus just be set back to the field so the user can enter more, or something else?
    Here's what a script that rejects the entry might look like:
    // Custom validate script for text field
    (function () {
        // Allow nothing
        if (!event.value) return;
        // Set the minimum number of characters
        var min_chars = 4;
        // Reject the entry and alert user if fewer than the minimum
        if (event.value.length < min_chars) {
            event.rc = false;
            app.alert("Please enter at least " + min_chars + "characters.\r\rYou entered " + event.value.length + " characters.", 1);

  • Long Text of a custom message class on a pop up screen

    Hi All,
    I have a custom message class and i have few custom messages with short text and long texts.
    Then i have a ALV report output which displays the message class and message number and my requirement is when i do F1 on the message number i want the long text to be displayed on a popup screen
    Can anyone give me an idea as how to approach this
    Thanks in advance

    hi,
    try the below code.
    DATA: HELPINFO LIKE HELP_INFO.
    DATA: LONGTEXT LIKE TLINE OCCURS 1 WITH HEADER LINE.
    DATA: EXCLUDEFUN LIKE SY-UCOMM OCCURS 1 WITH HEADER LINE.
          longtext-tdline = 'Sales Order test help'.
          append longtext.
    CALL FUNCTION 'HELP_DOCULINES_SHOW'
      EXPORTING
       CUCOL                   = 10
       CUROW                   = 3
        HELP_INFOS              = HELPINFO
       LINENR                  = 1
      TABLES
        EXCLUDEFUN              = EXCLUDEFUN
        HELPLINES               = LONGTEXT

  • Post long text in ' F-65 '.

    Hi experts,
    I have a program to upload to ' f-65 ' tcode, from the flat file.
    i uploaded using bdc, there is an error in long text, as per my requirement it should be more than 200characters, but in the posting it accepting only 72characters only, if the text has more than 72 , then it showing error ' Text length is more than Screen field '... some body told use create_text Function module...
    but i'm not getting clear idea.. can any body advice me with relavant coding.
    Thank you.
    Regards
    Ravi M

    Once the document is posted thru F-65 then use the document number to create the long text by using the FM INSERT_TEXT. Pass the parameters Text name  ( it is combination of document number ), language, text id and text object.
    Goto the long text editer then GOTO -> HEADER. here you can find the required details to pass the FM.
    Step1 : Post the document thru F-65.
    step2:  Upload the long text by using the Function Module: INSERT_TEXT

  • In DeskI, what's the maximum for "Limit size of long text objects"? 2000?

    In Universe Designer, we have a setting which is "Limit size of long text objects", it can control how many characters can be displayed for long text objects.
    The problem is that in DeskI, we can only display 2000 characters even we set 2500 or more in Universe Designer by "Limit size of long text objects". But if we use the same Universe & same Database, WebI can show 2500 or more characters for long text objects.
    So does it mean in DeskI the maximum value for "Limit size of long text objects" is 2000?

    Hi Jason,
    Check that the object in the universe is set to data type "long text".
    Also check that the object itself is not limiting the length of the string, as well as that the entire string is actually in the database... the data type here could also be the issue.
    Hope this helps
    Jacques

  • RETRIEVING LONG TEXT IN FB03 TRANSACTION

    Hi all
    Please let me know in FB03 transaction when we click item number where is the long text stored in the database ?
    Regards
    Nivetha.

    Hi
    If you are using smart form  the use include text and
    pass
    Text Name       300001000000132003
    Language        EN
    Text ID         0001 Correspondence    Text ID         0002 Note   0003 and 004
    Text Object     BELEG      Document text
    if not use read_text fm pass the above
    then loop at itab from the FM
    regards
    Shiva

  • Incress the lines in long text

    hi experts,
    can we incesss the the number of lines in long text,right now i am able to enter only 5 line i want to make it 10......the t-code is a customized one.

    Hi
    There is no limit as such for entering long text lines.
    In the Text editor you can enter any number of lines.
    we have to fetch it using READ_TEXT fun module and to display in the report/script.
    Reward points if useful
    Regards
    Anji

  • Reading in a certain number of characters from a file.

    Hi guys,
    I need some pointers on how to read in a specified number of characters from a text file.For example,how would I read in the first 100 characters to an array from a text file with an unspecfied number of characters (more than 100 rather than less!).
    At present I am getting code errors being thrown due to reading in beyond the array size ie
    java.lang.ArrayIndexOutOfBoundsException: 100.

    post more code , this exception tells me nothing
    without seeing what you are actually doing.
    public String getText (String file)//textfile to be analyzed will be inputted as argument 150407 0356
       //15042007 0612 Check notes on overloaded getText method below.
           int temp;
           inputFile = file;
           int i=0;
                try
                    BufferedReader bGetFile = new BufferedReader (new FileReader(inputFile));
                    while ((temp=bGetFile.read())!=-1)
                        textFromFile[i] = (char)temp;
                        i++;
                    /*for (int j=0;j<MAX;j++)
                        System.out.print(textFromFile[j]);//25042007 0208.For Testing purposes
                    inputText=new String(textFromFile).trim();
                    bGetFile.close();
                catch (IOException e)
                    System.out.println (" ");
                    System.out.println ("Sorry.An error occurred while trying to read from the input file.Unable to proceed!");
                System.out.println ("Processing the input text file "); //25042007 2318 being used for debugging purposes.          
                return inputText;
        }If the file being read is greater than MAX characters it will throw the exception mentioned.What I would like to do is read in MAX characters and discard the rest.

  • Best Practices for standardizing long text for EP GUI version

    Hello, I have a question that is related to standardizing best practices for all portal applications that use EP
    1) The portal team has recommended activating the GUI version from portal to allow the long text to have the same features as the standard GUI.  Since this solution is per transaction, we will need to identify what transactions need to have this temporary solution built in.  Also, business users will need to remember which transactions they will access via portal or GUI.
    (2) Even though the long text function is activated via GUI per transaction, the system will prompt a message of u201CRuntime Error!  Program C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXEu201D.  This may create frustrations to the users each time they maintain the long text.  The risk of this may be losing the use of long text throughout the maintenance orders, production orders, notifications, material masters, equipment masters, maintenance task lists, production routings, etc.
    All feedback welcomed
    Thanks Mark

    I found the solution, make everything in Illustrator (well text anyway) at a big size then bring it ibto Photoshop in a dicument 1024 x 576 (so no widescreen pixel ratio) then when saving document bring size of Image to 720 x 576 then you get great anti aliased pictures.
    Solved.

Maybe you are looking for

  • Regarding /564

    Hi All,   Where is the Wage Type /564(advance payment) formed in the Payroll Driver?

  • Question about load Microsoft JDBC driver for Sql server 2000

    Hello, I have some problem while trying load the sqlserver2000 jdbc driver My program is a third party application and it works with the other type 4 JDBC driver well. So I tried to use Microsoft SQL server 2000 JDBC driver instead. I installed JDBC

  • Going CRAZY! Lose Internet Connection Have to Restart to Get Back.

    PLEASE HELP ME! I have had my system for about 4 months now: MSI K8N Neo4 Platinum AMD 64 3200+ 1 GB Corsair Extreme RAM 1 36 GB Raptor That should be enough comp info as I am not sure that it is related to my problem anyways, but I know how technica

  • Selecting a specific keyframe

    Hi, is it possible to select a keyframe from a script ? I mean the same thing as clicking on a keyframe with the mouse to select it but in a script. thanks

  • Install what you need, don't add frivolous drivers, fonts, plugins, widgets

    Disclaimer: Apple does not necessarily endorse any suggestions, solutions, or third-party software products that may be mentioned in the topic below. Apple encourages you to first seek a solution at Apple Support. The following links are provided as