<?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: SLIN ERROR in REPORT in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323784#M1030280</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;The LOOP statement processing will be limited&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;your code looks like will be execute only for one value &lt;STRONG&gt;wa_po-ebelp&lt;/STRONG&gt; untill you are not using nested loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT i_ekes INTO wa_ekes WHERE ebeln = wa_po-ebeln
AND ebelp = wa_po-ebelp."&amp;lt;-- holding only single value
AT END OF ebelp.
V_CARRY_501 = c_x.
ENDAT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Interaction with group change processing (AT NEW, ...) is undefined&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are using &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT END OF ebelp&lt;/STRONG&gt; means we can say it works as at last in your case.cause  ebelp have only one value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your query seems interesting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 26 Aug 2008 12:37:36 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-08-26T12:37:36Z</dc:date>
    <item>
      <title>SLIN ERROR in REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323780#M1030276</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;I am getting the following SLIN error for my report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Code Snippet.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    LOOP AT i_ekes INTO wa_ekes WHERE ebeln = wa_po-ebeln&lt;/P&gt;&lt;P&gt;                                AND   ebelp = wa_po-ebelp.&lt;/P&gt;&lt;P&gt;      AT END OF ebelp.&lt;/P&gt;&lt;P&gt;        V_CARRY_501 = c_x.&lt;/P&gt;&lt;P&gt;      ENDAT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SLIN Error:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The LOOP statement processing will be limited&lt;/P&gt;&lt;P&gt;(FROM, TO and WHERE additions in LOOP)&lt;/P&gt;&lt;P&gt;Interaction with group change processing (AT NEW, ...) is undefined&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points Assured,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viji.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:29:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323780#M1030276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:29:19Z</dc:date>
    </item>
    <item>
      <title>Re: SLIN ERROR in REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323781#M1030277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;generally we use AT Statement inside a Sorted Loop inder to have a structured block output. So just try with the code removing the where condition.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:32:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323781#M1030277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:32:08Z</dc:date>
    </item>
    <item>
      <title>Re: SLIN ERROR in REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323782#M1030278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;I cant able ot remove the WHERE condition. Its necessary as part of my code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Viji&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:34:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323782#M1030278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:34:36Z</dc:date>
    </item>
    <item>
      <title>Re: SLIN ERROR in REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323783#M1030279</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;PRE&gt;&lt;CODE&gt;LOOP AT i_ekes INTO wa_ekes WHERE ebeln = wa_po-ebeln
AND ebelp = wa_po-ebelp.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Because of the above loop statement you are not reading all the values from the internal table that means you are filtering the data ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;AT END OF ebelp.
V_CARRY_501 = c_x.
ENDAT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;and inside the loop you are using control break events and  since you are filtering the data in the internal table and suppose if the read records are not full ie the AT END OF &amp;lt;FIELD &amp;gt; reached or not it is not assured. so remove WHERE Condition&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Pavan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:35:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323783#M1030279</guid>
      <dc:creator>bpawanchand</dc:creator>
      <dc:date>2008-08-26T12:35:16Z</dc:date>
    </item>
    <item>
      <title>Re: SLIN ERROR in REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323784#M1030280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;The LOOP statement processing will be limited&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;your code looks like will be execute only for one value &lt;STRONG&gt;wa_po-ebelp&lt;/STRONG&gt; untill you are not using nested loops.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;LOOP AT i_ekes INTO wa_ekes WHERE ebeln = wa_po-ebeln
AND ebelp = wa_po-ebelp."&amp;lt;-- holding only single value
AT END OF ebelp.
V_CARRY_501 = c_x.
ENDAT.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;Interaction with group change processing (AT NEW, ...) is undefined&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you are using &lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AT END OF ebelp&lt;/STRONG&gt; means we can say it works as at last in your case.cause  ebelp have only one value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;your query seems interesting&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Amit.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:37:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323784#M1030280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:37:36Z</dc:date>
    </item>
    <item>
      <title>Re: SLIN ERROR in REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323785#M1030281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Vijaya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do not use AT - ENDAT(Control Break Statements) in a LOOP-ENDLOOP with &lt;STRONG&gt;WHERE&lt;/STRONG&gt; condition. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Chandra Sekhar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:41:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323785#M1030281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-26T12:41:19Z</dc:date>
    </item>
    <item>
      <title>Re: SLIN ERROR in REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323786#M1030282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;As per SAP documentation u should not use AT events with where clause. SAP will not give guarenty on the functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace the logic like below.&lt;/P&gt;&lt;P&gt;SORT i_ekes BY ebelp.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOOP AT i_ekes INTO wa_ekes.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;CHECK wa_ekes-ebeln = wa_po-ebeln&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;AND wa_ekes-ebelp = wa_po-ebelp.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;AT END OF ebelp.&lt;/P&gt;&lt;P&gt;V_CARRY_501 = c_x.&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also at what position is the field &lt;STRONG&gt;EBELP&lt;/STRONG&gt;?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is not the first field then till that field it takes the key.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;eg: EBELP is 3rd field in ur itab then when ever field1 or 2 or 3(EBELP) changes then control enters to AT event.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way could be like this.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;i_ekes_temp [] = i_ekes[].&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;DELETE i_ekes_temp WHERE wa_ekes-ebeln NE wa_po-&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;ebeln AND wa_ekes-ebelp NE wa_po-ebelp.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;SORT  i_ekes_temp BY ebelp.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;LOOP AT i_ekes_temp INTO wa_ekes.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;AT END OF ebelp.&lt;/P&gt;&lt;P&gt;V_CARRY_501 = c_x.&lt;/P&gt;&lt;P&gt;ENDAT.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I feel first approach is better.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it is clear.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Vinod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Vinod Reddy Vemuru on Aug 26, 2008 6:17 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Aug 2008 12:46:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323786#M1030282</guid>
      <dc:creator>vinod_vemuru2</dc:creator>
      <dc:date>2008-08-26T12:46:16Z</dc:date>
    </item>
    <item>
      <title>Re: SLIN ERROR in REPORT</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323787#M1030283</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;Thanks alot. My issue got solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Points awarded. &lt;/P&gt;&lt;P&gt;Thanks Vinod.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Viji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: VijayaLakshmi Krishnaswamy on Aug 27, 2008 7:43 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 27 Aug 2008 05:43:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/slin-error-in-report/m-p/4323787#M1030283</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-08-27T05:43:22Z</dc:date>
    </item>
  </channel>
</rss>

