<?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: ACDOCA Select Query Issue in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/acdoca-select-query-issue/m-p/12192259#M1980878</link>
    <description>&lt;P&gt;Thankyou Frederic and Raymond,&lt;/P&gt;&lt;P&gt;For your quick response, both of you are right.&lt;/P&gt;</description>
    <pubDate>Wed, 11 Mar 2020 15:27:20 GMT</pubDate>
    <dc:creator>naveen_yadavs</dc:creator>
    <dc:date>2020-03-11T15:27:20Z</dc:date>
    <item>
      <title>ACDOCA Select Query Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/acdoca-select-query-issue/m-p/12192256#M1980875</link>
      <description>&lt;P&gt;Hello All, I am fetching data from below select query -&lt;/P&gt;
  &lt;P&gt;SELECT rldnr,&lt;BR /&gt; rbukrs AS bukrs,&lt;BR /&gt; gjahr,&lt;BR /&gt; belnr,&lt;BR /&gt; "docln AS buzei,&lt;BR /&gt; drcrk AS shkzg,&lt;BR /&gt; hsl AS dmbtr,&lt;BR /&gt; wsl AS wrbtr,&lt;BR /&gt; zuonr,&lt;BR /&gt; sgtxt,&lt;BR /&gt; rcntr AS kostl,&lt;BR /&gt; anln1,&lt;BR /&gt; racct AS saknr,&lt;BR /&gt; ps_psp_pnr AS posid,&lt;BR /&gt; kunnr,&lt;BR /&gt; lifnr,&lt;BR /&gt; "wmwst,&lt;BR /&gt; kokrs,&lt;BR /&gt; awsys,&lt;BR /&gt; "projn,&lt;BR /&gt; ebeln,&lt;BR /&gt; ebelp,&lt;BR /&gt; racct AS hkont,&lt;BR /&gt; "mwsts,&lt;BR /&gt; koart,&lt;BR /&gt; ktosl&lt;BR /&gt; FROM acdoca&lt;BR /&gt; INTO CORRESPONDING FIELDS OF TABLE @lt_bseg&lt;BR /&gt; FOR ALL ENTRIES IN @lt_bkpf&lt;BR /&gt; WHERE rbukrs = @lt_bkpf-bukrs&lt;BR /&gt; AND belnr = @lt_bkpf-belnr&lt;BR /&gt; AND gjahr = @lt_bkpf-gjahr.&lt;/P&gt;
  &lt;P&gt;where lt_bkpf-bukrs = '1000', lt_bkpf-belnr = '1000002099' and lt_bkpf-gjahr = '2020', i got 26 records in my internal table (lt_bseg).&lt;/P&gt;
  &lt;P&gt;But when i am checking in SE16N with above BUKRS, BELNR &amp;amp; GJAHR, there are 50 records.&lt;/P&gt;
  &lt;P&gt;Any solution for above issue.&lt;/P&gt;
  &lt;P&gt;Thankyou In advance.&lt;/P&gt;
  &lt;P&gt;Regards,&lt;/P&gt;
  &lt;P&gt;Naveen&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 13:13:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/acdoca-select-query-issue/m-p/12192256#M1980875</guid>
      <dc:creator>naveen_yadavs</dc:creator>
      <dc:date>2020-03-11T13:13:06Z</dc:date>
    </item>
    <item>
      <title>Re: ACDOCA Select Query Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/acdoca-select-query-issue/m-p/12192257#M1980876</link>
      <description>&lt;P&gt;FOR ALL ENTRIES removes duplicates result of the fields indicated in the SELECT.&lt;/P&gt;&lt;P&gt;&lt;EM&gt;The entire logical expression sql_cond is evaluated for each individual row of the internal table itab. The results set of the SELECT statement is the union set of the results sets produced by the individual evaluations. &lt;STRONG&gt;Rows that appear in duplicate are removed from the results set automatically.&lt;/STRONG&gt; If the internal table itab is empty, the entire WHERE condition is ignored and all rows from the database are placed in the results set.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 13:19:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/acdoca-select-query-issue/m-p/12192257#M1980876</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2020-03-11T13:19:07Z</dc:date>
    </item>
    <item>
      <title>Re: ACDOCA Select Query Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/acdoca-select-query-issue/m-p/12192258#M1980877</link>
      <description>&lt;P&gt;To prevent the FOR ALL ENTRIES suppression of duplicates I almost always extract the full primary keys of the database table, so no record will be discarded. So add fields RLDNR, and DOCLN (back) to your select and structure.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 14:21:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/acdoca-select-query-issue/m-p/12192258#M1980877</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2020-03-11T14:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: ACDOCA Select Query Issue</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/acdoca-select-query-issue/m-p/12192259#M1980878</link>
      <description>&lt;P&gt;Thankyou Frederic and Raymond,&lt;/P&gt;&lt;P&gt;For your quick response, both of you are right.&lt;/P&gt;</description>
      <pubDate>Wed, 11 Mar 2020 15:27:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/acdoca-select-query-issue/m-p/12192259#M1980878</guid>
      <dc:creator>naveen_yadavs</dc:creator>
      <dc:date>2020-03-11T15:27:20Z</dc:date>
    </item>
  </channel>
</rss>

