Quantcast
Channel: SCN: Message List - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 2110

Help with AMDP procedure - For all Entries

$
0
0

Hi Experts,

 

I want to write a AMDP procedure by passing an internal table as where condition.

 

What would be the best approach? Our system is NW 7.4. I have used APPLY FILTER function but it didn't work.

 

My input internal table looks like this:

ConsumerDate LowDate High
100101.01.201531.12.2016
100201.01.201430.06.2014

 

Table in HANA DB

ConsumerDateSales
100101.01.201410
100101.01.201510
100118.08.201610
100201.01.201410
100202.02.201410
100230.06.201410
100201.01.201610

 

Output internal Table

ConsumerSum of Sales
100120
100230

 

 

Looping my internal table and getting the sum for each record will work but as you know it is performance killer.

 

I would be calling this procedure in a BW transformation where data come in package of 50000 records(so my input internal table can contain 50,000 records at a time) .


Viewing all articles
Browse latest Browse all 2110

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>