<?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: Can we loop an internal table inside AMDP method in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684754#M1945941</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Binod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have concern about performance then you should have to choose AMDP....&lt;/P&gt;&lt;P&gt;But now advanced open SQL also pretty much faster and has compatibility with HDB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your case you can go with advanced open SQL over AMDP , since it does not have performance impact is my assumptions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess Thomas has given you best possible answer...&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;-Amol S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 19 May 2016 14:56:57 GMT</pubDate>
    <dc:creator>amol_samte</dc:creator>
    <dc:date>2016-05-19T14:56:57Z</dc:date>
    <item>
      <title>Can we loop an internal table inside AMDP method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684749#M1945936</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Expert,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help me for the below points:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Can we loop an internal table inside AMDP method.&lt;/P&gt;&lt;P&gt;2. Can we write delete adjacent duplicate.... inside AMDP method.&lt;/P&gt;&lt;P&gt;3. What all operation we can do inside the AMDP method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt; If yes please help me with an example.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Thanks &amp;amp; Best Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333px;"&gt;Kailash&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 07:44:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684749#M1945936</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-19T07:44:34Z</dc:date>
    </item>
    <item>
      <title>Re: Can we loop an internal table inside AMDP method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684750#M1945937</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;1. Can we loop an internal table inside AMDP method.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Better don't do it. Your performance will go down.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;2. Can we write delete adjacent duplicate.... inside AMDP method.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;itab = select distinct * from :itab;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;3. What all operation we can do inside the AMDP method.&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Have a look at the SQL Script Reference in &lt;A href="http://help.sap.com/hana/SAP_HANA_SQL_Script_Reference_en.pdf" title="http://help.sap.com/hana/SAP_HANA_SQL_Script_Reference_en.pdf"&gt;http://help.sap.com/hana/SAP_HANA_SQL_Script_Reference_en.pdf&lt;/A&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;&lt;/P&gt;&lt;P style="font-size: 12px; color: #333333; background: #ffffff;"&gt;Best Regards, Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 11:31:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684750#M1945937</guid>
      <dc:creator>thomasgauweiler</dc:creator>
      <dc:date>2016-05-19T11:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can we loop an internal table inside AMDP method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684751#M1945938</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Thomas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 11:57:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684751#M1945938</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-19T11:57:00Z</dc:date>
    </item>
    <item>
      <title>Re: Can we loop an internal table inside AMDP method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684752#M1945939</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Thomas,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My requirement is first i wiil fetch data from table VBRK and VBRP by doing the join operation, then I will keep that data into another table for further use. From the second internal table I will delete the duplicate entry and I will use that internal table to fetch data from other table.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to write this type of logic inside the AMDP method.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Best Regards,&lt;/P&gt;&lt;P&gt;Kailash&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 12:38:35 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684752#M1945939</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-19T12:38:35Z</dc:date>
    </item>
    <item>
      <title>Re: Can we loop an internal table inside AMDP method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684753#M1945940</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try it like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;first_itab = SELECT .. FROM VBRK JOIN VBRP ... ;&lt;/P&gt;&lt;P&gt;second_itab = SELECT DISTINCT ... FROM :first_itab;&lt;/P&gt;&lt;P&gt;third_itab = SELECT ... FROM OTHERTABLE JOIN :second_itab;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Why do you want to write that logic in AMDP ? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards, Thomas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 14:04:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684753#M1945940</guid>
      <dc:creator>thomasgauweiler</dc:creator>
      <dc:date>2016-05-19T14:04:45Z</dc:date>
    </item>
    <item>
      <title>Re: Can we loop an internal table inside AMDP method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684754#M1945941</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Binod,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have concern about performance then you should have to choose AMDP....&lt;/P&gt;&lt;P&gt;But now advanced open SQL also pretty much faster and has compatibility with HDB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For your case you can go with advanced open SQL over AMDP , since it does not have performance impact is my assumptions...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I guess Thomas has given you best possible answer...&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;-Amol S&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 19 May 2016 14:56:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684754#M1945941</guid>
      <dc:creator>amol_samte</dc:creator>
      <dc:date>2016-05-19T14:56:57Z</dc:date>
    </item>
    <item>
      <title>Re: Can we loop an internal table inside AMDP method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684755#M1945942</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Thomas.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 May 2016 06:06:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684755#M1945942</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-05-20T06:06:32Z</dc:date>
    </item>
    <item>
      <title>Re: Can we loop an internal table inside AMDP method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684756#M1945943</link>
      <description>&lt;P&gt;There is a scenario where as I can't avoid loop. I have 2 ways to achieve it. 1st way is writing loop in AMDP. And 2nd way is writing loop in Report. Please let me know which way is better.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 03:26:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684756#M1945943</guid>
      <dc:creator>selva123</dc:creator>
      <dc:date>2020-10-12T03:26:07Z</dc:date>
    </item>
    <item>
      <title>Re: Can we loop an internal table inside AMDP method</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684757#M1945944</link>
      <description>&lt;P&gt;  &lt;SPAN class="mention-scrubbed"&gt;selva123&lt;/SPAN&gt; &lt;/P&gt;&lt;P&gt;It's probably better to raise your own question rather than hijacking an old one.&lt;/P&gt;</description>
      <pubDate>Mon, 12 Oct 2020 10:24:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/can-we-loop-an-internal-table-inside-amdp-method/m-p/11684757#M1945944</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2020-10-12T10:24:50Z</dc:date>
    </item>
  </channel>
</rss>

