Text editor control to be made non-editable

Hello Experts,
Need a small help from you people.
I need to make a text editor control  non-editable,i n a sub-screen; depending upon the value of a field on the main screen. Can you please let me know of the easiest way out with this?
Thanks in advance,
Kumud.

HI,
You can write a code in PAI of main screen. there by using loop at screen you can make that field editable or disabled.
Code sample:
loop at screen.
****condition for value check
if screen-name = 'TEXT_EDIT_NAME'
screen-output = 1.
screen-input = 0.
modify screen.
endif.
endloop.
Hope this will help you.

Similar Messages

  • Using Text Editor control in Visual Compose

    Hello,
    I have added Text Editor control in a input form with certain dimensions, but when I preview the form the text edit field has different height than my layout view.
    Do you know what am I doing wrong?
    Marcelo

    Hello marcelo,
    When you check the configuration panel (on the upper- right side). There's an option in layout "fit content" this might be on auto, you could change it to actual size.
    Regards

  • Acc Assgnmnt details to be made non editable in MIRO for acct assgnmt cat A

    Hi All,
    1.How to make Account  Assignment details  ( like GL account,  WBS element etc ) to be made non editable in MIRO ( Invoice)  for account assignment category  A (Asset) ? .
    This means that  the account assignment details  in  Invoice verification  (that is picked already  from PO after GR ) for account  assignment category  A  should not be allowed to be changed in Invoice verification.
    In configuration, for account assignment category, the tick mark for " account assignment changeable" and " account assignment changeable at IR" have already been removed.
    Still SAP allows Account  Assignment details  ( like GL acc, WBS element etc ) to be changed in MIRO.
    Where else changes are to be done?
    2.Is there also a way to restrict this non editable feature of Assgnmnt details  in  Invoice verification  for only one G/L account even  further within this account  assignment  category  A ?
    Thanks & Regards,
    Hari

    Hi
    chcek in OB41 for miro field seletion options

  • Exchange rate in PO to be made non-editable after posting a GRN

    Hi Gurus,
    The requirement is to mask the exchange rate field in purchase order once a goods receipt is posted.
    We have tried to make the field as display only in ME22N, but that doesnot suit the requirement as we couldnot edit field in ME22N before GRN.
    Thanks a lot.
    Regards,
    Sathish K

    Hi Sathish K,
    The only solution is to make a custom program that can validate if the PO has a GR assigned.
    You need to check the following data once the PO wants to be changed (ME22N and ME23N):
    If in any item of the PO, the "Qty delivered" (EKET-WEMNG) is more than zero, AND
    the item is not marked as deleted (EKPO-LOEKZ), THEN
    the Exchange rate (EKKO-WKURS) cannot be changed.
    I hope this help.
    Kind regards,
    Sandra

  • COST CENTRE field to made non-editable for a particular ROLE

    Hi all,
      We ar running on SRM 4.0(Classic)..I have a query regarding the COST CENTER field under the node COST ASSIGNEMNT in the item deatils when i add an item to the SC.Here at our place,we have kept the field editable with F4 help only given for a particular role.
    However for other roles,there is no F4 help given for this field.Now i need to make this field 'DISPLAY' for these roles for which the F4 is not given.....
      Can anyone tell me whcih std program i will need to change wherin  for this field i can put up a check as to whcih roles the USER belongs to and based on that info i can make this field display?
      Any help is highly appreciated..Please help.
    BR,
    Disha.

    Hi,
      Any suggestions??
    BR,
    Disha.

  • PO (Tcode- ME21N)  In Item Text "Material PO text" to be non editable

    Dear All ,
                  We have specific requirment in PO (ME21N). In Item level ther is free text field "Item Texts". In Item texts we have 4 text fields
    (1) Item Text
    (2) Info Record PO text
    (3) Material Po text
    (4) Deivery Text
    As per our configuration in "Material PO text"  Material long description picking from Material master .We want to make this text field Non Editable.
    In SAP there is facility to configure non editable  Texts , But it will non editable all text fields.
    How we can non editable only Material Po text .
    Thanks in Advance.
    Regards
    Abhishek Tiwari

    Hi,
       As of my knowledge, there is no purchase organization specific texts exits. But you may make use of the purchase organization specific text in vendor master. You may define purchase organization specific text for vendor master and then maintain the text in vendor master. You may configure to copy the vendor master text to PO automatically. Refer the doc: Copy Control in MM (Conditions, Fields and Texts): (3rd part)
    Regards,
    AKPT

  • To make the dynamic text eg. & GV_VALUE& non-editable in text modules

    Hi Experts,
                My requirement is to make the dynamic text in the text modules non-editable i.e, static text can be edited by the user but dynamic text should be made non-editable. Could you please help me out in doing this.
    Regards,
    Payal G

    Hi Amrendra,
    The reason why it gets read only its because you are deleting the object thus the binding becomes null (because the object is gone!!!). So if you don't want it to be gone, it needs to refers to anything but null. So, if once you delete the object you expect it to remain editable then you can do:
    - Instead binding the inputText to the VO, bind it to some other variable (in a bean or in a binding variable) and do the logic to update the VO when required OR
    - Once you delete the row, Execute a CreateInsert operation from your VO. This will allow you to create a new Row (which is going to have all values blank) but at least the binding wont be null and your input text wont get read only.
    Maybe if you share in more details what is what you want to achieve in term of why do you expect the input text to remain editable (can you create a new row??)
    Regards

  • In PO -Me21N Material PO text field non editable

    Dear All ,
                  We have specific requirment in PO (ME21N). In Item level ther is free text field "Item Texts". In Item texts we have 4 text fields
    (1) Item Text
    (2) Info Record PO text
    (3) Material Po text
    (4) Deivery Text
    As per our configuration in "Material PO text"  Material long description picking from Material master .We want to make this text field Non Editable.
    In SAP there is facility to configure non editable  Texts , But it will non editable all text fields.
    How we can non editable only Material Po text .
    Thanks in Advance.
    Regards
    Abhishek Tiwari

    Dear Chetan,
                          I think you have not understood my complete question. First thing i dont want to non editable Short text field.
    In my problem  i In Item level ther is free text field "Item Texts". In Item texts we have 4 text fields
    (1) Item Text
    (2) Info Record PO text
    (3) Material Po text
    (4) Deivery Text
    In above text fields ,I want to non editable only "Material PO Text" only....
    Regards
    Abhishek Tiwari

  • Rich Text Editor functionality for a DIV tag in a publishing page in SharePoint online

    Hi,
    We are having a requirement where we need RTE behavior of SharePoint 2013 Rich Html Field for a custom DIV. The scenario goes like this:
    1. I have a publishing page
    2. I dropped the content editor web part and to that content editor web part I will point to an HTML file that needs to be rendered in that content editor web part
    3. I have one DIV in the above mentioned HTML files and I want that div to be editable and I need to RTE options for that DIV.
    How to accomplish the above behavior?

    Hi,
    According to your post, my understanding is that you wanted to create html rich text editor for a DIV tag in a publishing page in SharePoint online.
    You can create your own Rich Text Editor.
    Here are some great blogs for your reference:
    An Example to Use HTML Rich Text Editor
    Example: Using the Editor's instance
    Rich Text Editor control in SharePoint 2010
    Regarding SharePoint Online, for quick and accurate answers to your questions, it is recommended that you initial a new thread in Office 365 forum.
    Office 365 forum
    http://community.office365.com/en-us/forums/default.aspx
    Best Regards,
    Linda Li
    Linda Li
    TechNet Community Support

  • Header text + copy control

    Dear all,
    2 issues regarding header/item text and copy control.
    Header text
    I created a copy from the standard stales order "DR" (debit memo request) and from the standard order "CR" (credit memo request).
    Can anyone tell me why the DR doesn't have a header text, while CR has the field available?
    Or even better: could anyone tell me how I can have a header text for the sales order DR if it is not shown (via standard customizing)?
    Item text
    Other issue I have is with the item text: we are making a copy from the masterial sales text, however, on the sales order this text cannot be edited anymore. Any possibility to change this via standard customizing?
    We make a copy from a standing sales order to a normal sales order, where the text is derived from the material sales text, but should remain editable on the normal (2nd) sales order.
    Copy control
    If we want to copy the item text and header text from sales order to billing document, which copy control to take?
    Currently I have the standard copy control, however, for the CR sales order copy, the item text is copied. For the DR sales order copy... the item text is not copied from the sales order to the billing document...
    Many thanks!

    Hey,
    Regarding your first question..
    Header Text
    Can anyone tell me why the DR doesn't have a header text, while CR has the field available?
    The CR document type might have got Text determination procedure assigned and DR doesn't have that. Check that in VOV8 or VOTXN.
    Item text
    Other issue I have is with the item text: we are making a copy from the masterial sales text, however, on the sales order this text cannot be edited anymore. Any possibility to change this via standard customizing?
    We make a copy from a standing sales order to a normal sales order, where the text is derived from the material sales text, but should remain editable on the normal (2nd) sales order.
           This can be configured in VOTXN, select the Sales Document Header radio button and click on the Change option, Select the relevant procedure and go to the "Text Id's in Text procedure"  then Uncheck the "Reference" check box against the text id you are looking for. If this box is checked then the text will be referenced and is non editable, till the source text is changed.
    Regarding your third issue,  Once you assign the Text determination procedure to DR document type, it will take care of it.
    Regards,
    Aj.

  • Text Editor -options

    Hi,
    I have been using text editor control.
    In this when we click load file button...an open prompt window appears..
    there we will be finding Files of type... dropdown..containing values like text(.txt) file and All file types..
    Is there any way to restrict this dropdown to single value..i mean to .txt file..should only be viewed omitting
    All files option in dropdown..
    i am using CL_GUI_TEXTEDIT..control...
    Is there any option to do it...
    Please Help me out.
    Thanks & Regards,
    Sandy.

    Hi Sandy,
    I don't think there is any method for this. As the dialog box opened is depending on your OS.
    But, you can cross check the uploaded file for  " .txt " using CP (contains pattern) function of string.
      DATA: xl type string.
      xl = '*.txt'.
      IF not P_FILE CP xl.  "P_FILE is name of file you will get.
    "Error"
    ENDIF.
    Sachin

  • Why can't I cut or paste in my wiki rich text editor

    the browswer does a lovely job of viewing my pbworks classroom page but i cannot type, cut, or paste in PBWorks' rich text editor mode so i can't edit from my phone and i suspect i will find the same problem when we switch to ipads next fall. any help?

    This problem should be at least partly fixed in Firefox 5, which will be released later this month. If you'd like to help us test the fix now, you can download Firefox Beta from the Android Market:
    https://market.android.com/details?id=org.mozilla.firefox_beta

  • Print PDF rich text editor using BI Publisher

    Hi !
    I have a CLOB field from database, and I store data using a rich text editor, like a MS Word system, here as you know, I can write words in bold format, use differents kind of colors, etc... and use all formatted text that the editor allow me. I haven't problems once save this data into table and restore again, I can see all this data formatted , and I don't loose any property of this formatted text.
    The problem is when I want print this information in the same way that I can see in the rich text editor. I use BI Publisher for generate a PDF, when I send this field for print a PDF, the PDF that BI publisher generate, print only text, prints all characters including generating that text is formatted, for example, if the field is written in bold print "<b>hello</b>" in the PDF generated by BI Publisher see "< b. > hello < / b>".
    Please which is the way for print the same as is displayed in the rich text editor?
    Thanks in advance.
    Edited by: Almogaver on 07-mar-2011 14:35
    Edited by: Almogaver on 07-mar-2011 14:35
    Edited by: Almogaver on 07-mar-2011 14:36
    Edited by: Almogaver on 07-mar-2011 14:37

    Bump Again. I understand how to remove the HTML tags, thats not a problem. The problem is getting the report to print the data from a Rich Text Field stored in a CLOB or NCLOB as formatted text. Is there a "Master Style Template" or "Master Rich Text Field Subtemplate"?
    Richard

  • Rich Text editor in Webdynpro

    Hi,
    With the new FormattedTextView in 2004s one will be able to render xhtml compliant rich test in Webdynpro.
    This however only covers the rednering of rich text.
    There still does not seem to be a rich text editor control available for webdynpro applications, which I think might be a common requirement for document centric applications.
    I was wondering :
    1 - will there be a richt text editor control available for WDP in the forseeable future ?
    2 - if not, are there any workardounds available to allow for the generation of rich text ?

    Hi Valery,
    Well, I already thought of that kind of solution, but I do not consider it a very clean solution. I know WDP supports portal eventing. On the other side of such a scenario you could even do without a 3rd party wysiwyg editor, cause SAP does offer an html editor control in its set of HTMLB controls.
    We intend to use WDP as a UI layer on top of SAPs KM. Our scenario involves template based publishing of structured documents (we first looked at xml forms, but they showed too many limitations). The idea is to model the document structure and content at runtime as WDP context structures (based on xml schemas) and then to serialize WDP context into XML content and metadata, with KM acting as business and persistence layer. Markup and insertion of images into the different text parts of the document however has become an additional requirement, which is why we are looking for a ways to fit that in our current design.
    You could indeed think of some kind of data exchange between a regular portal component and the wdp application, but I am not too confident whether that is going to be a reliable solution.
    PS : for the serialization of WDP context, your post in a different thread on this forum helped me a lot in my first attempts to create KM documents from data wdp runtime data (context). The link provided to the online book and your little example was very welcome. Thanks for that !

  • In which table data is stored by text editor

    we enter text in  text editor control.
    but i can't figure out :: it store the text entered in text editor in which table.
    can you help me in this.
    regards.

    Raja,
    firstly my program is working fine, i want to know how FM "READ_TEXT" read text.
    this is coding
    refresh: ltxttab2. clear ltxttab2.
      clear w_thead.
      w_thead-tdobject = 'ZXYZ'.
      w_thead-tdname = mrole.
        w_thead-tdid = 'LTXT'.
      w_thead-tdspras = sy-langu.
      w_thead-tdfuser = sy-uname.
      w_thead-tdfdate = sy-datum.
      w_thead-tdftime = sy-uzeit.
      CALL FUNCTION 'READ_TEXT'
         EXPORTING
         CLIENT                        = SY-MANDT
           ID                            = 'LTXT'
           LANGUAGE                      =  sy-langu
           NAME                          = W_XYZ-TDNAME
           OBJECT                        = 'ZXYZ'
        ARCHIVE_HANDLE                = 0
        LOCAL_CAT                     = ' '
      IMPORTING
       HEADER                        =
         TABLES
           LINES                         = LTXTTAB2
       EXCEPTIONS
         ID                            = 1
         LANGUAGE                      = 2
         NAME                          = 3
         NOT_FOUND                     = 4
         OBJECT                        = 5
         REFERENCE_CHECK               = 6
         WRONG_ACCESS_TO_ARCHIVE       = 7
         OTHERS                        = 8
      IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    regards

Maybe you are looking for