<?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 Extended Program Check Warning For Syntax Check in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-warning-for-syntax-check/m-p/6971540#M1491355</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Warning:&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Syntax Check Warning&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;This Warning only Displayed in SLIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;WHERE lgtyp IN S_LGTYP.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp; Messages :&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp; In "SELECT SINGLE...", the where condition for the key field "LGTYP" does not test&amp;nbsp; for equality .&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp; There fore the single record yuor searching may not be unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;IF NOT S_LGTYP[] IS INITIAL.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT SINGLE * FROM T301&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE lgtyp IN S_LGTYP.----&lt;/P&gt;&lt;HR style="color: #333333; font-size: 12px; background-color: #ffffff;" /&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;gt;IT SHOWING THIS LINE&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSAGE E005(Z01).&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 08 Jun 2010 10:16:57 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-06-08T10:16:57Z</dc:date>
    <item>
      <title>Extended Program Check Warning For Syntax Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-warning-for-syntax-check/m-p/6971540#M1491355</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Warning:&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;Syntax Check Warning&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;This Warning only Displayed in SLIN&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;WHERE lgtyp IN S_LGTYP.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp; Messages :&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp; In "SELECT SINGLE...", the where condition for the key field "LGTYP" does not test&amp;nbsp; for equality .&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp; There fore the single record yuor searching may not be unique.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;IF NOT S_LGTYP[] IS INITIAL.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; SELECT SINGLE * FROM T301&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHERE lgtyp IN S_LGTYP.----&lt;/P&gt;&lt;HR style="color: #333333; font-size: 12px; background-color: #ffffff;" /&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;gt;IT SHOWING THIS LINE&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; IF SY-SUBRC NE 0.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; MESSAGE E005(Z01).&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDIF.&lt;/P&gt;&lt;P style="font-size: 12px; background-color: #ffffff; color: #333333;"&gt;ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 10:16:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-warning-for-syntax-check/m-p/6971540#M1491355</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-08T10:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Extended Program Check Warning For Syntax Check</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-warning-for-syntax-check/m-p/6971541#M1491356</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raghu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When you are using SELECT SINGLE, it is always better to use EQ in the condition than IN.&lt;/P&gt;&lt;P&gt;Instead of using select-options S_LGTYP, declare a parameter: P_LGTYP and if possible re-write the select query as below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT SINGLE * FROM T301 into lv_variable&lt;/P&gt;&lt;P&gt;WHERE lgtyp EQ  P_LGTYP .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Deepa.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 08 Jun 2010 12:43:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/extended-program-check-warning-for-syntax-check/m-p/6971541#M1491356</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-06-08T12:43:52Z</dc:date>
    </item>
  </channel>
</rss>

