<?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: Long text in module pool. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text-in-module-pool/m-p/6182490#M1373472</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Instead of capturing the 250 lines of comment using custom control or label, you can directly store the long text in STXH table. To create a long text CREATE_TEXT can be used, where as to edit an existing text EDIT_TEXT and to display READ_TEXT can be used. These FMs can be called from the module pool on a button click. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Each longtext can be identified by a unique name passed to TDNAME. It'll call the SAP Scripts Text Editor automatically and no text formatting also needs to be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please let me know for furher details and the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 29 Sep 2009 12:29:19 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-09-29T12:29:19Z</dc:date>
    <item>
      <title>Long text in module pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text-in-module-pool/m-p/6182489#M1373471</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; I am working on one module pool program&lt;/P&gt;&lt;P&gt;.in that i have one text field need to enter some comments of length 250.&lt;/P&gt;&lt;P&gt;I want to enter more than one line in that text field,instead of entering it in a single field.Anybody please help how to do that.Is there any other option other than custom control?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;Ambili&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2009 07:27:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text-in-module-pool/m-p/6182489#M1373471</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-29T07:27:32Z</dc:date>
    </item>
    <item>
      <title>Re: Long text in module pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text-in-module-pool/m-p/6182490#M1373472</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;     Instead of capturing the 250 lines of comment using custom control or label, you can directly store the long text in STXH table. To create a long text CREATE_TEXT can be used, where as to edit an existing text EDIT_TEXT and to display READ_TEXT can be used. These FMs can be called from the module pool on a button click. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   Each longtext can be identified by a unique name passed to TDNAME. It'll call the SAP Scripts Text Editor automatically and no text formatting also needs to be done.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  Please let me know for furher details and the code.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2009 12:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text-in-module-pool/m-p/6182490#M1373472</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-29T12:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: Long text in module pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text-in-module-pool/m-p/6182491#M1373473</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Refer this snippet:&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
DATA: it_str TYPE TABLE OF char72.

CALL SCREEN 100.

MODULE pbo_0100 OUTPUT.
  SET PF-STATUS space.

  CALL FUNCTION 'RH_EDITOR_SET'
    EXPORTING
      repid          = sy-repid
      dynnr          = '0100'
      controlname    = 'CONTAINER'
      max_cols       = 72
      max_lines      = 20
    TABLES
      lines          = it_str.
ENDMODULE.              

MODULE pai_0100 INPUT.
  IF sy-ucomm = 'BACK' OR
     sy-ucomm = '%EX'  OR
     sy-ucomm = 'RW'.
    LEAVE TO SCREEN 0.
  ENDIF.

  CALL FUNCTION 'RH_EDITOR_GET'
    EXPORTING
      controlname    = 'CONTAINER'
      col_width      = 72
    TABLES
      lines          = it_str.

ENDMODULE.                   
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Marcin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2009 12:33:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text-in-module-pool/m-p/6182491#M1373473</guid>
      <dc:creator>MarcinPciak</dc:creator>
      <dc:date>2009-09-29T12:33:07Z</dc:date>
    </item>
    <item>
      <title>Re: Long text in module pool.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text-in-module-pool/m-p/6182492#M1373474</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ambili Balakrishnan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use class CL_GUI_TEXTEDIT for your purpose..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Define custome container and call the object of the above class...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For more information search on SCN with subject as above class...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Hope it will solve your problem..&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;P&gt;ilesh 24x7&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ilesh Nandaniya&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 29 Sep 2009 12:44:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text-in-module-pool/m-p/6182492#M1373474</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-09-29T12:44:36Z</dc:date>
    </item>
  </channel>
</rss>

