<?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_found exception in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-found-exception/m-p/7154312#M1515092</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue might be with the Text name, is it the correct Text name, just double check once. also some times it happens that systems you are checking might be different. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check all the possibilities.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Aug 2010 18:23:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-08-11T18:23:44Z</dc:date>
    <item>
      <title>Read_text not_found exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-found-exception/m-p/7154311#M1515091</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;I am trying to use the read_text FM in a program. When I call it, it returns a not_found exception.&lt;/P&gt;&lt;P&gt;I have tried to test the FM in Se37 with the exact same parameters than the one I am using to call it in my program and it works. The text I am trying to read exists and I have no idea what's wrong with this MF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is a piece of code:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;DATA: lv_texte_name type THEAD-TDNAME.
lv_texte_name = 'TIMREQ_NOTIF_ASSIST'.

    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        id                      = 'ST'
        language                = lv_language_en
        name                    = lv_texte_name
        object                  = 'TEXT'
      TABLES
        lines                   = lt_text_en
      EXCEPTIONS
        id                      = 1
        language                = 2
        name                    = 3
        not_found               = 4
        object                  = 5
        reference_check         = 6
        wrong_access_to_archive = 7
        OTHERS                  = 8.
    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;When debugging, lv_language_en = A, lv_texte_name the name I give it to. This FM drives me crazy.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Helps would be much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance for your answers,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thibault&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 17:04:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-found-exception/m-p/7154311#M1515091</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-11T17:04:22Z</dc:date>
    </item>
    <item>
      <title>Re: Read_text not_found exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-found-exception/m-p/7154312#M1515092</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The issue might be with the Text name, is it the correct Text name, just double check once. also some times it happens that systems you are checking might be different. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please check all the possibilities.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 18:23:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-found-exception/m-p/7154312#M1515092</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-11T18:23:44Z</dc:date>
    </item>
    <item>
      <title>Re: Read_text not_found exception</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-found-exception/m-p/7154313#M1515093</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;No the problem is with language. When I get the language parameter, it gets A for Anglais (english in french) and the read text tries to reach an AR text (arabic) and I don't have such a text.&lt;/P&gt;&lt;P&gt;So I initialized a local variable to 'EN' and use it in the input parameter and now it workfs.&lt;/P&gt;&lt;P&gt;Crazy !!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Aug 2010 18:38:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read-text-not-found-exception/m-p/7154313#M1515093</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-08-11T18:38:02Z</dc:date>
    </item>
  </channel>
</rss>

