<?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: READ_TEXT Function Module in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-function-module/m-p/1618254#M276743</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;&amp;lt;b&amp;gt;if the field length in the data dictioray is unlimited .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.you need to create text object and link this object &lt;/P&gt;&lt;P&gt;with key fields of the table and reading this text and storing this text you need to use SAVE_TEXT and READ_TEXT fm's. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk the sample code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.create a text object using SE75 transaction .&lt;/P&gt;&lt;P&gt;2.Use FM : SAVE_TEXT to save this data with text object id.(data will be stored into STXH table).&lt;/P&gt;&lt;P&gt;3.Use READ_TEXT to retrive data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ws_thead LIKE thead,&lt;/P&gt;&lt;P&gt;i_tline LIKE TABLE OF tline WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;data : x_matnr like mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c_mara(4) type c value 'MARA',&lt;/P&gt;&lt;P&gt;c_zid(4) type c value 'Z001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE : x_matnr TO ws_thead-tdname, &amp;lt;-moving MATNR to store data &lt;/P&gt;&lt;P&gt;c_mara TO ws_thead-tdobject,&lt;/P&gt;&lt;P&gt;sy-langu TO ws_thead-tdspras,&lt;/P&gt;&lt;P&gt;c_zid TO ws_thead-tdid.&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 = ws_thead&lt;/P&gt;&lt;P&gt;savemode_direct = 'X'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;lines = i_tline&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lws_id LIKE thead-tdid,&lt;/P&gt;&lt;P&gt;lws_name LIKE thead-tdname,&lt;/P&gt;&lt;P&gt;lws_object LIKE thead-tdobject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lws_id = c_zid.&lt;/P&gt;&lt;P&gt;lws_name = x_matnr. &amp;lt;- reading data using key field(MATNR) &lt;/P&gt;&lt;P&gt;lws_object = c_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;client = sy-mandt&lt;/P&gt;&lt;P&gt;id = lws_id&lt;/P&gt;&lt;P&gt;language = sy-langu&lt;/P&gt;&lt;P&gt;name = lws_name&lt;/P&gt;&lt;P&gt;object = lws_object&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;lines = li_tline&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;not_found = 4&lt;/P&gt;&lt;P&gt;object = 5&lt;/P&gt;&lt;P&gt;reference_check = 6&lt;/P&gt;&lt;P&gt;wrong_access_to_archive = 7&lt;/P&gt;&lt;P&gt;OTHERS = 8.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls mark points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 14 Oct 2006 11:38:42 GMT</pubDate>
    <dc:creator>anversha_s</dc:creator>
    <dc:date>2006-10-14T11:38:42Z</dc:date>
    <item>
      <title>READ_TEXT Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-function-module/m-p/1618253#M276742</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi ALL &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Want to know the Concept Behind the Func. Module READ_TEXT.Why it is used and what should be the Export and Import Parameters and the Lines Table..Say for e.g.&lt;/P&gt;&lt;P&gt;I have a Standard Text named as zstandard1, ID is ST, language is EN. Now when I call this Funt. Module there are Some parameters along with these there is One More parameter named as Object. What is the Object Parameter can anybody let me know about this parameter..&lt;/P&gt;&lt;P&gt;Also pls let me know about the Lines Tables.....I am totally new to this Funct. Module....&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Oct 2006 11:34:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-function-module/m-p/1618253#M276742</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-14T11:34:21Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-function-module/m-p/1618254#M276743</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;&amp;lt;b&amp;gt;if the field length in the data dictioray is unlimited .&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.you need to create text object and link this object &lt;/P&gt;&lt;P&gt;with key fields of the table and reading this text and storing this text you need to use SAVE_TEXT and READ_TEXT fm's. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;chk the sample code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.create a text object using SE75 transaction .&lt;/P&gt;&lt;P&gt;2.Use FM : SAVE_TEXT to save this data with text object id.(data will be stored into STXH table).&lt;/P&gt;&lt;P&gt;3.Use READ_TEXT to retrive data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;sample code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: ws_thead LIKE thead,&lt;/P&gt;&lt;P&gt;i_tline LIKE TABLE OF tline WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;data : x_matnr like mara-matnr.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;c_mara(4) type c value 'MARA',&lt;/P&gt;&lt;P&gt;c_zid(4) type c value 'Z001'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;MOVE : x_matnr TO ws_thead-tdname, &amp;lt;-moving MATNR to store data &lt;/P&gt;&lt;P&gt;c_mara TO ws_thead-tdobject,&lt;/P&gt;&lt;P&gt;sy-langu TO ws_thead-tdspras,&lt;/P&gt;&lt;P&gt;c_zid TO ws_thead-tdid.&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 = ws_thead&lt;/P&gt;&lt;P&gt;savemode_direct = 'X'&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;lines = i_tline&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;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: lws_id LIKE thead-tdid,&lt;/P&gt;&lt;P&gt;lws_name LIKE thead-tdname,&lt;/P&gt;&lt;P&gt;lws_object LIKE thead-tdobject.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;lws_id = c_zid.&lt;/P&gt;&lt;P&gt;lws_name = x_matnr. &amp;lt;- reading data using key field(MATNR) &lt;/P&gt;&lt;P&gt;lws_object = c_mara.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;EXPORTING&lt;/P&gt;&lt;P&gt;client = sy-mandt&lt;/P&gt;&lt;P&gt;id = lws_id&lt;/P&gt;&lt;P&gt;language = sy-langu&lt;/P&gt;&lt;P&gt;name = lws_name&lt;/P&gt;&lt;P&gt;object = lws_object&lt;/P&gt;&lt;P&gt;TABLES&lt;/P&gt;&lt;P&gt;lines = li_tline&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;not_found = 4&lt;/P&gt;&lt;P&gt;object = 5&lt;/P&gt;&lt;P&gt;reference_check = 6&lt;/P&gt;&lt;P&gt;wrong_access_to_archive = 7&lt;/P&gt;&lt;P&gt;OTHERS = 8.&lt;/P&gt;&lt;P&gt;IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;anver&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;pls mark points if useful&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Oct 2006 11:38:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-function-module/m-p/1618254#M276743</guid>
      <dc:creator>anversha_s</dc:creator>
      <dc:date>2006-10-14T11:38:42Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-function-module/m-p/1618255#M276744</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;Please check out the following post it has all the details that you want.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="115334"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Oct 2006 11:49:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-function-module/m-p/1618255#M276744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-14T11:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT Function Module</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-function-module/m-p/1618256#M276745</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Anversha s  &lt;/P&gt;&lt;P&gt;Thanks for your Valuable inputs.However I'll like to explain you the whole Scenario. See I have the Standard Texts now I want to call this FM and read the standard  Text this can be done with the help of this FM. How do I do this . And I'll store the read text in an Internal Table ...&lt;/P&gt;&lt;P&gt;If u need any Clarifications Most Welcome...:)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 14 Oct 2006 11:55:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-function-module/m-p/1618256#M276745</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-14T11:55:47Z</dc:date>
    </item>
  </channel>
</rss>

