Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

Eclipse 2022-09 ADT -- CDS View -- Data Preview -- changed

MelCalucin
Participant
2,094

We're evaluating a new S/4 system which is on the following versions:

SAP_BASIS 757 0000 - SAP Basis Component
SAP_ABA 75H 0000 - Cross-Application Component

Our my Eclipse 2022-06 ADT would not work with this work with this system so we upgraded to Eclipse 2022-09 with the corresponding ADT modules and now we're able to see the CDS views.However, when we try to do Open Data Preview on a CDS view, a browser window pops up (I believe it's the Fiori Launchpad) and gives the following error:

It looks like it's trying to bring the Query Browser Fiori app.Can "Open Data Preview" be reconfigured to work the old way where the window is within the Eclipse IDE and not being displayed as a popup?Thanks.Regards,Mel Calucin
5 REPLIES 5

junwu
Active Contributor
0 Kudos
1,445

i have same s4 version as yours, but don't see that behavior.

wolfgang_woehrle
Product and Topic Expert
Product and Topic Expert
0 Kudos
1,445

Hello

The error message reports that there are some issues with the SAP Fiori launchpad configuration or a missing role assignment.

Does your user have permission to open the relevant app?

Kind regards,

Wolfgang

1,445

Hi Wolfgang,

Thanks for your reply.

Our Fiori technical person fixed the problem with the Fiori Query Browser app and now there is no more error and the CDS view comes up in the Fiori Query Browser in preview mode.

However, my developers and I do not like using the Fiori Query Browser app.

Is it possible to configure Eclipse or the S/4HANA 2022 system to use the old Eclipse based Data Preview? Eclipse connected to S/4HANA 2020 uses the Eclipse based Data Preview but the Eclipse connected to S/4HANA 2022 uses the Fiori Query Browser app for the Data Preview.

I also noticed Eclipse-S/4HANA 2022 launches the Fiori Query Browser only for those CDS views that have the annotation below.

@Analytics.query:true

If the CDS view doesn't have this annotation, Eclipse-S/4HANA 2022 uses the Eclipse based Data Preview.

Thanks.

Regards,

Mel Calucin

0 Kudos
1,445

I think it is meaningless to preview cds of type query in eclipse. that's why sap open fiori app for you.

carlodm0786
Newcomer
0 Kudos
1,445

Hi,

can i ask how did you solve the Problem? I have the same Issue with Eclipse 2023-09 and ADT. When I try to run "data preview" it opens fiori and calls #AnalyticQuery-preview but it doesn´t work because the parameters in the URL are wrong (for example query instead bsa_query like in your screenshot).

Thanks in advance for your help

Kind Regards,

Carlo