Disable long text

Hi experts,
Iam working on Dialog programming.
I have created long text(container) using custom control.
When display mode i want to disable this <b>container</b>.
Can any one tell me how i can i <b>disable</b>?Is it possible using Loop at screen?
Thanks
kaki

I would use the other method but this one should be ok too...
1. what values are you passing in the parameters
2. have you 'created' the txt object and it's parent container? ie.
for these object declarations:
data:     editor_obj  type ref to cl_gui_textedit,
          editor_cont type ref to cl_gui_custom_container.
I had to:
create object editor_cont exporting container_name = 'C_TEXT'.
create object editor_obj exporting parent = editor_cont
        wordwrap_mode = cl_gui_textedit=>wordwrap_at_fixed_position
               wordwrap_position = 79
               wordwrap_to_linebreak_mode =  cl_gui_textedit=>true.
First answer accepted:
Ignore the above then! Thanks for the points.

Similar Messages

  • How to make long text disabled in me51n ?

    hello friends,
    my requirement is, for tcode ME51N the CMP Remarks long text field should be mandatory. please check the picture.
    best regards,
    santanu nayek

    no sir not working
    """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""$"$\SE:(1) Form MODIFY_SCREEN, Start                                                                                                                         A
    *$*$-Start: (1)---------------------------------------------------------------------------------$*$*
    ENHANCEMENT 2  ZPO_SHORTTEXT.    "active version
    BREAK-POINT.
    DATA: L_TEXTTYPE1 LIKE MMPUR_TEXTTYPES.
    IF SY-TCODE EQ 'ME52N'.
       CLEAR L_TEXTTYPE1.
    LOOP AT GT_CONTROL-TEXTTYPES INTO L_TEXTTYPE1 .
    IF L_TEXTTYPE1-TDID = 'B05'.
    L_TEXTTYPE1-DISPLAYMODE  = ''.
    MODIFY GT_CONTROL-TEXTTYPES FROM L_TEXTTYPE1 TRANSPORTING DISPLAYMODE.
    ENDIF.
       CLEAR L_TEXTTYPE1.
    ENDLOOP.
    ENDIF.
    ENDENHANCEMENT.
    *$*$-End:   (1)---------------------------------------------------------------------------------$*$*
       DATA: L_TDID LIKE TTXID-TDID,
             L_TEXTTYPE LIKE MMPUR_TEXTTYPES.
       READ TABLE GT_CONTROL WITH KEY OBJECT = G_TEXTOBJECT.
       CHECK SY-SUBRC EQ 0.
       L_TDID = GT_CONTROL-CURRENT_NODE(4).
       READ TABLE GT_CONTROL-TEXTTYPES INTO L_TEXTTYPE
                                       WITH KEY TDID = L_TDID.
       CHECK SY-SUBRC EQ 0.
       LOOP AT SCREEN.
         CASE SCREEN-GROUP1.
           WHEN 'DEL'.
             IF L_TEXTTYPE-TEXTFLAG    IS INITIAL OR
                L_TEXTTYPE-FIXIE       EQ '*'     OR
                L_TEXTTYPE-FIXIE       EQ 'N'     OR
                L_TEXTTYPE-DISPLAYMODE EQ 'X'.
               SCREEN-ACTIVE = '0'.
               MODIFY SCREEN.
             ENDIF.
           WHEN 'COP'.
             IF L_TEXTTYPE-TEXTFLAG    IS INITIAL OR
                L_TEXTTYPE-FIXIE       NE '*'     OR
                L_TEXTTYPE-DISPLAYMODE EQ 'X'.
               SCREEN-ACTIVE = '0'.
               MODIFY SCREEN.
             ENDIF.
           WHEN 'TC'.
             IF L_TEXTTYPE-DISPLAYMODE EQ 'X'.
               SCREEN-INPUT = '0'.
               MODIFY SCREEN.
             ENDIF.
         ENDCASE.
       ENDLOOP.
    ENDFORM.                               " MODIFY_SCREEN

  • Issue ith Long text in Quality Notification.

    Hi All,
    I have an Issue with Quality Notification long text change functionality.User reported that he can only append the additional text and can't edit the alaready entered screen. When I verified the config for the notification type it shows that 'Log line' check box have been checked and "No text" change Check Box Not checked. We need log lind and the same time user can edit the alkready entered screen. We are using Ecc 6.0 system.
    Please guide me to fix that Issue.
    Regards,
    Senthil

    Hi,
    you should check in configuration the part "Overview of Notification Type"  (Quality Management>>Quality Notifications>>Overview of Notification Type).
    When you select your notification type you go to "Format Long text" and there you can disable "No text change". This option is useful when you want to add text but don't want to allow modification of existing text.
    Hope this help,
    Serge

  • Editing long text in Quality notification

    I am not able to delete or change long text in quality notification since it is greyed out. Can anybody help ?

    Hi,
    you should check in configuration the part "Overview of Notification Type"  (Quality Management>>Quality Notifications>>Overview of Notification Type).
    When you select your notification type you go to "Format Long text" and there you can disable "No text change". This option is useful when you want to add text but don't want to allow modification of existing text.
    Hope this help,
    Serge

  • Allow modifications over  "Long Text" in notifications until it's released

    Hi friends!!!
    It is possible to allow modifications over field LONG TEXT until the notification is released??, I know you can disable a field in customizing but I don't know how to restrict the action just until the notification is released,
    I need your help!!!!!
    Thanks so much,
    Frinee

    Peculiar - I was just looking at this (for a different problem). Look at OSS note #876698.
    Rob

  • Disabling Predictive TEXT feature

    Is there a way of disabling thepredictive text when typing? It's really annoying when the phone chhoses what you want to write, or rather misprexicts your intended word, causing you to waste time deleting and retyping.
    Sometimes the text window obstructs view of the text you want to copy! Its really a bore and I need to know how its disabled!

    Yes go into Options,(wrench) and go to either typing or keyboard and untik predictive text.
    THE BITTERNESS OF POOR QUALITY, LINGERS LONG AFTER THE CHEAPNESS OF PRICE, IS SOON FORGOTTEN.

  • Copy functionality which did not copy Long Text values causing us an issue

    Two new Master Recipes created in Bathurst by using copy functionality in transaction C201 contained SRC value errors believed to be caused by changes in the copy
    functionality which did not copy Long Text values causing us an issue when creating Process Orders.   Current workaround is to manually edit the
    value fields and re-save the MRs, the issue is then resolved.

    This will resolve the issue
    SAP Note 1452700 - "New" button is disabled after
    displaying text
    Note Language: English Version: 1 Validity: Valid Since 03/25/2010
    Summary
    Symptom
    In display mode you navigate via the text hyperlink to the text view.
    When you navigate back, the "New" button on the "Notes" assignment block is
    disabled.

  • Z3 changing long texts to mms automatically :-(

    Hi.can anyone tell me how to set phone so that long text messages don't automatically change to mms.other phones I've had in the past have had settings where I can stop this happening automatically .I keep not noticing it's done it until it's sending, and it's costing me a fortune! Thanks

    Hi and welcome to the community! Since you're new please be sure that you have checked out our Discussion guidelines.
    I'm afraid i don't know of any setting to change this. How long text messages you can write before a message is converted to MMS also depends on where you bought the phone (country and operator) as this is set on a local level and by the operator.
    What you can try is to download another messaging application. I believe Handcent SMS have a setting that allows you to disable this.
     - Official Sony Xperia Support Staff
    If you're new to our forums make sure that you have read our Discussion guidelines.
    If you want to get in touch with the local support team for your country please visit our contact page.

  • Va02 long text

    Hi All,
    I have a requirement like i need to disable terms of payments long text  if long text is available.
    I know how to read that  long text by using read_text function module but i dont know if text is there how to make the long text filed in non editable mode.Please let me know your views.
    Thanks in advance.

    Hi Kota,
    This i did  for vl02n. I am not sure about va02. Just check this you may get an idea.
    1) PERFORM TEXT_CONTROL_EINGABEBEREIT 2) Go to this subroutine and then Program u2013> Enhance 3)Edit ->Enhancement Operations -> Show implicit enhancement Options  4) There is a form text_control_eingaberit.
    5)  Include name LV70TFT3 
    ENHANCEMENT 4  ZTEXT_MODIF_BLOCK.    "active version
    call method gv_text_editor->set_readonly_mode
             exporting
                  readonly_mode = gv_text_editor->true
             exceptions
                  error_cntl_call_method = 1
                  invalid_parameter      = 2
                  others                 = 3.
    ENDENHANCEMENT. 
    This i did for vl02n. Check in this for va02.
    Regards,
    Madhu.

  • Promotion creation via BAPI - long text issue

    I am going to use BAPI_PROMO_CREATE to create a promotion.  Unfortunately this BAPI does not handle the long text piece of the promotion, and that is a requirement.  Does anyone know of a BAPI that will create the long text for a promotion, or is there a generic BAPI for this functionality?  I couldn't find one.
    Thanks,
    Tami

    This will resolve the issue
    SAP Note 1452700 - "New" button is disabled after
    displaying text
    Note Language: English Version: 1 Validity: Valid Since 03/25/2010
    Summary
    Symptom
    In display mode you navigate via the text hyperlink to the text view.
    When you navigate back, the "New" button on the "Notes" assignment block is
    disabled.

  • How to print long text in scripts

    plzzzzzzzzz answer this qestion
    how to print long text in scripts

    Hi Kranthi,
    You can create Text Id and include that in your script.
    For example:
    /E TEXT
    /: INCLUDE ZTEXT OBJECT TEXT ID ST
    Hope this helps.
    Please reward if useful.
    Thanks,
    Srinivasa

  • Database Table where modifications to message long text are stored (log)

    Hi,
    As per manual correction mentioned in SAP note 1144291,
    we have changed the long text for message XC092 by modification of the long text.
    This note 1144291 is a pre-requisite for SAP Note 1310808.
    After the notes were implemented, it is noticed that message CURTO1055 has incorrect information in its long text. This is because, the variable in the long text are not correctly defined in the long text.
    Both the messages XC-092 and CURTO1-055 are SAP standard.
    The error for CURTO1-055 can be rectified by modification of the long text and maintenance of the correct variables.
    However, my question is:
    Where do we check the log for document modifcation for a message long text.
    I have found the logs relevant to my modification in table DOKHL and DOKIL.
    But in which table do we get all of the foll. data:
    - Message class
    - Message number
    - Modification name
    - Modification created by
    - Modification done on
    - Last changed by
    - Last changed on
    Kindly help. A <removed by moderator> solution would be really helpful.
    Best Regards,
    Smruthi
    Edited by: Thomas Zloch on May 5, 2011 12:07 PM - urgency reduced

    Hi Smruthi,
    The modification changes would be in the SMODILOG table. Please note this is a core basis table and should not be changed, however to best find your changes search under the TRKORR field with the relevant tp request.
    Best regards,
    Derrick Hurley
    Development Workench

  • Can not see long text description of a characteristics in portal

    Hi experts,
    I designed two queries via Query designer and published them to portal but I can not see the the long text description of "Name" attribute belongs to 0BPARTNER characteristics.
    One of the queries shows only the last name of partner in portal while it is showing full name and last name in Bex Analyzer. The other query shows only the key value in both portal and Bex Analyzer.
    I want to see long text description in both queries.
    For an additional information, I'm extracting data from CRM 5.00 to BW 7.00
    What will be the reason for this and how can I solve it?
    Can anyone help me for this issue, it's a kind of emergency situation.

    Hi,
    we have the same problem.
    We want to change <b>only</b> in the screen variable the hierarchy text (from default to long\medium text) but even if there's a possibility to do this, really it doesn't happen anything - it' s possible when you start query, in the selection screen inside every the variable there's a command "User Settings" in which manage what you want to see (I put display custom, as text, medium text).
    I try to do this also in query analizer, selecting variable (hierarchy) and enter in this (user setting), changing in display custom as text - medium text, but even if I save this settings, really doesn't happen anything.
    It seems the system isn't sensitive to this selection...
    By now, if someone has an answer, please write us!
    Thanks in advance,
    Alessandra Mirone

  • Creating a long text using ABAP code.. fm SAVE_TEXT

    When you create an order via IW31 one of the options is to click on the text button and create a long text. I am basically trying to mimic this action from within my ABAP code.
    The text id details are as follows:
    Text Name       500000015000046  which is (5000000 + order number)
    Language        EN
    Text ID            KOPF         Order header text
    Text Object      AUFK       Order text
    If i manually create the text within the transaction i am then able to view and update it via function modules READ_TEXT and SAVE_TEXT. But if the text has not already been created READ_TEXT obviously returns nothing as it does not exist and SAVE_TEXT does not seem to created it!
    Anyone know how i would go about creating this text using ABAP code?
    Hope this make a bit of sense
    Thanks in advance
    Mart

    I have implemented the code as i think it should be. See below, can any see what is wrong. If i add init_text it makes no difference and adding the commit_text just makes it hang
    DATA: IT_TEXTS type standard table of TLINE,
           wa_texts like line of it_texts,
           wa_txtheader type THEAD.
    wa_txtheader-TDID     = 'KOPF'.
    wa_txtheader-TDSPRAS  = 'EN'.
    wa_txtheader-TDNAME   = '500000015000056'.
    wa_txtheader-TDOBJECT = 'AUFK'.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
      wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
      wa_texts-tdformat = '*'.
    wa_texts-tdline = 'hello'.
    append wa_texts to it_texts.
    CALL FUNCTION 'SAVE_TEXT'
      EXPORTING
        CLIENT                = SY-MANDT
        HEADER                = wa_txtheader
        INSERT                = 'X'
       SAVEMODE_DIRECT       = ' '
       OWNER_SPECIFIED       = 'X'
      LOCAL_CAT             = ' '
    IMPORTING
      FUNCTION              =
      NEWHEADER             =
      TABLES
        LINES                 = IT_TEXTS
    EXCEPTIONS
       ID                    = 1
       LANGUAGE              = 2
       NAME                  = 3
       OBJECT                = 4
       OTHERS                = 5
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
            WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.

  • Long text doesn't fit the window exactly

    Hi friends,
    in PO smartforms i have included the header text of PO.
    the problem is the long text doesn't fit to the window exactly i.e.,
    when we enter the text in PO in the header a line can contain only 60 characters approximately where as in my smartforms it can contain more than that.
    so in the display of smart form i get lot of space in the right side and i get the remaining part of text in the next line.
    regards,
    Saravan raj

    hi,
    what u have told is correct but we can't expect the end user to do it each time when they paste the long text.
    is there any option to bring it by default.
    regards,
    saravan raj

Maybe you are looking for

  • Problem with Javascript in WAD Template

    Hello, I have placed zdate_functions.js  in /sap/bw/Mime/Customer/JavaScript/ with the following function... function getDateMMDDYYYY() {var curdate = new Date(); var month = curdate.getMonth(); var day = curdate.getDate();var year = curdate.getFullY

  • I moved my itunes library and now when I open itunes all my music lisitngs are gone

    Help...I wanted the other account on my computer (pc) to be able to listen to my itunes library. I followed the instructions from Apple, (I thought correctly) and when I open itunes on my account all the songs are gone. Its as if I never had an itune

  • How to get compilations to show up as one album in Albums view

    In albums view, the NPR Austin 100 song compilations (1 folder with 100 songs) I imported to itunes show up as 100 different albums with 1 song each, which is a mess and makes finding and viewing my regular 10+ song albums difficult. Also I want to b

  • Calculationg current and past year for a Analysis report in obiee 11.5

    Dear All, Need some help here. I am a beginner in OBIEE and need some help to build a report in obiee 11.5 as described below; I need to create a PnL report such that I show current years profit and loss AND prior year profit and loss figures in a re

  • Dead Google Search Links in Safari

    After making a Google search, I hit the 'back' button, only to find all of the links on the page frozen. This happens ALL the time in my Safari Google searches. Is anybody experiencing a similar issue? For example: 1) I search "Martin Luther King" in