<?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: Count rows in table with condition using build in BAPI in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/count-rows-in-table-with-condition-using-build-in-bapi/m-p/12405731#M1996052</link>
    <description>&lt;P&gt;I need to use a RFC Enabled BAPI or FM as the call will come from an external system. I.e. can't do ABAP. Thanks!&lt;/P&gt;</description>
    <pubDate>Wed, 01 Sep 2021 14:13:11 GMT</pubDate>
    <dc:creator>daphneo</dc:creator>
    <dc:date>2021-09-01T14:13:11Z</dc:date>
    <item>
      <title>Count rows in table with condition using build in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/count-rows-in-table-with-condition-using-build-in-bapi/m-p/12405728#M1996049</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;
  &lt;P&gt;Is it possible to count the number of rows in a filtered table using a build-in FM or BAPI call?&lt;/P&gt;
  &lt;P&gt;EM_GET_NUMBER_OF_ENTRIES seems to only count total rows in table, but I would like to count, for example, the records in USR02 where GLTGV &amp;gt; '2020-01-01'.&lt;/P&gt;
  &lt;P&gt;It is possible when working in SE16n by pressing F7, and I'm hoping to do the same but by calling a standard FM or BAPI (without downloading all rows in the table)&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 09:18:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/count-rows-in-table-with-condition-using-build-in-bapi/m-p/12405728#M1996049</guid>
      <dc:creator>daphneo</dc:creator>
      <dc:date>2021-09-01T09:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: Count rows in table with condition using build in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/count-rows-in-table-with-condition-using-build-in-bapi/m-p/12405729#M1996050</link>
      <description>&lt;P&gt;The FM you listed above itself uses a Select Count statement. &lt;/P&gt;&lt;P&gt;Since you need to have a custom filter condition, you will mostly have to write your own Select Count query to get the required count. &lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 13:36:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/count-rows-in-table-with-condition-using-build-in-bapi/m-p/12405729#M1996050</guid>
      <dc:creator>ashiqali_ratnani</dc:creator>
      <dc:date>2021-09-01T13:36:17Z</dc:date>
    </item>
    <item>
      <title>Re: Count rows in table with condition using build in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/count-rows-in-table-with-condition-using-build-in-bapi/m-p/12405730#M1996051</link>
      <description>&lt;P&gt;Can't you use SQL?&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SELECT COUNT(*) FROM USR02 WHERE GLTGV &amp;gt; '20200101' INTO @DATA(counter).&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 01 Sep 2021 13:55:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/count-rows-in-table-with-condition-using-build-in-bapi/m-p/12405730#M1996051</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2021-09-01T13:55:28Z</dc:date>
    </item>
    <item>
      <title>Re: Count rows in table with condition using build in BAPI</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/count-rows-in-table-with-condition-using-build-in-bapi/m-p/12405731#M1996052</link>
      <description>&lt;P&gt;I need to use a RFC Enabled BAPI or FM as the call will come from an external system. I.e. can't do ABAP. Thanks!&lt;/P&gt;</description>
      <pubDate>Wed, 01 Sep 2021 14:13:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/count-rows-in-table-with-condition-using-build-in-bapi/m-p/12405731#M1996052</guid>
      <dc:creator>daphneo</dc:creator>
      <dc:date>2021-09-01T14:13:11Z</dc:date>
    </item>
  </channel>
</rss>

