<?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: Storing long text data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511129#M1066894</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradipta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Read, Save, Delete text FMs in conjunction with these FMs:&lt;/P&gt;&lt;P&gt; - CONVERT_STREAM_TO_ITF_TEXT, to save text&lt;/P&gt;&lt;P&gt; - CONVERT_ITF_TO_STREAM_TEXT, to read and display text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will be using a container object cl_gui_textedit, this is the text box that will display your data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to display your data, you create your object. Call READ_TEXT to get the data into an internal table and then call CONVERT_ITF_TO_STREAM_TEXT which  creates another internal table which you pass to display on your screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After editing data from the screen, you call CONVERT_ITF_TO_STREAM_TEXT and then call SAVE_TEXT to save your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Oct 2008 21:13:06 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-10-02T21:13:06Z</dc:date>
    <item>
      <title>Storing long text data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511122#M1066887</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 small requirement. I need to store long text data (maybe 5000 characters) in the SAP. And also I need to retrieve the data whenever I need it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me how can I achieve the same technically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Just for your information, I have designed a z-table with the following fields - &lt;/P&gt;&lt;P&gt;1. MANDT&lt;/P&gt;&lt;P&gt;2. KEY FIELD&lt;/P&gt;&lt;P&gt;3. A field whose data type is SMO_LNGTXT (Attachment Pointer  - long text data)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But I do not know how to make use of attachment pointer in order to store and retrieve long text data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please guide me how to achieve this, either by following the approach I have taken up or any new approach which u suggest.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Pradipta Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 08:33:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511122#M1066887</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T08:33:03Z</dc:date>
    </item>
    <item>
      <title>Re: Storing long text data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511123#M1066888</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;use fm &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ_TEXT&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;&lt;/P&gt;&lt;P&gt;EDIT_TEXT to edit long Text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Alpesh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 08:36:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511123#M1066888</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T08:36:18Z</dc:date>
    </item>
    <item>
      <title>Re: Storing long text data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511124#M1066889</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can create a standard text for each key field using FM 'SAVE_TEXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aparna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 08:37:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511124#M1066889</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T08:37:40Z</dc:date>
    </item>
    <item>
      <title>Re: Storing long text data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511125#M1066890</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But how do i do the same using these two FMs. I also need a reference to the data which I shall be storing, so that I can retrieve the sam in the future.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 08:39:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511125#M1066890</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T08:39:59Z</dc:date>
    </item>
    <item>
      <title>Re: Storing long text data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511126#M1066891</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use &lt;/P&gt;&lt;P&gt;TDOBJECT = 'TEXT'&lt;/P&gt;&lt;P&gt;TDNAME = ur key field&lt;/P&gt;&lt;P&gt;TDID = 'ST'&lt;/P&gt;&lt;P&gt;TDSPRAS = sy-langu&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Create standard text using FM 'SAVE_TEXT' which will create standard text. Enter long text in 'lines' of this FM.&lt;/P&gt;&lt;P&gt;This will create long text which is stored in standard text for each key field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read standard text using FM' READ_TEXT'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope this will work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aparna&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 08:45:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511126#M1066891</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T08:45:15Z</dc:date>
    </item>
    <item>
      <title>Re: Storing long text data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511127#M1066892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you should be carefull about the datatype&lt;/P&gt;&lt;P&gt;you may use lchr or rawstring&lt;/P&gt;&lt;P&gt;for this case&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Oct 2008 09:09:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511127#M1066892</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-01T09:09:17Z</dc:date>
    </item>
    <item>
      <title>Re: Storing long text data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511128#M1066893</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;Thanks for the answers. But I could see that the FM cuts the text at 132 characters only. The rest of the text is missed out. Pls help me in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pradipta Paul.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 16:53:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511128#M1066893</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T16:53:14Z</dc:date>
    </item>
    <item>
      <title>Re: Storing long text data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511129#M1066894</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Pradipta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Use the Read, Save, Delete text FMs in conjunction with these FMs:&lt;/P&gt;&lt;P&gt; - CONVERT_STREAM_TO_ITF_TEXT, to save text&lt;/P&gt;&lt;P&gt; - CONVERT_ITF_TO_STREAM_TEXT, to read and display text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You will be using a container object cl_gui_textedit, this is the text box that will display your data. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, to display your data, you create your object. Call READ_TEXT to get the data into an internal table and then call CONVERT_ITF_TO_STREAM_TEXT which  creates another internal table which you pass to display on your screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After editing data from the screen, you call CONVERT_ITF_TO_STREAM_TEXT and then call SAVE_TEXT to save your data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Filler&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Oct 2008 21:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511129#M1066894</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-02T21:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: Storing long text data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511130#M1066895</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 23 Oct 2008 04:45:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/storing-long-text-data/m-p/4511130#M1066895</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-10-23T04:45:34Z</dc:date>
    </item>
  </channel>
</rss>

