<?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: Line_exists - odd compiler error in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662666#M1944434</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw the same thing, but I thought it was in reference to the actual table read statement in terms of not storing a reference to the found line, not the result of the check. My assumption is that the result of the check is reported somewhere in order for the IF statement to be able to access it. I might be reading it wrong though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 08 Apr 2016 20:55:40 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2016-04-08T20:55:40Z</dc:date>
    <item>
      <title>Line_exists - odd compiler error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662664#M1944432</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I was trying to use line_exists today and ran into an unexpected issue you can see below. When I use line_exists for an if statement expression, it handles the usage correctly. If I try to save the value directly to a boolean variable however, it will fail with the odd "line_exists( expected, not line_exists(" error. Just curious if anybody knew if there was a note out there to address this problem or if this is not allowed usage for line_exists.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/926128" width="450" /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 19:43:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662664#M1944432</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-08T19:43:29Z</dc:date>
    </item>
    <item>
      <title>Re: Line_exists - odd compiler error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662665#M1944433</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;According to SAP Help, the table expression line_exists is only used to check the existence of the specified row. No temporary result is created.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think you can't assign the result to a variable, the result doesn't exist.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Abde.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 20:32:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662665#M1944433</guid>
      <dc:creator>former_member313370</dc:creator>
      <dc:date>2016-04-08T20:32:31Z</dc:date>
    </item>
    <item>
      <title>Re: Line_exists - odd compiler error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662666#M1944434</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I saw the same thing, but I thought it was in reference to the actual table read statement in terms of not storing a reference to the found line, not the result of the check. My assumption is that the result of the check is reported somewhere in order for the IF statement to be able to access it. I might be reading it wrong though!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 08 Apr 2016 20:55:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662666#M1944434</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-04-08T20:55:40Z</dc:date>
    </item>
    <item>
      <title>Re: Line_exists - odd compiler error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662667#M1944435</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;just in case, you should use rv_is_dc = boolc( line_exists( ... ) ).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 09 Apr 2016 04:49:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662667#M1944435</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2016-04-09T04:49:17Z</dc:date>
    </item>
    <item>
      <title>Re: Line_exists - odd compiler error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662668#M1944436</link>
      <description>&lt;P&gt;Hi &lt;SPAN class="mention-scrubbed"&gt;sandra.rossi&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;Your syntax is fine and it should be accepted as best answer. I don't know if moderators can do that. Moderators! Do it if you can. &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2023 16:17:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662668#M1944436</guid>
      <dc:creator>NemanjaSimovic</dc:creator>
      <dc:date>2023-02-26T16:17:43Z</dc:date>
    </item>
    <item>
      <title>Re: Line_exists - odd compiler error</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662669#M1944437</link>
      <description>&lt;P&gt;&lt;SPAN class="mention-scrubbed"&gt;nemanja.simovic.avnet&lt;/SPAN&gt; I guess they won't do it, it's up to the OP to select the best answer. You can post an answer so that people can find yours and possible comment. Thanks. PS: no need to mention my name.&lt;/P&gt;</description>
      <pubDate>Sun, 26 Feb 2023 20:01:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/line-exists-odd-compiler-error/m-p/11662669#M1944437</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2023-02-26T20:01:15Z</dc:date>
    </item>
  </channel>
</rss>

