2020 May 23 4:23 AM
While working with CDS with association is there any Message Command to the show the user that no data found instead of showing that empty internal table
2020 May 23 6:05 AM
saisiva.veerla,
I don't think you have a provision for the same in CDS views, what you can do is call the CDS in your ABAP report and you can notify the user from your ABAP report.
Am still not clear though why would user execute CDS directly?
Regards!
2020 May 24 11:14 PM
You need to take care of this in the consumption domain.
if you have a SELECT statement in ABAP code, then you can code this easily.
Is the question about generated OData services? Fiori UI? Some kind of analytical consumption? Or about a specific UI Building Block in FPM?
2020 May 25 5:03 AM
2020 May 25 9:43 AM
In case the consumer of the OData service is a computer program, interpreting empty tables might be easier then interpreting the texts, so I would recommend this on the UI layer
Do you mean Fiori App based on OData service? Then most likely a question for Fiori / UI5.
Check https://experience.sap.com/fiori-design-web/responsive-table/ which recommends properties showNoData and noDataText for the responsive table -- these properties are typically there for the other table-like controls, too.