<?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 in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/read/m-p/1619717#M277287</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks, Naren !&lt;/P&gt;&lt;P&gt;It is working now !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 18 Oct 2006 18:32:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-10-18T18:32:59Z</dc:date>
    <item>
      <title>READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read/m-p/1619715#M277285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Im using the Read Text FM in a user exit like the code below.&lt;/P&gt;&lt;P&gt;The problem is when no data is found in the table STXH pops up a error msg that no data was found (a error msg from the Read Text FM).&lt;/P&gt;&lt;P&gt;But I want to ignore this  msg and treat this case outside the FM. &lt;/P&gt;&lt;P&gt;Like below&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                            =  'B03'&lt;/P&gt;&lt;P&gt;     language                      =  p_langu&lt;/P&gt;&lt;P&gt;     name                          =  p_name&lt;/P&gt;&lt;P&gt;     object                        = 'EBAN'&lt;/P&gt;&lt;P&gt;   archive_handle                  =  0&lt;/P&gt;&lt;UL&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                         = itab_lines&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;EXCEPTIONS&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  ID                            = 1&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  LANGUAGE                      = 2&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NAME                          = 3&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NOT_FOUND                     = 4&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OBJECT                        = 5&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  REFERENCE_CHECK               = 6&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRONG_ACCESS_TO_ARCHIVE       = 7&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  OTHERS                        = 8&lt;/P&gt;&lt;/LI&gt;&lt;/UL&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;msg&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="4" type="ul"&gt;&lt;P&gt;I need to test here if no data was found. &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt; if itab_lines[] is initial.&lt;/P&gt;&lt;P&gt;    message e264(zmm).&lt;/P&gt;&lt;P&gt; endif.&lt;/P&gt;&lt;P&gt;I hope you understand what I mean.&lt;/P&gt;&lt;P&gt;Many thanks.&lt;/P&gt;&lt;P&gt;Ann&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 18:03:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read/m-p/1619715#M277285</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T18:03:43Z</dc:date>
    </item>
    <item>
      <title>Re: READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read/m-p/1619716#M277286</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;Uncomment the exceptions..Then it will set the sy-subrc. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;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;P&gt;&lt;/P&gt;&lt;P&gt;endif.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Naren&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 18:06:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read/m-p/1619716#M277286</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T18:06:29Z</dc:date>
    </item>
    <item>
      <title>Re: READ</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/read/m-p/1619717#M277287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Many Thanks, Naren !&lt;/P&gt;&lt;P&gt;It is working now !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Oct 2006 18:32:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/read/m-p/1619717#M277287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-10-18T18:32:59Z</dc:date>
    </item>
  </channel>
</rss>

