02-18-2018 3:45 PM
02-20-2018 11:04 PM
Hi
That's not possible at the moment, maybe SAP will use an annotation (eg @EndUserText.label) also in all backend tools...
@EndUserText.label: 'A Sum'
cast( 100 * 22 as abap.dec(11,2) ) as total,
You can already use the annotations in you custom code, if needed - tables DDHEADANNO and DDFIELDANNO or class CL_DD_DDL_ANNOTATION_SERVICE (not available with 740!)
And it's also recommended not to use the generated DDL SQL View.
regards
Domi
02-18-2018 8:00 PM
Hi.
Instead of abap.dec(11,2), did you tried with data element name.
What is the version you are using? It looks from release ABAP 750, the data element can be specified in CAST Expression, please check here
Regards
Rajkumar Narasimman
02-20-2018 6:17 AM
I tried to use data element without success.
I'm using ABAP 740 SP08.
02-20-2018 11:04 PM
Hi
That's not possible at the moment, maybe SAP will use an annotation (eg @EndUserText.label) also in all backend tools...
@EndUserText.label: 'A Sum'
cast( 100 * 22 as abap.dec(11,2) ) as total,
You can already use the annotations in you custom code, if needed - tables DDHEADANNO and DDFIELDANNO or class CL_DD_DDL_ANNOTATION_SERVICE (not available with 740!)
And it's also recommended not to use the generated DDL SQL View.
regards
Domi
02-21-2018 8:02 AM
I tried the annotation "@EndUserText.label" and it doesnt affect the description of the field =\
02-21-2018 8:06 AM
Hi
Yes, it's not yet implemented in backend now! - SAP use them eg. in CDS based GW services, but not in DDIC/DDIC related tools...
kr
Domi
02-21-2018 9:57 AM
02-21-2018 10:41 AM
09-18-2021 11:17 PM