<?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: Standard Text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228384#M138549</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich! This is just what I needed to know!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 05 Apr 2006 18:03:24 GMT</pubDate>
    <dc:creator>former_member184386</dc:creator>
    <dc:date>2006-04-05T18:03:24Z</dc:date>
    <item>
      <title>Standard Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228379#M138544</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;Is there a way I can save a standard text using a custom table as a reference? Is the function SAVE_TEXT the one to be used? What are the parameters needed?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2006 16:46:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228379#M138544</guid>
      <dc:creator>former_member184386</dc:creator>
      <dc:date>2006-04-05T16:46:24Z</dc:date>
    </item>
    <item>
      <title>Re: Standard Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228380#M138545</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes the function module SAVE_TEXT is used to save texts into STXH and STXL tables.&lt;/P&gt;&lt;P&gt;YOu need to pass the object number and the lines of text that are to be saved as the parameters.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2006 16:50:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228380#M138545</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-05T16:50:04Z</dc:date>
    </item>
    <item>
      <title>Re: Standard Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228381#M138546</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;Thanks for the reply, but I have not seen a sample that the save_text function was used for a custom table, can you show what parameters are needed.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2006 17:00:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228381#M138546</guid>
      <dc:creator>former_member184386</dc:creator>
      <dc:date>2006-04-05T17:00:23Z</dc:date>
    </item>
    <item>
      <title>Re: Standard Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228382#M138547</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;Pl take a look at the following code &amp;amp; mdify it to suit your needs.. Firstoff you must load your custom table into an itab &amp;amp; pass it to t_lines..&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
  w_thead-tdobject = 'ANLA'.
  w_thead-tdname = w_assetcreated.
  w_thead-tdid = 'XLTX'.
  w_thead-tdspras = sy-langu.

  clear: w_nochars, t_tline.
  refresh:  t_tline.
  w_length = strlen( t_assets-longtext ) - 1.
  if t_assets-longtext+w_length(1) = '"'.
    t_assets-longtext+w_length(1) = space.
  endif.
  shift t_assets-longtext left deleting leading ' "'.
  while w_nochars &amp;lt; w_length.
    t_tline-tdline = t_assets-longtext+w_nochars(132).
    append t_tline.
    w_nochars = w_nochars + 132.
  endwhile.

CALL FUNCTION 'SAVE_TEXT'
  EXPORTING
*   CLIENT                = SY-MANDT
    HEADER                = w_thead
    INSERT                = 'X'
    SAVEMODE_DIRECT       = 'X'
*   OWNER_SPECIFIED       = ' '
*   LOCAL_CAT             = ' '
* IMPORTING
*   FUNCTION              =
*   NEWHEADER             =
  TABLES
    LINES                 = t_tline
 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.

&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Suresh Datti&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2006 17:04:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228382#M138547</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-04-05T17:04:39Z</dc:date>
    </item>
    <item>
      <title>Re: Standard Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228383#M138548</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use SAVE_TEXT for saving custom test object/ids.  Create you custom text Object and ID via SE75,  then you can use this in the SAVE_TEXT function module.  You will have to come up with a naming convention.  For example, we have a custom it request system, each request has a number,  we have associated text object/ids the requests.  The name that is used for the SAVE_TEXT function module is the request number that the text is to be tied to.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2006 17:06:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228383#M138548</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-04-05T17:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: Standard Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228384#M138549</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Rich! This is just what I needed to know!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 05 Apr 2006 18:03:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228384#M138549</guid>
      <dc:creator>former_member184386</dc:creator>
      <dc:date>2006-04-05T18:03:24Z</dc:date>
    </item>
    <item>
      <title>Re: Standard Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228385#M138550</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rich,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a funtion module that is used to delete the records in STXH and STXL that were saved by the FM SAVE_TEXT?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Ricky&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 16:17:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228385#M138550</guid>
      <dc:creator>former_member184386</dc:creator>
      <dc:date>2006-04-06T16:17:51Z</dc:date>
    </item>
    <item>
      <title>Re: Standard Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228386#M138551</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;DELETE_TEXT&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 16:19:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228386#M138551</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-06T16:19:29Z</dc:date>
    </item>
    <item>
      <title>Re: Standard Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228387#M138552</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes sir,   try DELETE_TEXT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;call function 'DELETE_TEXT'
  exporting
    id                    = 'ZID'
    language              = sy-langu
    name                  = the_name
    object                = 'ZOBJECT'.&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;Rich Heilman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 06 Apr 2006 16:19:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228387#M138552</guid>
      <dc:creator>RichHeilman</dc:creator>
      <dc:date>2006-04-06T16:19:44Z</dc:date>
    </item>
    <item>
      <title>Re: Standard Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228388#M138553</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  Is it standard text (or) dynamic text?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is dynamic text then u need to use these function modules to read the data dyanamically and also to save and delete.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; read_text, save_text ,delete_text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is standard text then u need to include that text using include text statement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;vasantha gutta.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 07 Apr 2006 10:49:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228388#M138553</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-04-07T10:49:36Z</dc:date>
    </item>
    <item>
      <title>Re: Standard Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228389#M138554</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 03 May 2007 04:03:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/standard-text/m-p/1228389#M138554</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-05-03T04:03:56Z</dc:date>
    </item>
  </channel>
</rss>

