<?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: Problem with SAVE_TEXT FM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637050#M606807</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all for your replies.  When I use space for the &amp;lt;b&amp;gt;insert&amp;lt;/b&amp;gt; parameter of the SAVE_TEXT it works fine.  There is another problem, I have written a wrapper for the SAVE_TEXT and am remotely calling the wrapper FM.  When the wrapper FM is called from SE37 everything works perfectly but, when its remotely called it doesnt update the header text.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anyone have similar issue, if so would appreciate if you could share how you resolved the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Aug 2007 20:00:45 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-02T20:00:45Z</dc:date>
    <item>
      <title>Problem with SAVE_TEXT FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637044#M606801</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 am using the function module SAVE_TEXT to save header text for a shipment.  When I call the FM it throws an error "I/O error for text VTTK 0005002156 0003 EN".  The following are the parameters I am passing to the function module :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HEADER-TDOBJECT = 'VTTK'.&lt;/P&gt;&lt;P&gt;HEADER-TDNAME    = Shipment Number or 0005002156.&lt;/P&gt;&lt;P&gt;HEADER-TDID = '0003'.&lt;/P&gt;&lt;P&gt;HEADER-TDSPRAS = 'E'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The parameter LINES has the text that I am trying to update.  Did anyone have a similar problem, if so would appreciate if you can share how you could resolve it.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 15:35:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637044#M606801</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T15:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAVE_TEXT FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637045#M606802</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;Try to use this way, it's works for me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt; 

DATA: TLINE LIKE TLINE OCCURS 10 WITH HEADER LINE.
    
       CALL FUNCTION 'SAVE_TEXT'
           EXPORTING
                HEADER          = THEADER 
                INSERT          = ' '  "&amp;lt;-- put here 'X' =&amp;gt; New text or '  ' =&amp;gt; Update 
                SAVEMODE_DIRECT = 'X'
                OWNER_SPECIFIED = 'X'
           TABLES
                LINES           = TLINE      "&amp;lt;-- Must be a TLINE type
           EXCEPTIONS
                ID              = 1          
                LANGUAGE        = 2     
                NAME            = 3          
                OBJECT          = 4         
                OTHERS          = 5.       
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Marcelo Ramos&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 15:45:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637045#M606802</guid>
      <dc:creator>marcelo_ramos1</dc:creator>
      <dc:date>2007-08-01T15:45:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAVE_TEXT FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637046#M606803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hELLO Sunil...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you check on table STHX, if the text exists. Maybe that is happening&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;bye&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 15:47:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637046#M606803</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T15:47:00Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAVE_TEXT FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637047#M606804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Marcelo&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am already using the flag for insert and update.  One thing that I am confused about insert/update flag is, when is it considered an insert/update.  From what I found insert is the first time a text is being added and an update is if text is already there.  Sometimes the Subrc equals 0 but still the text is not getting updated, even when I have COMMIT_TEXT when the subrc equals 0.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Where do I check for the table STHX, is it an internal table in the SAVE_TEXT or a DB table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 17:14:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637047#M606804</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T17:14:36Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAVE_TEXT FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637048#M606805</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;Sorry I gave you the wrong table, It is STXH, and it´s BD Table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Bye&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Gabriel&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 18:34:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637048#M606805</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T18:34:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAVE_TEXT FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637049#M606806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This is very unusual error that typically comes up when your file system is full. I think since texts are actually stored in the file system or in clusters on the database, check with your basis team for table space and/or file system space.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 01 Aug 2007 18:38:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637049#M606806</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-01T18:38:58Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with SAVE_TEXT FM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637050#M606807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks all for your replies.  When I use space for the &amp;lt;b&amp;gt;insert&amp;lt;/b&amp;gt; parameter of the SAVE_TEXT it works fine.  There is another problem, I have written a wrapper for the SAVE_TEXT and am remotely calling the wrapper FM.  When the wrapper FM is called from SE37 everything works perfectly but, when its remotely called it doesnt update the header text.  &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did anyone have similar issue, if so would appreciate if you could share how you resolved the same.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Sunil Achyut&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Aug 2007 20:00:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/problem-with-save-text-fm/m-p/2637050#M606807</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-02T20:00:45Z</dc:date>
    </item>
  </channel>
</rss>

