Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 8082

Use Select Options for CDS views in ABAP (Open SQL)

$
0
0

Hello,

 

I am new to CDS views in ABAP Dictionary so not sure whether my question is basic or complicated.

 

 

I want to create a CDS view in ABAP by joining 5-6 tables based on certain conditions and then retrieve the information from this view in my Report by passing the Select Options defined in the Report selection screen.

 

My Queries

 

a. Is the CDS view similar to a Normal Database view ?

 

b. Can I use IN select-option in my Open SQL statement to fetch information from CDS view ... e.g

 

   SELECT f1 f2 f3 from CDS-View into Internal-Table where f1 in so_f1

 

c. Is it possible to have a CDS view and code it similar to Procedure in HANA where I can make join on 2 tables and get the results in a Temp table and then again join the Temp table and a third table and fetch the results in Temp2 table?

 

 

d. If point c. is not possible in CDS view then my question is How can I pass a Select option (multiple options) to a AMDP Procedure and use that in my query to fetch the information from database

 

 

 

Regards,

Abhishek


Viewing all articles
Browse latest Browse all 8082

Trending Articles



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