on 02-18-2019 12:38 PM
Hi everyone,
I use CDS annotations to define column names and tooltips. Tooltips work fine, but there is a problem with texts: they appear only for narrow columns (in other words, as a short text), and when I have columns wide enough or change the column width manually, I see texts from underlying data element instead.
Example:
define view Ztest_missing_text
as select from S_Flights
{
@EndUserText.quickInfo: 'ID'
@EndUserText.label: 'ID'
key CarrierId,
@EndUserText.quickInfo: 'Number'
@EndUserText.label: 'Number'
key ConnectionId
}
Narrow columns - texts from CDS annotations:
Normal (medium) columns - texts from data element:
Is it possible to fix it by means of CDS View? Or the only possibility is to edit a field catalog in the ABAP program?
Regards, Ilya
Hi Ilya,
not sure if you are still searching for a solution, but just to be sure, here is my proposal.
So far the only solution I found was to create data elements in data dictionary and cast the element in the CDS view to this data element.
For example:
cast( ConnectionId as ZCONNID ) as ConnectionId
You are then able to maintain all labels and translations in the data element ZCONNID.
Best regards,
Andreas
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.