Quantcast
Channel: SCN : All Content - All Communities
Viewing all articles
Browse latest Browse all 2136

BW Extractor based on Database Procedure ( HANA)

$
0
0

Hi

 

I am trying to build a BW extractor based on a database procedure I have in HANA database.

 

What I did so far is ..

 

1. Created a Proxy Procedure with Input Parameter

2. Created a Function Module in ABAP

3. Called Proxy Procedure from ABAP .  I used a loop to pass the input parameter , so that I do not get a memory bottleneck while calling the procedure.

 

This FM loads data properly via InfoPackage but InfoPackage monitor remains yellow.  Challenge is setting NO_MORE_DATA flag .  As I am not using Cursor here, how can I flag end of data loads ?  Any suggestions ?

 

Sample Code :

 

Loop at itab1 into wa .

 

Call database procedure   xyz

 

exporting  

customer = wa-customer

importing

var_out   = itab2

 

 

 

if itab2[] not initial .

 

Loop and append to e_t_data .

 

endif .

 

Endloop.





Cheers

Anindya


Viewing all articles
Browse latest Browse all 2136

Trending Articles



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