on 04-15-2016 7:31 AM
Hi Expert,
I have a requirement where I have to pass table as input to CDS View and query it.
similar to ABAP query like this:
select * from table_name for all entries in input_table where column_name1 = input_table-column_name into table result_table.
here in above query, as we provide input_table as an input based on which , the matching rows are queried.
So in CDS View, is there a similar SQL query where I can pass a table as an input.
Regards,
Khushdeep
Hi Khushdeep,
I am using CDS's for quite some time, I can not really imagine such case that you mentioned. In my opinion instead of using a internal table as input you may try to put the logic which creates the internal table in your CDS using joins etc or If you will call the view via ABAP you can use below alternative in ABAP Select ( Open SQL ) to have for all entries logic.
"Select * from cds_view for all entries in internal table"
Regards,
Gungor
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
7 | |
7 | |
6 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.