<?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: Reading Text in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-text/m-p/3389398#M813815</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well like it´s name tells, its purpose is to Read texts. &lt;/P&gt;&lt;P&gt;it can read any kind of texts an often is used to read header texts or position texts in SD.&lt;/P&gt;&lt;P&gt;all the (standard)texts you create and edit with TA SO10 can be read with this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 12 Feb 2008 10:13:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-02-12T10:13:42Z</dc:date>
    <item>
      <title>Reading Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-text/m-p/3389394#M813811</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;what is the purpose of READ_TEXT FM ,,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;can u give explanaiton with example.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 10:09:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-text/m-p/3389394#M813811</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T10:09:08Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-text/m-p/3389395#M813812</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 refer to the link below :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdev.co.uk/fmodules/fms_readtext.htm" target="test_blank"&gt;http://www.sapdev.co.uk/fmodules/fms_readtext.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please find below documentation from SE37&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FU READ_TEXT&lt;/P&gt;&lt;P&gt;____________________________________________________&lt;/P&gt;&lt;P&gt;Text&lt;/P&gt;&lt;P&gt;SAPscript: Read text&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to process text modules in application programs, all information about a text module must be transferred to internal work areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A text is read from the text file or text memory with this function module. It must be described fully by specifying OBJECT, NAME, ID, and LANGUAGE. Generic entries in these parameters are not valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When header information and text lines have been read successfully, they are transferred to the work areas HEADER and LINES.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Parameters&lt;/P&gt;&lt;P&gt;CLIENT&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;LANGUAGE&lt;/P&gt;&lt;P&gt;NAME&lt;/P&gt;&lt;P&gt;OBJECT&lt;/P&gt;&lt;P&gt;ARCHIVE_HANDLE&lt;/P&gt;&lt;P&gt;LOCAL_CAT&lt;/P&gt;&lt;P&gt;HEADER&lt;/P&gt;&lt;P&gt;LINES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Exceptions&lt;/P&gt;&lt;P&gt;ID&lt;/P&gt;&lt;P&gt;LANGUAGE&lt;/P&gt;&lt;P&gt;NAME&lt;/P&gt;&lt;P&gt;NOT_FOUND&lt;/P&gt;&lt;P&gt;OBJECT&lt;/P&gt;&lt;P&gt;REFERENCE_CHECK&lt;/P&gt;&lt;P&gt;WRONG_ACCESS_TO_ARCHIVE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram POnna.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sriram Ponna on Feb 12, 2008 3:41 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 10:10:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-text/m-p/3389395#M813812</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T10:10:59Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-text/m-p/3389396#M813813</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;   By passing ID,LANGUAGE,NAME and OBJECT you can get text.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In order to process text modules in application programs, all information about a text module must be transferred to internal work areas.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A text is read from the text file or text memory with this function module. It must be described fully by specifying OBJECT, NAME, ID, and LANGUAGE. Generic entries in these parameters are not valid.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When header information and text lines have been read successfully, they are transferred to the work areas HEADER and LINES&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Rgds,&lt;/P&gt;&lt;P&gt;Bujji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 10:11:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-text/m-p/3389396#M813813</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T10:11:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-text/m-p/3389397#M813814</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here it is..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ABAP READ_TEXT functions to read the SAP Long Text &lt;/P&gt;&lt;P&gt;All the long text can be retrieve using this method. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You have to used the READ_TEXT functions to read the SAP long text.  e.g. Sales Order, Purchase Order Item text etc. &lt;/P&gt;&lt;P&gt;To check your long text header, go into the long text.  Click Goto -&amp;gt; Header &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Example of READ_TEXT functions reading tables PBIM - Independent requirements for material. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT ZTEXT . &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;TABLES: PBIM. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;stxh, stxl, stxb - trans tables for text &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ttxit - text on text-ids &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;ttxot - Short texts on text objects &lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Transaction MD63 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;SELECT-OPTIONS: S_MATNR FOR PBIM-MATNR, &lt;/P&gt;&lt;P&gt;                S_WERKS FOR PBIM-WERKS. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF HTEXT. &lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE THEAD. &lt;/P&gt;&lt;P&gt;DATA: END OF HTEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF LTEXT OCCURS 50. &lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE TLINE. &lt;/P&gt;&lt;P&gt;DATA: END OF LTEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: BEGIN OF DTEXT OCCURS 50. &lt;/P&gt;&lt;P&gt;DATA:   MATNR LIKE PBIM-MATNR. &lt;/P&gt;&lt;P&gt;        INCLUDE STRUCTURE TLINE. &lt;/P&gt;&lt;P&gt;DATA: END OF DTEXT. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DATA: TNAME LIKE THEAD-TDNAME. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM PBIM WHERE WERKS IN S_WERKS. &lt;/P&gt;&lt;P&gt;  MOVE PBIM-BDZEI TO TNAME. &lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'READ_TEXT' &lt;/P&gt;&lt;P&gt;       EXPORTING &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;          CLIENT                  = SY-MANDT &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;          ID                      = 'PB' &lt;/P&gt;&lt;P&gt;          LANGUAGE                = 'E' &lt;/P&gt;&lt;P&gt;          NAME                    = TNAME &lt;/P&gt;&lt;P&gt;          OBJECT                  = 'PBPT' &lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        ARCHIVE_HANDLE          = 0 &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     IMPORTING &lt;/P&gt;&lt;P&gt;          HEADER                  = HTEXT &lt;/P&gt;&lt;P&gt;     TABLES &lt;/P&gt;&lt;P&gt;          LINES                   = LTEXT &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;  LOOP AT LTEXT. &lt;/P&gt;&lt;P&gt;    IF LTEXT-TDLINE NE ''. &lt;/P&gt;&lt;P&gt;      MOVE LTEXT-TDLINE TO DTEXT-TDLINE. &lt;/P&gt;&lt;P&gt;      MOVE PBIM-MATNR TO DTEXT-MATNR. &lt;/P&gt;&lt;P&gt;      APPEND DTEXT. &lt;/P&gt;&lt;P&gt;    ENDIF. &lt;/P&gt;&lt;P&gt;  ENDLOOP. &lt;/P&gt;&lt;P&gt;ENDSELECT. &lt;/P&gt;&lt;P&gt;LOOP AT DTEXT. &lt;/P&gt;&lt;P&gt;  WRITE:/ DTEXT-MATNR, DTEXT-TDLINE. &lt;/P&gt;&lt;P&gt;ENDLOOP. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What is the purpose of READ_TEXT functuion module and how to get text id value in this scenario(TDID)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In business process, there are so many transactions that take place in every day, like purchase orders, sales orders, delivery, gooodsmovement etc...  SAP provided a feature to maintain some text descriptions. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read_Text Function module is used to retrieve the text for a particular objects.   &lt;/P&gt;&lt;P&gt;To find the Text id these are the following steps.  Let us take an example of Billing document Header text.  &lt;/P&gt;&lt;P&gt;1. goto VF03, enter Billing doc Number  &lt;/P&gt;&lt;P&gt;2. from menu&lt;DEL&gt;select Goto&lt;/DEL&gt;&amp;gt;Header--&amp;gt;header Text..... New window will be displayed  &lt;/P&gt;&lt;P&gt;3. select the Header Text. here you can see all the text.  &lt;/P&gt;&lt;P&gt;4. click on the TEXT (which you want to know the Text id) , then press log ICON (you can find in bottom right of the text window) it looks like a rolled paper.  &lt;/P&gt;&lt;P&gt;5. in the Next window you will find Text Name. Text ID, Language. etc...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 10:11:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-text/m-p/3389397#M813814</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T10:11:31Z</dc:date>
    </item>
    <item>
      <title>Re: Reading Text</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reading-text/m-p/3389398#M813815</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;well like it´s name tells, its purpose is to Read texts. &lt;/P&gt;&lt;P&gt;it can read any kind of texts an often is used to read header texts or position texts in SD.&lt;/P&gt;&lt;P&gt;all the (standard)texts you create and edit with TA SO10 can be read with this FM.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Feb 2008 10:13:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reading-text/m-p/3389398#M813815</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-12T10:13:42Z</dc:date>
    </item>
  </channel>
</rss>

