<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Multi-line edit component in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/multi-line-edit-component/m-p/3759184#M904422</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can try with a table control in a subscreen..&lt;/P&gt;&lt;P&gt;use the wizard in dynpro editor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 14:35:31 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-06T14:35:31Z</dc:date>
    <item>
      <title>Multi-line edit component</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multi-line-edit-component/m-p/3759183#M904421</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a requirement to create a transaction that has an area that I can enter multiple lines of text, similar to note entry on materials and vendors.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Does anyone know of a class or code that will allow me to do this.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Darren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 14:25:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multi-line-edit-component/m-p/3759183#M904421</guid>
      <dc:creator>darren_bambrick2</dc:creator>
      <dc:date>2008-05-06T14:25:32Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-line edit component</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multi-line-edit-component/m-p/3759184#M904422</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;U can try with a table control in a subscreen..&lt;/P&gt;&lt;P&gt;use the wizard in dynpro editor&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 14:35:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multi-line-edit-component/m-p/3759184#M904422</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T14:35:31Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-line edit component</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multi-line-edit-component/m-p/3759185#M904423</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;in the Global Data area&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CONSTANTS: line_length   TYPE i VALUE 100.
TYPES: BEGIN OF scr_text_line,
         line(line_length) TYPE c,
       END OF scr_text_line.

DATA:
      wa_pi_text  TYPE scr_text_line,
      it_pi_text  LIKE STANDARD TABLE OF wa_pi_text,

      g_editor4 TYPE REF TO cl_gui_textedit,
      g_custom_container4 TYPE REF TO cl_gui_custom_container,
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;in the PBO&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  PERFORM initialize_text_editor_0101.
  PERFORM set_text_in_editor_0101.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  initialize_text_editor_0101
*&amp;amp;---------------------------------------------------------------------*
FORM initialize_text_editor_0101.
  IF g_editor4 IS INITIAL.
    repid = sy-repid.
    CREATE OBJECT g_custom_container4
       EXPORTING
          container_name = '0101_SCR_CONTAINER'   "&amp;lt;== Custom Container on Screen
       EXCEPTIONS
          cntl_error = 1
          cntl_system_error = 2
          create_error = 3
          lifetime_error = 4
          lifetime_dynpro_dynpro_link = 5.

    CREATE OBJECT g_editor4
       EXPORTING
          parent = g_custom_container4
          wordwrap_mode = cl_gui_textedit=&amp;gt;wordwrap_at_fixed_position
          wordwrap_position = line_length
          wordwrap_to_linebreak_mode = cl_gui_textedit=&amp;gt;true.
    CALL METHOD g_editor4-&amp;gt;set_statusbar_mode
      EXPORTING
        statusbar_mode = 0.
    CALL METHOD g_editor4-&amp;gt;set_toolbar_mode
      EXPORTING
        toolbar_mode = 0.

  ENDIF.                "editor is initial
ENDFORM.                    " initialize_text_editor_0101
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Form  set_text_in_editor_0101
*&amp;amp;---------------------------------------------------------------------*
FORM set_text_in_editor_0101.
  CALL METHOD g_editor4-&amp;gt;set_text_as_r3table
    EXPORTING table = it_pi_text
       EXCEPTIONS
           OTHERS = 1.

  IF sy-subrc NE 0.
    MESSAGE i015 WITH
     repid 'Error in set_text_as_r3table'.
  ENDIF.
  CALL METHOD cl_gui_cfw=&amp;gt;flush.
  IF sy-subrc NE 0.
    MESSAGE i015 WITH
     repid 'set_text_as_r3table: Error in FLUSH'.
  ENDIF.
ENDFORM.                    " set_text_in_editor_0101
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the PAI Routine&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  MODULE text_editor_retrieve_0101.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;that module&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
*&amp;amp;---------------------------------------------------------------------*
*&amp;amp;      Module  text_editor_retrieve_0101  INPUT
*&amp;amp;---------------------------------------------------------------------*
MODULE text_editor_retrieve_0101 INPUT.
  PERFORM text_editor_retrieve_0101.
ENDMODULE.                 " text_editor_retrieve_0101  INPUT
*---------------------------------------------------------------------*
*       FORM text_editor_retrieve_0101                                *
*---------------------------------------------------------------------*
FORM text_editor_retrieve_0101.
  CHECK NOT g_editor4 IS INITIAL.
  CALL METHOD g_editor4-&amp;gt;get_text_as_r3table
    IMPORTING table = it_pi_text
       EXCEPTIONS
           OTHERS = 1.

  IF sy-subrc NE 0.
    MESSAGE i015 WITH
     repid 'Error in get_text_as_r3table'.
  ENDIF.

  CALL METHOD cl_gui_cfw=&amp;gt;flush.
  IF sy-subrc NE 0.
    MESSAGE i015 WITH
     repid 'get_text_as_r3table: Error in FLUSH'.
  ENDIF.
ENDFORM.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 14:40:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multi-line-edit-component/m-p/3759185#M904423</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T14:40:02Z</dc:date>
    </item>
    <item>
      <title>Re: Multi-line edit component</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/multi-line-edit-component/m-p/3759186#M904424</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for the respones,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Pauls suggestion works perfectly for what I need, do I am awarding the points to him&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 May 2008 16:04:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/multi-line-edit-component/m-p/3759186#M904424</guid>
      <dc:creator>darren_bambrick2</dc:creator>
      <dc:date>2008-05-07T16:04:31Z</dc:date>
    </item>
  </channel>
</rss>

