<?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: SAVE_TEXT and READ_TEXT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750699#M1114257</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;I see the error is because object field was not set. But ST doesn't work: if i fill with this value I get the same error: 'The object ST does not exist' (just now I understand that before was the object 'empty string' that was not found &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; ). If I put VBBK I get no error, but I want to mantain a logical link to the type of text I am storing so:&lt;/P&gt;&lt;P&gt;how can I declare a generic text or better, how can I add a new type for object text so that I can create my own for my report?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 17 Nov 2008 14:49:22 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-11-17T14:49:22Z</dc:date>
    <item>
      <title>SAVE_TEXT and READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750697#M1114255</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;this is my problem: I need to store a long text in a DB and watching thread I've seen I have to use the FM in the title. I think I'm near to the solution, but I need some help to finish:&lt;/P&gt;&lt;P&gt;what I did is simply this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
" here I have to set the text I want to store
DATA text_table TYPE STANDARD TABLE OF tline.
DATA wa_line LIKE LINE OF text_table.
wa_line = 'line1'.
INSERT wa_line INTO TABLE text_table.
wa_line = line2'.
INSERT wa_line INTO TABLE text_table.
wa_line = 'line3'.
INSERT wa_line INTO TABLE text_table.
wa_line = 'line3.
INSERT wa_line INTO TABLE text_table.
wa_line = 'line4'.
INSERT wa_line INTO TABLE text_table.
wa_line = 'line5'.
INSERT wa_line INTO TABLE text_table.

" header element to pass to the save_text
DATA header TYPE thead.
header-tdid = '0001'.
header-tdname = 'TRYING'.
header-tdspras = 'EN'.


CALL FUNCTION 'SAVE_TEXT'
  EXPORTING
    header                = header
  tables
    lines                 = text_table.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But when I launch this report I get e message error saying "Text Object is not available" so I understand that probably there is a matchcode on another table and I would like to know how to set my own values in this table for text. I see also there is an &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;object&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; field that I don't know how to handle so an hint also for this would be great. I see that once set these values and call &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SAVE_TEXT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;,  retrieve the text with &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;READ_TEXT&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; should be easy&lt;/P&gt;&lt;P&gt;thanks in advance.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 14:35:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750697#M1114255</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T14:35:32Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT and READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750698#M1114256</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You need to specifiy the OBJECT , ID, NAME for the save_text. Object would be the one where you are storing the Text, ie for standard text it is ST, for sales order headers it is VBBK and so on.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 14:40:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750698#M1114256</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T14:40:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT and READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750699#M1114257</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;I see the error is because object field was not set. But ST doesn't work: if i fill with this value I get the same error: 'The object ST does not exist' (just now I understand that before was the object 'empty string' that was not found &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt; ). If I put VBBK I get no error, but I want to mantain a logical link to the type of text I am storing so:&lt;/P&gt;&lt;P&gt;how can I declare a generic text or better, how can I add a new type for object text so that I can create my own for my report?&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 14:49:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750699#M1114257</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T14:49:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT and READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750700#M1114258</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;what is this text you wanna save? either the texts are linked to a transaction in SAP, or to Standard Texts.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 14:57:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750700#M1114258</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T14:57:38Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT and READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750701#M1114259</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok&lt;/P&gt;&lt;P&gt;I semi-solved: was not the object ST, but tid; the object must be TEXT for standard text. I am already saving data and wathing them via STXH table, but now I have another problem; the working for the report is this:&lt;/P&gt;&lt;P&gt;1) user edit some text&lt;/P&gt;&lt;P&gt;2) user can save text (SAVE_TEXT)&lt;/P&gt;&lt;P&gt;3) user can watch text saved (READ_TEXT) ...&lt;/P&gt;&lt;P&gt;4) and modify it again (again SAVE_TEXT)&lt;/P&gt;&lt;P&gt;but for what I see, the data I set with first SAVE_TEXT are key for the table of text, and if I try to make SAVE_TEXT with same key, operation is ignored. So, is there a way to update text in STXH and a way to delete a text from it?&lt;/P&gt;&lt;P&gt;thanks for your help: your hints and questions are putting me on the right way &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Gabriele&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 15:14:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750701#M1114259</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T15:14:34Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT and READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750702#M1114260</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am sure SAVE_TEXT will update the text if you are modifying that. try using commit text afterwards&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I see gthe following functions and more  in the same group. you can check these out for your issues&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;INCLUDE LSTXDU01.   "READ_TEXT&lt;/P&gt;&lt;P&gt;INCLUDE LSTXDU02.   "DELETE_TEXT&lt;/P&gt;&lt;P&gt;INCLUDE LSTXDU03.   "INIT_TEXT&lt;/P&gt;&lt;P&gt;INCLUDE LSTXDU05.   "EDIT_TEXT&lt;/P&gt;&lt;P&gt;INCLUDE LSTXDU06.   "COMMIT_TEXT&lt;/P&gt;&lt;P&gt;INCLUDE LSTXDU07.   "SELECT_TEXT&lt;/P&gt;&lt;P&gt;INCLUDE LSTXDU08.   "SAVE_TEXT&lt;/P&gt;&lt;P&gt;INCLUDE LSTXDU09.   "RENAME_TEXT&lt;/P&gt;&lt;P&gt;INCLUDE LSTXDU10.   "READ_TEXT_INLINE&lt;/P&gt;&lt;P&gt;INCLUDE LSTXDU11.   "EDIT_TEXT_INLINE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 15:19:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750702#M1114260</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T15:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT and READ_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750703#M1114261</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks a lot&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 17 Nov 2008 15:41:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-and-read-text/m-p/4750703#M1114261</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-11-17T15:41:01Z</dc:date>
    </item>
  </channel>
</rss>

