How to Limit text in Textedit element

Hi
I am using a  BSP application named CRM_IC, which is using "TextEdit" Element & i want to limit the text entered in it.
Is there any property like Maxlength in BSP as its there in HTML.
Thanks & regards
Abhay

hi Abhay,
   I think not is possible with bsp extension crm_ic.. I only see paramater of visualization, not content paramaters.
   Try to find other bsp extension or if you requirement is mandatory try to develop it...
Regards.
Manuel
Reward with points!

Similar Messages

  • How to include text as HTML elements (see DOMElement)

    I am working with Flash PRO CC v. 14.0.  to convert my Flash website to HTML5 / javascript
    I have converted a file to the HTML5 Canvas
    I am very happy that the new Flash Pro has the feature to convert to HTML5 canvas
    HOWEVER:
    In my original .FLA file project I use only one font: Copperplate Bold.  I use several sizes of that font within the project / scene
    In the original file for all text I use static text, Letter spacing, AntiAlias, AutoKern and single line (Linetype)
    - none of which the HTML5 canvas seem to allow / support?
    How do I maintain the FONT look that I have chosen in my original FLASH project, after I convert to HTML5 canvas?
    Is there a way in the HTML canvas to maintain the FONT look that I want?
    HTML5 canvas will not allow Font embedding
    The device font destroys the LOOK of my Copperplate Bold font.
    How do I include text as HTML elements (see DOMElements)?
    WARNINGS generated when I convert the original file into an HTML Canvas:
    Warnings generated while copying/importing in 140827a HTML test.fla:
    * AntiAlias is not supported in HTML5 Canvas document, and has been converted to DeviceFonts in an instance of Text.
    * AutoKern is not supported in HTML5 Canvas document, and has been removed in an instance of Text.
    * Frame Scripts have been commented
    * LetterSpacing is not supported in HTML5 Canvas document, and has been converted to 0.0 in an instance of Text.
    * LineType is not supported in HTML5 Canvas document, and has been converted to MultiLineNoWrap in an instance of Text.
    * Some artwork contains Hairline stroke, which is not supported in HTML5 Canvas document, and has been converted to Solid.
    * StaticText is not supported in HTML5 Canvas document, and has been converted to DynamicText in an instance of Text.
    New HTML Canvas Document created.
    NOTE:  So far the only way I have been able to maintain the font look is to convert the fonts to .png files
    This is painstaking work that I would like to avoid.
    Even then I still get a WARNING when I test my scene - (no doubt because I left the original FONT text  in guide layers)
    After conversion ON TEST SCENE:
    WARNINGS:
    Frame numbers in EaselJS start at 0 instead of 1. For example, this affects gotoAndStop and gotoAndPlay calls. (18)
    Only circular (not oval) radial gradients are supported. (85)
    Text support is limited. It is generally recommended to include text as HTML elements (see DOMElement). (6)
    Color effects are published as a filter and subject to the same limitations. (4)
    Filters are very expensive and are not updated once applied. Cache as bitmap is automatically enabled when a filter is applied. This can prevent animations from updating. (2)
    Content with both Bitmaps and Buttons may generate local security errors in some browsers if run from the local file system.
    HOW CAN I MAINTAIN the FONT LOOK that I have chosen for my project?
    How do I include text as HTML elements (see DOMElements)?
    ANY HELP will be appreciated
    A good, in depth, tutorial on the subject (FONTS) would be a BIG help to many using the convert to HTML5 canvas features.

    GOOGLE HAS
    https://www.google.com/fonts
    choose a font from above site
    then:
    google generates instructions on how to embed that font
    Montserrat
    3. Add this code to your website:
    <link href='http://fonts.googleapis.com/css?family=Montserrat:400,700' rel='stylesheet' type='text/css'>
    4. Integrate the fonts into your CSS:
    The Google Fonts API will generate the necessary browser-specific CSS to use the fonts. All you need to do is add the font name to your CSS styles. For example:
    font-family: 'Source Sans Pro', sans-serif;
    font-family: 'Ubuntu', sans-serif;
    font-family: 'Montserrat Alternates', sans-serif;
    font-family: 'Montserrat', sans-serif;
    font-family: 'Open Sans', sans-serif;

  • How to limit text in a cell

    I have a spreadsheet that a column can only contains 30 characters, how can I easily make numbers either identify those over 30 characters or chop off the extra ones?

    There are a couple ways:
    1) add an extra column which computes the length and posts a message "TOO LONG" when the length of the contents of the cells exceeds your limit
    Cell B2=IF(LEN(A2)>30, "TOO LONG", "")
    select B2 and fill down as necesary
    2) Use a second table to shade the rows in error:
      - Make a 2nd table with a single column
      - in this new table enter the formula:
         A2=IF(LEN(Table 2::A2)>30, 1, 0)
        select A2 and fill down as necessary
      - now select all the rows in this table and apply conditional formatting using the menu item "Format > Show Conditional Formatting Rules"
      - make the single column as wide as the table or cell you want to flag with an error
      - Send the 2nd table (the one with the header "Check") to the back using the menu item "Arrange > Sent To Back"
      - slide the 2nd table under the first

  • How to dragdrop text of list elements in TextFrame.

    hi,
    i have a panel with list which implemented using TreeViewWidget. I want to add drapdrop functionality to list elements which are the tree nodes.I have written implementation for "IID_IDRAGDROPSOURCE" for tree node by referring sample "PanelTreeView". But the flavor "kPMTextFlavor" in my case is not working.Also the "IStringData" interfaceptr from dataExchangeHandler is getting zero.
    Is anybody tried to drag static text with kPMTextFlavor or is any other flavor should be used and what about IStringData??

    Hi Madhvika,
    If the text is a static test, you can change it without any code.
    http://help.sap.com/saphelp_nw70ehp1/helpdata/en/c5/f4b9422e0fb911e10000000a1550b0/frameset.htm
    If the text of the label/button is bound to a context attribute (dynamically set)- then you will need write some code in pre, post or overwrite methods based on your requirement.
    Check the below links:
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?QuickLink=index&overridelayout=true
    http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/609baac0-ff58-2c10-7aa3-d23e1ceda594?QuickLink=index&overridelayout=true
    Thanks,
    Shanti

  • How to edit text of UI elements in sap standard ABAP webdynpro component

    Hi All,
    I have a requirement wherein I want to change the standard text of mainly LABEL UI in travel and expenses ABAP webdynpro components. As per my knowledge we canu2019t change UI text directly by changing it in layout in enhancement. We have to do it via wdmodify view method and post and pre exits methods.
    Can you please help me with the steps that I have to follow and code?
    Regards,
    Madhvika

    Hi ,
    Please go through this document.
    [Doc|http://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/700317da-bd79-2c10-368e-8f18bf5d8b81?quicklink=index&overridelayout=true]
    Create a Pre Exit method for WDDOMODIFY method of the view , and in that method code somthing like this.
    lo_button TYPE REF TO cl_wd_button.
    lo_button ?= view->get_element( 'ID of button' ).
    lo_button->set_text('New Text').
    Thanks,
    Aditya.

  • How to limit text amount in a 2013 SharePoint list column?

    I have a few lists that have a Remarks or Details column that have multiple lines of text.  In my old 2007 site, I had a small script that would hide all but the first 30 characters and then add ... and when you moused over it displayed the rest of
    the text.  It seams that the script won't work in 2013 SharePoint now and I have yet to find a fix.

    Hi,
    I think the way you are following is perfect.
    For the script to work fine follow the below mentioned steps
    1. If it is a custom user control in which the text box is place then placing the script inside the script block on th usercontrol or putting it in a js file should be fine(i know this is straight forward but still im telling)
    2. If it is an out of the box page, then placing the script inside the content editor will not work. You will have to add the script editor webpart and then place your script inside that webpart and it should work fine.
    Please let us know in case of any issues.
    Regards,
    Sharath
    sharath kumart shivarama

  • How to translate text elements in forms from type : pdf

    does anybody know how to translate text elements
    in  pdf  from english to other languages.
    i tried the tran. se63 and filled in the desired language,
    but there was no effect on the output ,
    thanks,
    ami

    call this funcation. crate_text.
    CALL FUNCTION 'CREATE_TEXT'
             EXPORTING
               FID               =
               FLANGUAGE         =
               FNAME             =
               FOBJECT           =
             SAVE_DIRECT       = 'X'
             FFORMAT           = '*'
             TABLES
               FLINES            =
           EXCEPTIONS
             NO_INIT           = 1
             NO_SAVE           = 2
             OTHERS            = 3
           IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
           ENDIF.

  • How to limit the number of search results returned by oracle text

    Hello All,
    I am running an oracle text search which returned the following error to my java program.
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    #### ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    java.sql.SQLException: ORA-29902: Fehler bei der Ausführung von Routine ODCIIndexStart()
    ORA-20000: Oracle Text error:
    DRG-51030: wildcard query expansion resulted in too many terms
    at oracle.jdbc.dbaccess.DBError.throwSqlException(DBError.java:169)
    When i looked up the net, one suggestion that was given is to narrow the wildcard query, which i cannot in my search page. Hence I am left with the only alternative of limiting the number of results returned by oracle text search query.
    Please let me know how to limit the number of search results returned by oracle text so that this error can be avoided.
    Thanks in advance
    krk

    Hi,
    If not set explicitly, the default value for WILDCARD_MAXTERMS is 5000. This is set as a wordlist preference. This means that if your wildcard query matches more than 5000 terms the message is returned. Exceeding that would give the user a lot to sift through.
    My suggestion: trap the error and return a meaningful message to the user indicating that the search needs to be refined. Although it is possible to increase the number of terms before hitting maxterms (increase wildcard_maxterms preference value for your wordlist), 5000 records is generally too much for a user to deal with anyway. The search is not a good one since it is not restricting rows adequately. If it happens frequently, get the query log and see the terms that are being searched that generate this message. It may be necessary to add one or more words to a stoplist if they are too generic.
    Example: The word mortgage might be a great search term for a local business directory. It might be a terrible search term for a national directory of mortgage lenders though (since 99% of them have the term in their name). In the case of the national directory, that term would be a candidate for inclusion in the stoplist.
    Also remember that full terms do not need a wildcard. Search for "car %" is not necessary and will give you the error you mentioned. A search for "car" will yield the results you need even if it is only part of a bigger sentence because everything is based on the token. You may already know all of this, but without an example query I figured I'd mention it to be sure.
    As for limiting the results - the best way to do that is to allow the user to limit the results through their query. This will ensure accurate and more meaningful results for them.
    -Ron

  • DITA + FM: How can I change the automatically insert text for the element info?

    Hello,
    when I insert the element info in a topic, FrameMaker automatically insert the text "ADDITIONAL INFORMATION:".
    How can I change that?
    I know how to change it for the elements result, postreq and prereq. I change the text format rules for the elements in the topic.edd.
    But the element info has no text format rules and when I search in the topic.edd for the text "additional" or "info" I dont find something.
    With kind regards,
    Nina

    Hi Scott,
    thanks a lot for your reply! I've found the code in the EDD on page 65.
    "... is using the @type attribute value ..." - I have changed the values in the DTD (Structure\xml\DITA\app\dtd\commonElements.mod), but that didn't had any effect, not even after a restart of FM. I also changed the note attribute values in "dita-map.edd.fm" and "topic.edd.fm". Nothing. When I insert a note tag FM still inserts the original values.
    Did I missunderstand something? Further tips?
    Marcel

  • How can I set the caption text of picture controls inside an array or how can I choose which array element is assigned using the array elements caption text property.

    I have 8 picture controls inside an array and I would like to set the caption text of these controls.
    I have used the property node of the array and used the array elements property caption text to set the text.
    The problem is however that I set the same text to all the picture controls inside the array.
    My question is how to set caption text of specific elements (Picture control) that I have so far only been able to access using the array elements caption text property.

    Some more help
    1 You could use the caption of the array and place it in front of the selected picture and update that using property nodes.
    2 Like Norbett said if you use a cluster of pictures then their caption can be updated individually.
    Here is a an example that demonstrates the above
    David
    Attachments:
    Modify the Captions Of Pictures.vi ‏83 KB

  • How to insert a text edit UI element  in a table

    hi all,
    I want a text edit UI element in a table .I do not want input field because text entered can be very long and whole text cant be seen then.Is there any way to increase the width of input field if i insert an input field ? or what can be other solution for this?

    Hi Govind,
    You can't insert Text Edit as a cell variant in table. But you can increase the 'Width' property of Input Field, say to 500px or as per your requirement, so that you can display the full text at one go. Or you can bind the 'Width' property to a context and set the width at run time as per the text length.
    Thanks,
    Sumit

  • Display long Text in PDF (How to match width of text in TextEdit & Form)

    Hello Experts,
    I have created a PDF where I have to populate a field with Long Text (from a Text Edit UI Element of my Web Dynpro Component). The issue is that when I retrieve the text (using READ_TEXT...) and display it, it occupies just the half of screen width.
    I increased the number of columns of the Text Edit with `Hard Wrap`/`Soft Wrap`, but it had no effect. I also tried setting the width of the Text Edit but it had no effect too.
    Could you kindly suggest any way of achieving this?
    Thanks and best regards,
    Abir

    Hi Abir
    When you use FM READ_TEXT to get the Longtext, you have to somehow serialize the textlines into a single longtext (string). You do it like this?
    LOOP AT tline into ls_tline.
      CONCATENATE l_string ls_tline-tline INTO l_string.
    ENDLOOP:
    I think these line breaks are caused by CRLF (end-of-line) characters inside your longtext. You can find and replace them with the constant CL_ABAP_CHAR_UTILITIES=>CR_LF.
    Edited by: Daniel Sulzer on Nov 23, 2010 2:43 PM

  • Current position of Cursor in TextEdit Element

    Hi
    I would like to know how can i determine the current position of the cursor in general.
    I would also like to know the current position of the cursor in textedit element.
    Regards
    Piyush

    I checked the property, but it does not fulfill my requirement.
    What i want is:
    There is a view with several textedit/input elements, say A,B,C....n
    There is a Helper Function Button, But.
    Now when the user clicks on the button, i need to add a text, 'HELLO' in the element where the cursor is currently positioned.
    So in other words, the focused element will be appended by text 'HELLO'...
    So if i can find out the focused element, then i can append the text.
    Now my question is how do i find out the focused element in the view.
    Regards
    Piyush

  • How to limit the number of items that a list control can hold?

    Hi,
    I am using a Flex3 List control for one of my projects.
    I add drag & drop functionality to it, so that i can drag & drop elements from one control to another.
    How to limit the number of items that a list control can hold / can be dropped in a list control ?
    - Sen.

    1. Listen for the dragdrop event on the control you are dragging onto.
    2. check the length of the items in the dataprovider - if it exceeds your maximum override the default drop action with e.preventDefault(); (assuming you used e for the event on the handler).
    Regards,
    Mark.

  • How to add a new data element for existing table filed(Primary key field)

    Hi Experts,
    How to add a new data element for existing table field(Primary key field)
    For this filed ther is no foreign key relation ships and even check table.
    while activating table it is giving message like below.
    can you help any one to solve this and wil steps to add new dataelement for existing primary key filed of a table.
    Check table (NAMING SPACE/TABLE NAME(EX:/TC/VENDOR)) (username/19.02.10/03:29)           
    Primary key change not permitted for value table /TC/VENDOR
    Check on table  /TC/VENDOR resulted in errors              
    Thanks
    Ravi

    Hi,
    Easiest way is to download the table eg into an Excel table (if possible) or text table. Drop the table from the database. Build your table with the new key field. Build the database table again and fill it.
    You can do it also over the database into a new table. Drop the old one. Build the enhanced one and fill it. Afterwards drop your (temporary) table.
    Maybe there are other ways, but this works.
    Success,
    Rob

Maybe you are looking for

  • How can I manually refresh a Materialized View

    Hi, There's a materialized view created in 2006 as under: CREATE MATERIALIZED VIEW "schema"."mv_name" USING INDEX REFRESH FAST ON DEMAND WITH PRIMARY KEY USING DEFAULT LOCAL ROLLBACK SEGMENT DISABLE QUERY REWRITE AS SELECT * FROM "table_name@dblink;

  • I've lost all my apps, how do I get them back?

    I restored my iPhone trying to get rid of 10.53GB of OTHER hogging my phone, and I restore a back up and all my apps are gone... Most of these apps were paid for, so I'm wondering: 1- How do I get my apps back? Or, if I can't get them back, 2- Can I

  • Basic Search portlet returns error when Display in New Browser Window set

    Ora AS Portal 10G release 2 (10.1.2.x) Have a region of type Portlets. The enable users to include content in this region is enabled. I added a Basic Search Portlet in this region. Basic search works fine if launched from current area, however if cha

  • Query in Template Designer

    Hello, I'm trying to create a word template in template designer for appointments (BUS2000126). I've created a web service in the web service tool. In the web service tool I found a query, Query for Activities [ BTQAct ], which seems useful. I have a

  • How we can run multiple IOP servers as separate services in iop 4.0.5

    We have two different IOP servers running on a same windows machine. We want to install nt service for both. When we install the service as Oracle Integrated Operational Planning for first server, and try to do it for second, it results in an error t