The text editor in release 2

We have portal release 2 running on HP-UX.
In release 2 there is a new text editor for publishing text. Its used for simple text and text item types.
How is this feature implemented? Is the source code available?
Feedback appreciated.

Hi,
It is called Rich Text editing. A search on google with the keywords rich text edit
will give you links to quite a few sites, where the source is available. It uses
a combination of DHTML and JavaScript.
We have portal release 2 running on HP-UX.
In release 2 there is a new text editor for publishing text. Its used for simple text and text item types.
How is this feature implemented? Is the source code available?
Feedback appreciated.

Similar Messages

  • How to clear the text in the Text Editor

    Hi all,
    I created a Text editor and also i am having language field in the screen.
    whenever i change the language auomatically the text has to change when the text exists for that
    language.
    this is working fine, but when the Text exist , the text editor should be blank.
    But it is carrying the Previous editor text itself into it .
    How to clear the text in the Editor.
    Regards,
    Madhavi

    Hello Madhavi
    The simple report ZUS_SDN_TEXTEDIT_CONTROL shows how to switch the texteditor contents when changing the language.
    *& Report  ZUS_SDN_TEXTEDIT_CONTROL
    *& Thread: how to clear the text in the Text Editor
    *& <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="1145272"></a>
    *& By default the itab GT_OUTTAB contains texts in DE and EN.
    *& To switch the language directly enter into the command window:
    *& LANGU=DE, LANGU=EN or LANGU=FR
    REPORT  zus_sdn_textedit_control.
    TYPE-POOLS: abap.
    TYPES: ty_t_text     TYPE TABLE OF as4text
                         WITH DEFAULT KEY.
    TYPES: BEGIN OF ty_s_outtab.
    TYPES: language TYPE spras.
    TYPES: text     TYPE ty_t_text.
    TYPES: END OF ty_s_outtab.
    TYPES: ty_t_outtab    TYPE STANDARD TABLE OF ty_s_outtab
                          WITH DEFAULT KEY.
    DATA: gt_outtab       TYPE ty_t_outtab,
          gs_outtab       TYPE ty_s_outtab.
    DATA: gd_language     TYPE spras.
    DATA: go_docking      TYPE REF TO cl_gui_docking_container,
          go_textedit     TYPE REF TO cl_gui_textedit.
    DATA: gd_okcode       TYPE ui_func,
          gd_repid        TYPE syst-repid.
    START-OF-SELECTION.
      PERFORM fill_texts.
      gd_language = syst-langu.
      PERFORM init_controls.
    * Link the docking container to the target dynpro
      gd_repid  = syst-repid.
      CALL METHOD go_docking->link
        EXPORTING
          repid                       = gd_repid
          dynnr                       = '0100'
    *      CONTAINER                   =
        EXCEPTIONS
          OTHERS                      = 4.
      IF sy-subrc NE 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      PERFORM set_text_editor.
    * NOTE: dynpro does not contain any elements
      "       ok-code => GD_OKCODE
      CALL SCREEN '0100'.
    * Flow logic of dynpro (does not contain any dynpro elements):
    *PROCESS BEFORE OUTPUT.
    *  MODULE STATUS_0100.
    *PROCESS AFTER INPUT.
    *  MODULE USER_COMMAND_0100.
    END-OF-SELECTION.
    *&      Module  STATUS_0100  OUTPUT
    *       text
    MODULE status_0100 OUTPUT.
      SET PF-STATUS 'STATUS_0100'.  " contains push button "DETAIL"
    *  SET TITLEBAR 'xxx'.
    ENDMODULE.                 " STATUS_0100  OUTPUT
    *&      Module  USER_COMMAND_0100  INPUT
    *       text
    MODULE user_command_0100 INPUT.
      TRANSLATE gd_okcode TO UPPER CASE.
      CASE gd_okcode.
        WHEN 'BACK'  OR
             'EXIT'  OR
             'CANC'.
          SET SCREEN 0. LEAVE SCREEN.
        WHEN 'LANGU=DE' OR
             'LANGU=EN' OR
             'LANGU=FR'.
          PERFORM get_text_editor.
          SPLIT gd_okcode AT '=' INTO gd_okcode gd_language.
          PERFORM set_text_editor.
        WHEN OTHERS.
      ENDCASE.
      CLEAR: gd_okcode.
    ENDMODULE.                 " USER_COMMAND_0100  INPUT
    *&      Form  FILL_TEXTS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM fill_texts .
    * define local data
      DATA: ld_string   TYPE string.
      gs_outtab-language = 'EN'. REFRESH: gs_outtab-text.
      ld_string = 'Good morning'.
      APPEND ld_string TO gs_outtab-text.
      APPEND gs_outtab TO gt_outtab.
      gs_outtab-language = 'DE'. REFRESH: gs_outtab-text.
      ld_string = 'Guten Morgen'.
      APPEND ld_string TO gs_outtab-text.
      APPEND gs_outtab TO gt_outtab.
      gs_outtab-language = 'FR'. REFRESH: gs_outtab-text.
      ld_string = space.
      APPEND ld_string TO gs_outtab-text.
      APPEND gs_outtab TO gt_outtab.
    ENDFORM.                    " FILL_TEXTS
    *&      Form  INIT_CONTROLS
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM init_controls .
      CREATE OBJECT go_docking
        EXPORTING
          parent                      = cl_gui_container=>screen0
    *      repid                       =
    *      dynnr                       =
    *      side                        = dock_at_left
    *      extension                   = 50
    *      style                       =
    *      lifetime                    = lifetime_default
    *      caption                     =
    *      metric                      = 0
          ratio                       = 90
    *      no_autodef_progid_dynnr     =
    *      name                        =
        EXCEPTIONS
          cntl_error                  = 1
          cntl_system_error           = 2
          create_error                = 3
          lifetime_error              = 4
          lifetime_dynpro_dynpro_link = 5
          OTHERS                      = 6.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
      CREATE OBJECT go_textedit
        EXPORTING
    *      max_number_chars       =
    *      style                  = 0
    *      wordwrap_mode          = wordwrap_at_windowborder
    *      wordwrap_position      = -1
    *      wordwrap_to_linebreak_mode = false
    *      filedrop_mode          = dropfile_event_off
          parent                 = go_docking
    *      lifetime               =
    *      name                   =
        EXCEPTIONS
          error_cntl_create      = 1
          error_cntl_init        = 2
          error_cntl_link        = 3
          error_dp_create        = 4
          gui_type_not_supported = 5
          OTHERS                 = 6.
      IF sy-subrc <> 0.
    *   MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
    *              WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
      ENDIF.
    ENDFORM.                    " INIT_CONTROLS
    *&      Form  SET_TEXT_EDITOR
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM set_text_editor .
      BREAK-POINT.
      CLEAR: gs_outtab.
      READ TABLE gt_outtab INTO gs_outtab
           WITH KEY language = gd_language.
      CALL METHOD go_textedit->set_text_as_stream
        EXPORTING
          text            = gs_outtab-text
        EXCEPTIONS
          error_dp        = 1
          error_dp_create = 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.
    ENDFORM.                    " SET_TEXT_EDITOR
    *&      Form  GET_TEXT_EDITOR
    *       text
    *  -->  p1        text
    *  <--  p2        text
    FORM get_text_editor .
      CLEAR: gs_outtab.
      CALL METHOD go_textedit->get_text_as_stream
        EXPORTING
          only_when_modified     = cl_gui_textedit=>true
        IMPORTING
          text                   = gs_outtab-text
    *      is_modified            =
        EXCEPTIONS
          error_dp               = 1
          error_cntl_call_method = 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.
      MODIFY gt_outtab FROM gs_outtab
        TRANSPORTING text
        WHERE ( language = gd_language ).
    ENDFORM.                    " GET_TEXT_EDITOR
    Regards
      Uwe

  • Table fields for the text editors

    Hi,
    How to find the table fields of the text editors in the functional screens like MM03 --> MRP4 View --> Material Memo. Or how to upload text in the editors using ABAP program.
    Thanks,
    K R Vishnu Kumar

    Hi,
    Any long text will consists of the TEXT_NAME, TEXT_ID, TEXT_OBJECT and the LANGUAGE.
    To find out these details you basically have to open the text in the text editor by double clicking on it.
    And then go to the Header details in the Menu.
    Here you will find all the relevant information.
    You pass these details to FM SAVE_TEXT to save this text to database and you make use of FM READ_TEXT to read these texts.
    The texts are basically stored in STXH and STXL tables.
    Regards,
    Ankur Parab

  • What is the text editor that comes with a Mac?

    What is the text editor that comes with a Mac? My daughter purchased a new MacBook Pro. She wants to move her iTunes from the old Windows XP system to OSX. One of the ways I have found to do this is to move theXML Library from XP toi OSX and edit it. The XP version has the drive letter paths and that is different in OSX. If I knew what editor was available, then I could do a mass change of the old path to the new one. Any editor suggestions?

    Hi motero,
    TextEdit is essentially a word processor. You can find detailed information about it [here|http://support.apple.com/kb/HT2523].
    Moving an iTunes library from one computer (PC or Mac) to another is very easy and can be done in a number of different ways. You should read the articles [here|http://www.apple.com/support/itunes> and decide which method is best for you.
    Thanks,
    Acros-Krik

  • Any description on how to use the Text Editor used for this Forum?

    I am very frustrated when trying to use the text Editing functions (without use of HTML, that I do not undertstand) that can be used to create Posts in this Forum .
    Can somebody point me to a good description of the Text Editor used to enter/edit Posts in this Forum? Thanks a lot in advance.

    Ian,
    Thank You very much for your answer.
    Based on your answer, I guess and fear, that there exist no "user guide" for this Text Editor.
    I will wait a little bit more to see whether I get more information/answers. If not, i will probably write a "Feature Request" to request that Adobe provides us or point us to a reasonable User-Guide for this Text Editor.

  • Is it possible to call the TEXT EDITOR in a program?

    Hi,
    I want a function module which will popup a text editor where the user can write some text and then i can use this text for further processing.
    do we have any such function modules or text editor which i can call from the program to take long text inputs from the user?
    thanks in advance

    You can use the Class CL_GUI_TEXTEDIT
    REPORT YTEST.
    *module create_container_pbo_2000 output.
    DATA:
      obj_cust_cont_credential  TYPE REF TO cl_gui_custom_container,
    *  obj_cust_cont_character   TYPE REF TO cl_gui_custom_container,
    *  obj_cust_cont_preempmnt   TYPE REF TO cl_gui_custom_container,
      obj_text_cred        TYPE REF TO cl_gui_textedit,
    *  obj_text_char        TYPE REF TO cl_gui_textedit,
    *  obj_text_pemp        TYPE REF TO cl_gui_textedit,
    * Internal table to hold text for container reason1
      BEGIN OF i_table_text OCCURS 0,
        line(132) TYPE c,                  " Line text
      END OF i_table_text,
    * Internal table to hold text for container reason2
      BEGIN OF i_table_text1 OCCURS 0,
        line(132) TYPE c,                  " Line text
      END OF i_table_text1,
    * Internal table to hold text for container looking for another job
      beGIN OF i_table_text2 OCCURS 0,
        line(132) TYPE c,                  " Line text
      END OF i_table_text2.
    * Subroutine to create text container for remarks on credentials
      PERFORM get_container_credential.
    * Subroutine to create text container for remarks on character
    *  PERFORM get_container_character.
    * Subroutine to create text container for remarks on preemployeement
    *  PERFORM get_container_preempmnt.
    call screen 100.
    *endmodule.                 " create_container_pbo_2000  OUTPUT
    form get_container_credential .
      IF obj_cust_cont_credential IS INITIAL.
    * To create the object custom container and link to the container on
    * screen
        CREATE OBJECT obj_cust_cont_credential
            EXPORTING
                container_name = 'CCREDENTIALS'
            EXCEPTIONS
                cntl_error = 1
                cntl_system_error = 2
                create_error = 3
                lifetime_error = 4
                lifetime_dynpro_dynpro_link = 5.
    *  To create the a TextEdit Control and link to the custom container
        CREATE OBJECT obj_text_CRED
          EXPORTING
             parent = obj_cust_cont_credential
             wordwrap_mode = cl_gui_textedit=>WORDWRAP_AT_WINDOWBORDER
             wordwrap_to_linebreak_mode = cl_gui_textedit=>true
          EXCEPTIONS
              others = 1.
        IF sy-subrc EQ 0.
    * To remove the toolbar
          CALL METHOD obj_text_CRED->set_toolbar_mode
            EXPORTING
              toolbar_mode           = 0
            EXCEPTIONS
              error_cntl_call_method = 1
              invalid_parameter      = 2
              OTHERS                 = 3.
    * To remove the status bar
          CALL METHOD obj_text_CRED->set_statusbar_mode
            EXPORTING
              statusbar_mode         = 0
            EXCEPTIONS
              error_cntl_call_method = 1
              invalid_parameter      = 2
              OTHERS                 = 3
        ENDIF.                             " IF sy-subrc EQ 0
      ENDIF.                               " IF obj_cust_cont_credential
    endform.                               " get_container_credential
    module STATUS_0100 output.
      SET PF-STATUS 'ZYH454_TEST1'.
      SET TITLEBAR 'xxx'.
    endmodule.                 " STATUS_0100  OUTPUT
    module USER_COMMAND_0100 input.
    if sy-ucomm EQ 'BACK'.
      leave to screen 0.
    endif.
    endmodule.                 " USER_COMMAND_0100  INPUT

  • Can't find the text editor menu in dreamweaver

    I am a returning dreamweaver user. It has been 8 years since I used it.
    I am writing some text on a website and want to edit the way it looks. Where is the text editing menu where I can change fonts and font colors, sizes, etc? It used to be at the bottom. All I see currently is the "properties" tab.

    evabraun wrote:
    Can't remember the dino version I used to use. I am using the newest version of Dreamweaver. CS6?
    Cloud: CC (subscription only)
    Non-Cloud: CS6 (discontinued version but still available for sale)
    Does anyone know a place to go where I can see a wysiwyg css code creator?
    Well Dreamweaver still sort of qualifies for that.

  • Hello. I recently installed a new SSD on my macbook pro (mid2009 running mavericks). Now after booting up the text editor automatically pops up on the desktop with the header quopri_codec.py What is this and should i be concerned about it?

    here's the script in full:
    """Codec for quoted-printable encoding.
    Like base64 and rot13, this returns Python strings, not Unicode.
    import codecs, quopri
    try:
        from cStringIO import StringIO
    except ImportError:
        from StringIO import StringIO
    def quopri_encode(input, errors='strict'):
        """Encode the input, returning a tuple (output object, length consumed).
        errors defines the error handling to apply. It defaults to
        'strict' handling which is the only currently supported
        error handling for this codec.
        assert errors == 'strict'
        f = StringIO(input)
        g = StringIO()
        quopri.encode(f, g, 1)
        output = g.getvalue()
        return (output, len(input))
    def quopri_decode(input, errors='strict'):
        """Decode the input, returning a tuple (output object, length consumed).
        errors defines the error handling to apply. It defaults to
        'strict' handling which is the only currently supported
        error handling for this codec.
        assert errors == 'strict'
        f = StringIO(input)
        g = StringIO()
        quopri.decode(f, g)
        output = g.getvalue()
        return (output, len(input))
    class Codec(codecs.Codec):
        def encode(self, input,errors='strict'):
            return quopri_encode(input,errors)
        def decode(self, input,errors='strict'):
            return quopri_decode(input,errors)
    class IncrementalEncoder(codecs.IncrementalEncoder):
        def encode(self, input, final=False):
            return quopri_encode(input, self.errors)[0]
    class IncrementalDecoder(codecs.IncrementalDecoder):
        def decode(self, input, final=False):
            return quopri_decode(input, self.errors)[0]
    class StreamWriter(Codec, codecs.StreamWriter):
        pass
    class StreamReader(Codec,codecs.StreamReader):
        pass
    # encodings module API
    def getregentry():
        return codecs.CodecInfo(
            name='quopri',
            encode=quopri_encode,
            decode=quopri_decode,
            incrementalencoder=IncrementalEncoder,
            incrementaldecoder=IncrementalDecoder,
            streamwriter=StreamWriter,
            streamreader=StreamReader,

    Thanks for the info. I'm not really sure how or why this python script is running when my macbook starts up. Any ideas how i can locate the script and stop it from running?

  • How to get information from a text editor in the SAP standard transactions

    Hi SAP gurus I have a requirement in which it is required to gte the information from a text editor(which is not a field) in mm02 (click on) goto Purchase Order Text  in this view there is a text editor there is some text  in te the text editor i have to get that information in a table can it be done if so please give example and steps
    Points will be given to useful information

    Ah yes, excellent question, and not really a clear cut answer. In my experience, the easiest way to find this information is to simply create the text using the standard transaction, in this case MM02.  Then go to transaction SE16, using table STXH, do a query on this table, entering your user name, and today's date as the creation date.  The results should show the text that you just created, now you can see the object, id, and the way the name is being used here. 
    I also understand that in some cases, there is a button next to the editor in the screen which gives you some idea of these values, but this is not implemented everywhere, and I believe that I've only seen this in one place, can't remember where, but the first solution above will always work for you.
    Regards,
    Rich Heilman

  • Get the long text into BADI from text editor

    hi all,
    I implemented BADI ME_PROCESS_PO_CUST, before saving the purchase order i am calling the text editor where i am writng
    the long text . but when save the text from the text editor the long text in the editor is not updating to the BADI.
    Can anybody help how can i get the long text to the BADI.
    Regards,
    Madhavi

    Hi
    Have you tried with interface 'IF_PURCHASE_ORDER_MM' with these methods in the BADI?
    IF_LONGTEXTS_MM~GET_TEXTOBJECT
    IF_LONGTEXTS_MM~GET_TYPES
    IF_LONGTEXTS_MM~GET_TEXT
    IF_LONGTEXTS_MM~SET_TEXT
    IF_LONGTEXTS_MM~ADOPT_TEXT
    IF_LONGTEXTS_MM~DELETE_TEXT
    IF_LONGTEXTS_MM~EDIT_TEXT
    Regards
    Eduardo

  • Get the long text from Text Editor

    Hi,
    I am using text editor to enter the long text, after entering the text in the text editor
    when press the save button i am getting the long text into the internal table . this is working fine till here.
    But when press SAVE button , i want the text into the internal table  and  the text editor to be closed.
    but here i am not able to get the data into internal  table as it is again creating text editor .
    Can anyboby help me .

    Hi,
    Refresh the table.

  • Problem in reading the modified text from text editor

    Hi all,
    Im using text editor for saving the long text entered in the text editor as standard text in So10 tcode.
    Here im facing an issue in reading the text from text editor. That is, when the text is entered by the user for first time, then the below method reads the text successfully.   But when i do some changes in the existing text present in the text editor and try to read, then the modified text is not returned by the below method.
    I use the "CALL METHOD g_editor_ftext1->get_text_as_stream" to read the text. Given below is my code.
    CALL METHOD g_editor_ftext1->get_text_as_stream  
       IMPORTING
          text                   = ig_text_table
          is_modified            = g_xthead_updkz
        EXCEPTIONS
          error_dp               = 1
          error_cntl_call_method = 2
          OTHERS                 = 3.
    The return value of "is_modified" is always returned as 0.
    Could anyone pls help how to read the modified text using the above method?

    Check if this works and if it works then there should be some mistake in your coding
    REPORT abc.
    PARAMETERS:pa1 TYPE bwart.
    DATA: container TYPE REF TO cl_gui_docking_container,
          editor    TYPE REF TO cl_gui_textedit,
          report    TYPE syrepid,
          mod TYPE i,
          modon TYPE i.
    DATA:tlines    TYPE TABLE OF tdline,
         wa_tlines TYPE tdline.
    AT SELECTION-SCREEN OUTPUT.
      report = sy-repid.
      IF container IS INITIAL.
        CREATE OBJECT container
                     EXPORTING repid     = report
                               dynnr     = sy-dynnr
                               side      = container->dock_at_left
                               extension = 1070.
        CREATE OBJECT editor
                    EXPORTING
                         parent     = container.
      ENDIF.
      wa_tlines = 'This is test before a change'.
      APPEND wa_tlines TO tlines.
      CALL METHOD editor->set_text_as_r3table
         EXPORTING
               table              =  tlines
         EXCEPTIONS
               OTHERS             = 1.
      CALL METHOD editor->go_to_line( 1 ).
    START-OF-SELECTION.
      CLEAR tlines[].
      CALL METHOD editor->get_text_as_stream
                EXPORTING
                only_when_modified = '1'
                IMPORTING
                text = tlines
                is_modified = modon
                EXCEPTIONS
                error_dp = 1
                  error_cntl_call_method = 2
                  OTHERS = 3.
      IF modon = 1.
        WRITE 'Changed'.
      ELSE.
        WRITE 'Not changed'.
      ENDIF.
      WRITE modon.

  • IW22 notification - to save the text from text editor to database

    Hi,
    In Iw21/22/23 notification screens are configured to custom screens.. and these screens are having text editors.... when i write some text in editor and try to save the notification.. the text should get saved so that i can see it nxt when i display the notification....
    Please suggest any ideas...
    I thought of saving in table in PAI... but it doesnt come to the event.....  and if i try to use an enhancement while saving.... that enhancement should consider the data with respect to tabs... and save differently
    please suggest..
    Edited by: Poonam 24 on Oct 9, 2011 7:55 AM

    First you need to retrieve the contents from the text editor (jn PBO) e.g.
    * Retrieve text currently inside the textedit control
      data:
        lt_text             type tdline occurs 10.
          call method go_d9999_textedit->get_text_as_r3table
            importing
              table                  = lt_text
            exceptions
              error_dp               = 1
              error_cntl_call_method = 2
              error_dp_create        = 3
              potential_data_loss    = 4
              others                 = 5.
    and then persist the "lt_text" contents, e.g. you could use functions from the STXD group (e.g. SAVE_TEXT) or your own table that would need to have something like
    MANDT    "key - client
    LINK_KEY "key - whatever you are are linking this text to
    SEQ      "key - one row of text
    TEXTLINE
    (the first three columns would be the primary key per row of text).
    Jonathan

  • Saving the text in text editor changes text line format

    In my program I have an output witha  text editor box where
    we type in text and save , and if we want to print it it prints it out
    on a smartform. When I type in a text on the text editor box for example :
    "This will include a policy and best practice for
    what files can be stored on the server and where
    they should reside. The policy will include
    required ownership of each folder and required
    authorizations for access to folders. Also
    included in the policy will be a section describing
    best practices on the file and folder naming
    conventions. Anew file struicture of the drive that
    better aligns with the business. An drive with only
    four folders at the root level also will be de"
    After I type in this text in teh text editor and try saving it
    , it save sthe text but shows up with lots of gaps like below.
    "This will include a policy and best practice for
    what files can be stored on the server and
    where
    they should reside. The policy will include
    required ownership of each folder and
    required
    authorizations for access to folders. Also
    included in the policy will be a section
    describing
    best practices on the file and folder naming
    conventions. Anew file struicture of the drive
    that
    better aligns with the business. An drive with
    only
    four folders at the root level also will be de"
    I am not preety sure why on saving teh typed text it chnages to this format.
    I would like to have my program save it as is typed. Is this possible to do so
    and how?
    Thanks.

    Hi Aarav,
    Check the internal table used to store the text is having line length 100. Change that to 200 or more . You can see the difference . If still the problem persists, enter each line in the text editor and conclude each line with a carriage return( ENTER ) 
    key press.
    Hope this will help you.
    Regards,
    Smart Varghese

  • Clear the Text  in text editors

    Hi all,
    I had an requirement like 5 subscreens in a main screen.
    There i am maintaining text editors into 5  screens.
    where i am creating the  one editor and using the same for all  the 5 screens.
    But the problem is when i am changing the tabs for subscreens the text in the Text editor
    is visible from the previous screen because i am not clearing the text editor.
    I dont know how to handle this scenario.
    will anybody let mek now how to handle to clear the text editors.
    Regards,
    Madhavi

    Hi,
      when you are calling new subscreen (choosing different tabstrip), the PBO is executed. So just clear the content in the PBO. It is just enough to remember the OK_code(from PAI of previous tabstrip/subscreen) performed when you click on different tabstrip and check then in PBO this saved ok_code.
    If you don't know how to obtain ok_code value when you click on different tabstrip, just execute code "/h" in the input parameter where you put down tcodes before you click on the tabstrip. Tcode "/h" turn on debugging mode. Then you can get the value of ok_code in the debugger.
    Regards,
      Karol
    Edited by: Karol Seman on Nov 22, 2008 1:50 PM

Maybe you are looking for