on 02-19-2019 6:11 AM
Hi All,
I need to display CDS view data along with an internal table data.
Generally to display CDS view as an ALV we use cl_salv_gui_table_ida=>create_for_cds_view and populate the field catalog and set the view parameter values.
How do we append an internal table data along with the CDS view data and display in a siingle ALV.
Kindly guide. Thanks in advance for your valuable information.
Thanks & Regards,
Archana A
Hi Archana A,
It is not possible to do that as alv is tightly integrated to the CDS view..
What you can do is union between those two tables, which will solve your issue.
https://help.sap.com/doc/abapdocu_751_index_htm/7.51/en-US/abencds_f1_union.htm
BR,
Mahesh
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
if you are using the AMDP coding then you can use the Union
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Mahesh,
Yes, business requirement is as such that we need to append a custom table data which will have historic data along with CDS data which will have current data. Aggregating both data as per our requirement is not possible in CDS. So is there any way to append the CDS data along with an internal table data and display in alv.
Thanks a lot for your help Mahesh!!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
83 | |
24 | |
12 | |
9 | |
7 | |
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.