<?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 for long error Message not working. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109057#M1509452</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i go to SE91 to the message no. and see long text i am not able to see the changed text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can you view the text in se91 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 23 Jul 2010 09:07:22 GMT</pubDate>
    <dc:creator>kesavadas_thekkillath</dc:creator>
    <dc:date>2010-07-23T09:07:22Z</dc:date>
    <item>
      <title>SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109054#M1509449</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am Using SAVE_TEXT FM to Dynamically Change Long Text for  a message.&lt;/P&gt;&lt;P&gt;1. i am able to run succesfully SAVE_TEXT with SY-SUBRC = 0.&lt;/P&gt;&lt;P&gt;2. I can see the entry in STXH.&lt;/P&gt;&lt;P&gt;3. I have also performed COMMIT_TEXT with all the parameters and COMMIT_WORK.&lt;/P&gt;&lt;P&gt;4. I am able to See the changed Text using READ_TEXT FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i go to SE91 to the message no. and see long text i am not able to see the changed text.&lt;/P&gt;&lt;P&gt;also when change the long text of it in a program and call the error message we should be able to see the changed long text on click of error message in status bar but it shows the same message as in SE91.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Earlier for this Text Object &amp;amp; Text ID in SE75 Save mode was SPACE so i changed the same to Update still its not working.&lt;/P&gt;&lt;P&gt;Following are the details  of my code-&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
REPORT  YTEST_MES message-id ZFQM.

parameters : p_text type c.

at selection-screen.

if p_text &amp;lt;&amp;gt; 'C'.

data: HEADER  LIKE  THEAD.
data: t_lines type standard table of TLINE.
data: ls_lines like line of t_lines.

ls_lines-TDFORMAT = ' '.
ls_lines-TDline   = 'TEST1 TEST2 TEST3'.
append ls_lines to t_lines.

Header-TDOBJECT   = 'DOKU'.
Header-TDNAME     = 'ZFQM093'.
Header-TDID       = 'NA'.
Header-TDSPRAS    = 'EN'.
Header-TDFORM     = 'S_DOCU_SHOW'.
Header-TDSTYLE    = 'S_DOCUS1'.
Header-TDLINESIZE = '72'.
*
  CALL FUNCTION 'SAVE_TEXT'
    EXPORTING
     CLIENT                = SY-MANDT
      header                = header
     INSERT                = 'X'
  tables
      lines                 = t_lines
   EXCEPTIONS
     ID                    = 1
     LANGUAGE              = 2
     NAME                  = 3
     OBJECT                = 4
     OTHERS                = 5
            .*
  IF sy-subrc &amp;lt;&amp;gt; 0.
 MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
  ENDIF.
CALL FUNCTION 'COMMIT_TEXT'
 EXPORTING
   OBJECT                = 'DOKU'
   NAME                  = 'ZFQM093'
   ID                    = 'NA'
   LANGUAGE              = SY-LANGU
.
COMMIT WORK AND WAIT.

