<?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: WRITE_TEXT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-text/m-p/3109799#M738321</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Megan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use SAVE_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you have to pass THEAD &amp;amp; IT_LINES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thead-tdid = &amp;lt;Object ID&amp;gt;.&lt;/P&gt;&lt;P&gt;thead-tdobject = &amp;lt;Object&amp;gt;.&lt;/P&gt;&lt;P&gt;thead-tdspras = 'EN'.&lt;/P&gt;&lt;P&gt;thead-tdname = &amp;lt;Object Name&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_LINES is the internal table like TLINE, through this you can pass the text which you want to save.&lt;/P&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                = thead&lt;/P&gt;&lt;P&gt;   SAVEMODE_DIRECT       = 'X'&lt;/P&gt;&lt;P&gt;   insert                = ' '&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                 = it_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;   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;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&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;Satish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Satish Panakala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 01 Dec 2007 23:22:33 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-12-01T23:22:33Z</dc:date>
    <item>
      <title>WRITE_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-text/m-p/3109798#M738320</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using READ_TEXT we can read the sapscript text. Is there a function to write text to sapscript text. I want to replace the existing text.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Dec 2007 23:20:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-text/m-p/3109798#M738320</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-01T23:20:51Z</dc:date>
    </item>
    <item>
      <title>Re: WRITE_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-text/m-p/3109799#M738321</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Megan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to use SAVE_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here you have to pass THEAD &amp;amp; IT_LINES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thead-tdid = &amp;lt;Object ID&amp;gt;.&lt;/P&gt;&lt;P&gt;thead-tdobject = &amp;lt;Object&amp;gt;.&lt;/P&gt;&lt;P&gt;thead-tdspras = 'EN'.&lt;/P&gt;&lt;P&gt;thead-tdname = &amp;lt;Object Name&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IT_LINES is the internal table like TLINE, through this you can pass the text which you want to save.&lt;/P&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                = thead&lt;/P&gt;&lt;P&gt;   SAVEMODE_DIRECT       = 'X'&lt;/P&gt;&lt;P&gt;   insert                = ' '&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                 = it_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;   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;P&gt; MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;P&gt;         WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;P&gt;ENDIF.&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;Satish&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Satish Panakala&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 01 Dec 2007 23:22:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-text/m-p/3109799#M738321</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-01T23:22:33Z</dc:date>
    </item>
    <item>
      <title>Re: WRITE_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-text/m-p/3109800#M738322</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Megan,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;yes it's WRITE_TEXT. But if the text object is used in transactional handling (like order header/item or material texts), you will need COMMIT_TEXT also.&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;Clemens&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2007 00:11:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-text/m-p/3109800#M738322</guid>
      <dc:creator>Clemenss</dc:creator>
      <dc:date>2007-12-02T00:11:50Z</dc:date>
    </item>
    <item>
      <title>Re: WRITE_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-text/m-p/3109801#M738323</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying out SAVE_TEXT. But it writes another line of text and keeps the existing lines of text. I want to delete the existing lines of text and replace them with the new text. How to do that? &lt;/P&gt;&lt;P&gt;Or is there another fm that I can use.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2007 00:14:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-text/m-p/3109801#M738323</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-02T00:14:57Z</dc:date>
    </item>
    <item>
      <title>Re: WRITE_TEXT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/write-text/m-p/3109802#M738324</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use SAVE_TEXT even to replace the text. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Go through below link for more information&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw04/helpdata/en/d6/0db771494511d182b70000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw04/helpdata/en/d6/0db771494511d182b70000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Satish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 02 Dec 2007 00:22:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/write-text/m-p/3109802#M738324</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-12-02T00:22:18Z</dc:date>
    </item>
  </channel>
</rss>

