Quantcast
Channel: SCN : All Content - ABAP for SAP HANA
Viewing all articles
Browse latest Browse all 831

How to use SQL query for HANA view in AMDP Class

$
0
0

Hello Expert,

 

I want to execute SQL query on HANA view in AMDP class. How it is possible.

 

Please find below query.(ZFG_ATP_TIMEBASE is my HANA Calculation view)

 

SELECT * FROM  "_SYS_BIC"."FG_BI.ATP_NEW/ZFG_ATP_TIMEBASE"

                       WITH PARAMETERS ( 'PLACEHOLDER' =  ('$$FROM_DATE_TIME$$', '20160623010101') ,

                                                             'PLACEHOLDER' =  ('$$TO_DATE_TIME$$', '20160623121212') )

 

When I execute query in SQL console in HANA studio , it is working fine. Same I need to execute in AMDP class methods.

 

 

Please find attached screen shot of AMDP class and methods.

 

 

AMDP Error.JPG

 

Could you please help me to resolve this one.

 

Regards,

Chintan


Viewing all articles
Browse latest Browse all 831

Trending Articles



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