002 ABAP CDS - ABAP Annotations For Translatable Texts
002 ABAP CDS - ABAP Annotations For Translatable Texts
• EndUserText.quickinfo
EndUserText.quickinfo is only available as element annotation (i.e. available for
individual element). The value is stored as string and can have arbitrary length.
View Annotation
1
2
ABAP CDS on HANA
Element Annotation
Translation of Annotations
The values of text annotations are stored in special tables that have language key and
that are translatable. The value specified in the source code should consist of text in the
original language of the CDS source code and is translated into the required languages.
Translation of CDS views is done as usual in the translatable editor (T-Code SE63). A
new object type CDS view has been added to group User Interface Texts.
Please follow the below steps to translate the texts defined in the given DDL Source:
1) DDL Source whose texts need to be translated –
2
3
ABAP CDS on HANA
6) On the next dialog window, enter the name of DDL Source, the source and target
language.
3
4
ABAP CDS on HANA
7) Click on Edit.
8) Enter the texts in target language specified and click on SAVE button to save the
values.
4
5
ABAP CDS on HANA
5
6
ABAP CDS on HANA
6
7
ABAP CDS on HANA
7
8
ABAP CDS on HANA
Example –
Case 1) Source Language (English in this case)
Output –
8
9
ABAP CDS on HANA
Output –
Note – If no text is found for the language, the secondary language in AS ABAP is
used.
You may find the same information in our website article - https://sapyard.com/cds-part-14-abap-
annotations-for-translatable-texts-in-cds-views/