message e093 with 'C'    'XXXX'.
endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have tried calling SAVE_TEXT will possible combination's of  INSERT  = 'X' or space  or&lt;/P&gt;&lt;P&gt;SAVEMODE_DIRECT       = 'X' or Both Space or 'X'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I know i am missing a small thing...but was unable to figure out the same.&lt;/P&gt;&lt;P&gt;Please Help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 22 Jul 2010 23:50:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109054#M1509449</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-22T23:50:08Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109055#M1509450</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;That is the problem with SAVE_TEXT, it does not append lines to the existing text but edits it completely.&lt;/P&gt;&lt;P&gt;If you want to append to an existing long text, you'll have to read the text first using READ_TEXT and then append the other lines to that table and then use SAVE_TEXT with the whole appended table.&lt;/P&gt;&lt;P&gt;For your referrence:&lt;/P&gt;&lt;P&gt;1. &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="216827"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;2. &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="169434"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;May it helps you.&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;DS&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 04:17:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109055#M1509450</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-23T04:17:47Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109056#M1509451</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Deepak,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for ur reply, but my issue is not that SAVE_TEXT Chnages the complete text, i need to chnage the text completely each time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My Problem is i am not able to see the saved text in se91 long text or when i raise an error message with the corresponding message no. from that message class, and when i click on the error message in status bar we should see the long text if declared, but i am not able to see the saved text ,&lt;/P&gt;&lt;P&gt;but if i read trhe text using FM Read_text i can see the saved text done by FM save_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do we have to perform any other new task after save_text except commit_text and commit work.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 08:43:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109056#M1509451</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-23T08:43:58Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109057#M1509452</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;but if i go to SE91 to the message no. and see long text i am not able to see the changed text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;how can you view the text in se91 ?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 09:07:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109057#M1509452</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-07-23T09:07:22Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109058#M1509453</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In SE91 against the SE91 message there is a checkbox for "self explanatory". Is the checkbox checked  ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Keshav: By clicking on the "long text" button of the application tollbar &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Suhas Saha on Jul 23, 2010 2:43 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 09:09:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109058#M1509453</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2010-07-23T09:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109059#M1509454</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Suhas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was pretty confused by the question , now i got it &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 09:15:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109059#M1509454</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-07-23T09:15:50Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109060#M1509455</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you can try thsese fm's&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;read_text&lt;/P&gt;&lt;P&gt;init_text&lt;/P&gt;&lt;P&gt;edit_text&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 09:19:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109060#M1509455</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-07-23T09:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109061#M1509456</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi  Keshav.T ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your answer, but all the above FM u provided-&lt;/P&gt;&lt;P&gt;read_text&lt;/P&gt;&lt;P&gt;init_text&lt;/P&gt;&lt;P&gt;edit_text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cannot be used as-&lt;/P&gt;&lt;P&gt;Read_TEXT - I want to change Text not read it.&lt;/P&gt;&lt;P&gt;INIT_TEXT- this cannot be used to change texts.&lt;/P&gt;&lt;P&gt;EDIT_TEXT- this function module Opens the Long text screen &lt;/P&gt;&lt;P&gt;                   and we have to manually save it, but i want to save the text automaticaly&lt;/P&gt;&lt;P&gt;                   all this is done using SAVE_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Only problem is I am missing something after the call of SAVE_TEXT because text is changed &lt;/P&gt;&lt;P&gt;as i can see that using read_text FM but if i go to SE91 and see long text for the corresponding message no. i cannot see the&lt;/P&gt;&lt;P&gt;changed text done bu SAVE_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 10:44:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109061#M1509456</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-23T10:44:27Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109062#M1509457</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;try passing SAVEMODE_DIRECT = 'X' in save_text fm and remove commit_text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 11:04:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109062#M1509457</guid>
      <dc:creator>kesavadas_thekkillath</dc:creator>
      <dc:date>2010-07-23T11:04:10Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109063#M1509458</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Done still not working...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 11:14:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109063#M1509458</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-23T11:14:56Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109064#M1509459</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;Refer to the reply by suhas&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;In SE91 against the SE91 message there is a checkbox for "self explanatory". Is the checkbox checked ?&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That may be reason why you are not able to see the long text in se91.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vinod&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 12:06:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109064#M1509459</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-23T12:06:55Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109065#M1509460</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vinod,&lt;/P&gt;&lt;P&gt;Thanks for ur reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If self explanatory Check Box is checked we cannot create a Long Text, &lt;/P&gt;&lt;P&gt;No Its not checked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Akash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 23 Jul 2010 12:52:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109065#M1509460</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-07-23T12:52:14Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109066#M1509461</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for your comments, i resolved above issue.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 09 Sep 2010 14:19:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109066#M1509461</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-09T14:19:25Z</dc:date>
    </item>
    <item>
      <title>Re: SAVE_TEXT for long error Message not working.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109067#M1509462</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Akash,&lt;/P&gt;&lt;P&gt;can you please share your solution, I am facing same issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Manfred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 21 Dec 2010 10:58:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/save-text-for-long-error-message-not-working/m-p/7109067#M1509462</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-12-21T10:58:11Z</dc:date>
    </item>
  </channel>
</rss>

