<?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 Not displaying correct data in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-displaying-correct-data/m-p/8402983#M1644981</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 code . I think you need to comment the importing and header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM READ_TEXT .&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                            = 'ST'&lt;/P&gt;&lt;P&gt;      LANGUAGE                      = SY-LANGU&lt;/P&gt;&lt;P&gt;      NAME                          = VNAME&lt;/P&gt;&lt;P&gt;      OBJECT                        = 'TEXT'&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;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;    HEADER                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      LINES                         = G1_MYTABLE&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;            .&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;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 15 Dec 2011 05:40:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-12-15T05:40:52Z</dc:date>
    <item>
      <title>READ_TEXT Not displaying correct data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-displaying-correct-data/m-p/8402982#M1644980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI abapers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am using the FM READ_TEXT  for reading change document long text , for some document it gives correct data but for some other doc it give some unrelated data , when i debug i found in IMPORT statement inside the FM gives this unrelated data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this is my call to FM ..&lt;/P&gt;&lt;P&gt;CALL FUNCTION 'READ_TEXT'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      id                           = 'AENR'&lt;/P&gt;&lt;P&gt;      language               = sy-langu&lt;/P&gt;&lt;P&gt;      name                     = tname&lt;/P&gt;&lt;P&gt;      object                    = 'CHANGE'&lt;/P&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;&lt;/P&gt;&lt;P&gt;and import statement that gives is in SAPLSTXD program and in LSTXDFDB include line no 98&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;import tline to rt_lines&lt;/P&gt;&lt;P&gt;  from database stxl(tx)&lt;/P&gt;&lt;P&gt;       client   rt_client&lt;/P&gt;&lt;P&gt;       id       stxl_id&lt;/P&gt;&lt;P&gt;       ACCEPTING TRUNCATION&lt;/P&gt;&lt;P&gt;       IGNORING CONVERSION ERRORS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;this import gives worng data to rt_lines.please help in this regard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 05:35:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-displaying-correct-data/m-p/8402982#M1644980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-15T05:35:07Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT Not displaying correct data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-displaying-correct-data/m-p/8402983#M1644981</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 code . I think you need to comment the importing and header&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM READ_TEXT .&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                            = 'ST'&lt;/P&gt;&lt;P&gt;      LANGUAGE                      = SY-LANGU&lt;/P&gt;&lt;P&gt;      NAME                          = VNAME&lt;/P&gt;&lt;P&gt;      OBJECT                        = 'TEXT'&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;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;    HEADER                        =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      LINES                         = G1_MYTABLE&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;            .&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;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 05:40:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-displaying-correct-data/m-p/8402983#M1644981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-15T05:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT Not displaying correct data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-displaying-correct-data/m-p/8402984#M1644982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;But it works well for some documents , this problem exists only for some documents...more over in quality system it works fine for all document only in produciton it is a problem ...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any idea where i can directly fetch the text from table also will be helpful. i can reaplace this FM ...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 05:48:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-displaying-correct-data/m-p/8402984#M1644982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-15T05:48:38Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT Not displaying correct data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-displaying-correct-data/m-p/8402985#M1644983</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;Change ID = 'ST'&lt;/P&gt;&lt;P&gt;              OBJECT = 'TEXT'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Ravi.Seela on Dec 15, 2011 7:15 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 05:52:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-displaying-correct-data/m-p/8402985#M1644983</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-15T05:52:45Z</dc:date>
    </item>
    <item>
      <title>Re: READ_TEXT Not displaying correct data</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-displaying-correct-data/m-p/8402986#M1644984</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friend,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you need to do a client copy of the data to the production system also so that it will also work fine in all the systems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please look these links also it might be useful for you regarding this issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/d6/0db8c8494511d182b70000e829fbfe/content.htm" target="test_blank"&gt;http://help.sap.com/saphelp_nw70/helpdata/en/d6/0db8c8494511d182b70000e829fbfe/content.htm&lt;/A&gt;&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="1581574"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sri Hari&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 15 Dec 2011 06:28:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-displaying-correct-data/m-p/8402986#M1644984</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-12-15T06:28:48Z</dc:date>
    </item>
  </channel>
</rss>

