<?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: How to use function module to update data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551197#M580928</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;SAVE_TEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAVE_TEXT writes a text module back to the text file or the text memory, depending on the storage mode of the corresponding text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this module either to change existing texts or to create new texts. If you know for sure that the text is new, use the parameter INSERT to indicate this. The system then does not have to read the text first, which improves the performance of the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the lines table passed with the function module is empty, the system deletes the text from the text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'SAVE_TEXT' 

EXPORTING CLIENT = SY-MANDT

HEADER = ?...

INSERT = SPACE

SAVEMODE_DIRECT = SPACE

OWNER_SPECIFIED = SPACE

IMPORTING FUNCTION = 

NEWHEADER = 

TABLES LINES = ?...

EXCEPTIONS ID =

LANGUAGE =

NAME =&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check thi sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = t_header
SAVEMODE_DIRECT = 'X'
* OWNER_SPECIFIED = ' '
* LOCAL_CAT = ' '
* IMPORTING
* FUNCTION =
* NEWHEADER =
TABLES
LINES = t_long
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;Reward all helpfull answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 09 Jul 2007 06:33:28 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-07-09T06:33:28Z</dc:date>
    <item>
      <title>How to use function module to update data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551195#M580926</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;Can any body have idea how we can use function module SAVE_TEXT to update the master recipe header and operation long text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to use this functional module to update the master recipe long text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;step by step procedure is highly appreciated&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;siddhasrth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 06:27:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551195#M580926</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T06:27:43Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function module to update data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551196#M580927</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Check this,&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8ef494511d182b70000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_40b/helpdata/en/d6/0db8ef494511d182b70000e829fbfe/content.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Reward if useful!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 06:32:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551196#M580927</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T06:32:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function module to update data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551197#M580928</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;SAVE_TEXT &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SAVE_TEXT writes a text module back to the text file or the text memory, depending on the storage mode of the corresponding text object.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can use this module either to change existing texts or to create new texts. If you know for sure that the text is new, use the parameter INSERT to indicate this. The system then does not have to read the text first, which improves the performance of the function module.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the lines table passed with the function module is empty, the system deletes the text from the text file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Function call:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
CALL FUNCTION 'SAVE_TEXT' 

EXPORTING CLIENT = SY-MANDT

HEADER = ?...

INSERT = SPACE

SAVEMODE_DIRECT = SPACE

OWNER_SPECIFIED = SPACE

IMPORTING FUNCTION = 

NEWHEADER = 

TABLES LINES = ?...

EXCEPTIONS ID =

LANGUAGE =

NAME =&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check thi sample code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;CALL FUNCTION 'SAVE_TEXT'
EXPORTING
CLIENT = SY-MANDT
HEADER = t_header
SAVEMODE_DIRECT = 'X'
* OWNER_SPECIFIED = ' '
* LOCAL_CAT = ' '
* IMPORTING
* FUNCTION =
* NEWHEADER =
TABLES
LINES = t_long
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;Reward all helpfull answers&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 06:33:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551197#M580928</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T06:33:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function module to update data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551198#M580929</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Prasad and Pawan for your valuable response ,another thing i want to regarding this is Can we use text file or any other type of file..to update the long text with this functional module like we use in LSMW or BDC..if yes then how can i use that ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks in advance&lt;/P&gt;&lt;P&gt;siddharth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 Jul 2007 08:39:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551198#M580929</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-09T08:39:39Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function module to update data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551199#M580930</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;Can any body have idea how to use SAVE_TEXT to update the long text for recipe ....any suggetion is highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks &amp;amp; regards &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;siddharth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 10 Jul 2007 08:44:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551199#M580930</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-10T08:44:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function module to update data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551200#M580931</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Pawan ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you have any idea about this....?&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;Siddharth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 07:00:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551200#M580931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T07:00:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to use function module to update data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551201#M580932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes siddarth you can use this SAVE_TEXT to upload data of bdc&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Jul 2007 07:16:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-use-function-module-to-update-data/m-p/2551201#M580932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-07-11T07:16:45Z</dc:date>
    </item>
  </channel>
</rss>

