<?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 Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273501#M150905</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to use &amp;lt;b&amp;gt;SAVE_TEXT&amp;lt;/b&amp;gt; to save the long text. for help read the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Mar 2006 17:25:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-03-28T17:25:06Z</dc:date>
    <item>
      <title>LONG TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273495#M150899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need create a table with a field which data element is LRAW (or similar) like the long text that you can add to an invoice o a sales order (header or position). Then I have to maintain that table and I don't know how to do that. &lt;/P&gt;&lt;P&gt;I think to create a program copy of BCALV_EDIT_04 (this ALV let you to add, delete or modify records in the table) and modify the program in order to when you press two clicks in the line a new screen will be showed and develop that screen to modify the text but I don't know any class to maintain the long texts. Does anybody know which class I can use?&lt;/P&gt;&lt;P&gt;Do anybody has any other idea to get what I want?&lt;/P&gt;&lt;P&gt;Can anybode help and show can I work with long texts? I didn't find documentation about that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much in advance,&lt;/P&gt;&lt;P&gt;Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 14:20:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273495#M150899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T14:20:43Z</dc:date>
    </item>
    <item>
      <title>Re: LONG TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273496#M150900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;CL_GUI_TEXTEDIT class.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;demo program&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BC_CONTROLS_TUTORIAL&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 14:29:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273496#M150900</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-03-28T14:29:26Z</dc:date>
    </item>
    <item>
      <title>Re: LONG TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273497#M150901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you want to maintain long text then you can use this class &amp;lt;b&amp;gt;cl_gui_textedit&amp;lt;/b&amp;gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 14:32:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273497#M150901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T14:32:53Z</dc:date>
    </item>
    <item>
      <title>Re: LONG TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273498#M150902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks both for you promt answer.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Special thanks to Raja for demo program.&lt;/P&gt;&lt;P&gt;Do you know where I can get the controls tutorial?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 15:01:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273498#M150902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T15:01:44Z</dc:date>
    </item>
    <item>
      <title>Re: LONG TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273499#M150903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manuel,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you can find the tutorial from SAP help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/e4/6013361d5af835e10000009b38f839/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/e4/6013361d5af835e10000009b38f839/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 15:17:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273499#M150903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T15:17:03Z</dc:date>
    </item>
    <item>
      <title>Re: LONG TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273500#M150904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi again,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;One more question, I have been looking but I didn't find any method to save the text in my table. &lt;/P&gt;&lt;P&gt;Can you help me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;Manuel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 17:18:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273500#M150904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T17:18:16Z</dc:date>
    </item>
    <item>
      <title>Re: LONG TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273501#M150905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you need to use &amp;lt;b&amp;gt;SAVE_TEXT&amp;lt;/b&amp;gt; to save the long text. for help read the documentation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Mar 2006 17:25:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273501#M150905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-28T17:25:06Z</dc:date>
    </item>
    <item>
      <title>Re: LONG TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273502#M150906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;check this demo program on how to get the text entered in the text edit and you can then use the text to save it in your table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAPTEXTEDIT_DEMO_3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward points to the helpful answers&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2006 07:51:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273502#M150906</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2006-03-29T07:51:36Z</dc:date>
    </item>
    <item>
      <title>Re: LONG TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273503#M150907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Manuel,&lt;/P&gt;&lt;P&gt;i too have the similar kind of requirement.&lt;/P&gt;&lt;P&gt;Please find the code below this will help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Declaration part of the class&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&gt;&lt;P&gt;  &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    Reference to wrapper class of control based on OO Framework&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        LCL_editor_2001 TYPE      REF TO cl_gui_textedit,&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    reference to custom container: necessary to bind TextEdit Control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        LCL_editor_container_2001 TYPE REF TO cl_gui_custom_container,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="--------------------------------------------------------" /&gt;&lt;P&gt;destroy_controls_2001 .&lt;/P&gt;&lt;P&gt;  IF NOT lcl_editor_2001 IS INITIAL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD lcl_editor_2001-&amp;gt;free&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        OTHERS = 1.&lt;/P&gt;&lt;P&gt;    IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;destroy container&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    CALL METHOD lcl_editor_container_2001-&amp;gt;free&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        OTHERS = 1.&lt;/P&gt;&lt;P&gt;    IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        MESSAGE E002 WITH F_RETURN.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;finally flush&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    CALL METHOD cl_gui_cfw=&amp;gt;flush&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;        OTHERS = 1.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;" destroy_controls_2001&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  create control container&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CREATE OBJECT  LCL_EDITOR_CONTAINER_2001&lt;/P&gt;&lt;P&gt;      EXPORTING&lt;/P&gt;&lt;P&gt;          container_name = 'TEXTEDITOR_2001'&lt;/P&gt;&lt;P&gt;      EXCEPTIONS&lt;/P&gt;&lt;P&gt;          cntl_error = 1&lt;/P&gt;&lt;P&gt;          cntl_system_error = 2&lt;/P&gt;&lt;P&gt;          create_error = 3&lt;/P&gt;&lt;P&gt;          lifetime_error = 4&lt;/P&gt;&lt;P&gt;          lifetime_dynpro_dynpro_link = 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  IF sy-subrc NE 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;     add your handling&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  create calls constructor, which initializes, creats and links&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;   a TextEdit Control&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  CREATE OBJECT lcl_editor_2001&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;       parent                     = lcl_editor_container_2001&lt;/P&gt;&lt;P&gt;       wordwrap_mode              = cl_gui_textedit=&amp;gt;wordwrap_at_fixed_position&lt;/P&gt;&lt;P&gt;       wordwrap_to_linebreak_mode = cl_gui_textedit=&amp;gt;true&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;        others = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;to read the long text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      CLIENT                  = SY-MANDT&lt;/P&gt;&lt;P&gt;      ID                      = 'K16'&lt;/P&gt;&lt;P&gt;      LANGUAGE                = sy-langu&lt;/P&gt;&lt;P&gt;      NAME                    = P_LCL_TEXT_KEY&lt;/P&gt;&lt;P&gt;      OBJECT                  = 'EKKO'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      LINES                   = lcl_tbl_lines&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      ID                      = 1&lt;/P&gt;&lt;P&gt;      LANGUAGE                = 2&lt;/P&gt;&lt;P&gt;      NAME                    = 3&lt;/P&gt;&lt;P&gt;      NOT_FOUND               = 4&lt;/P&gt;&lt;P&gt;      OBJECT                  = 5&lt;/P&gt;&lt;P&gt;      REFERENCE_CHECK         = 6&lt;/P&gt;&lt;P&gt;      WRONG_ACCESS_TO_ARCHIVE = 7&lt;/P&gt;&lt;P&gt;      OTHERS                  = 8.&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC eq 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    loop at lcl_tbl_lines.&lt;/P&gt;&lt;P&gt;      append lcl_tbl_lines-tdline to P_TEXT_TABLE.&lt;/P&gt;&lt;P&gt;    endloop.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAVE_TEXT&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="---------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'SAVE_TEXT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      CLIENT                = SY-MANDT&lt;/P&gt;&lt;P&gt;      HEADER                = lcl_thead&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    INSERT                = ''&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      SAVEMODE_DIRECT       = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    OWNER_SPECIFIED       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    LOCAL_CAT             = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    FUNCTION              =&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    NEWHEADER             =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      LINES                 = tbl_tlines&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      ID                    = 1&lt;/P&gt;&lt;P&gt;      LANGUAGE              = 2&lt;/P&gt;&lt;P&gt;      NAME                  = 3&lt;/P&gt;&lt;P&gt;      OBJECT                = 4&lt;/P&gt;&lt;P&gt;      OTHERS                = 5&lt;/P&gt;&lt;P&gt;            .&lt;/P&gt;&lt;P&gt;  IF SY-SUBRC &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;    WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;I think this will solve your requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Anil Kumar K&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: K.Anil Kumar&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Mar 2006 10:47:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/long-text/m-p/1273503#M150907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-03-29T10:47:41Z</dc:date>
    </item>
  </channel>
</rss>

