Application Development and Automation 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: 
Read only

Constants Strings without text elements are not translated

yasu_1096
Explorer
4,889

Hi All can anybody helpme out from that how resolve these 15 errors as 0?

screenshot-2023-10-03-164841.pngscreenshot-2023-10-03-164841.png

5 REPLIES 5
Read only

RaymondGiuseppi
Active Contributor
4,740

Basically if a text string is to be translated, define it as text symbol

(Obsolete and Dirty way, use #EC NOTEXT)

Read only

4,740

Indeed pseudo comments are obsolete https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abenpseudo_comment_slin.htm

However pragmas like ##no_text are not https://help.sap.com/doc/abapdocu_750_index_htm/7.50/en-US/abenpragma.htm

So I would suggest to

  • either introduce text symbols if string fields should be translatable
  • or use ##no_text pragma if they really should not be translated.

I don't find ##no_test pragma a dirty trick if it is used as intended.

Read only

0 Likes
4,740

For latest version of documentation on Pragmas, but as stated in my initial response, define language-dependent texts as text symbols.

Read only

4,740

Nitpicking about the words (comment targeted to yasu_1096😞 agreed to use a text symbol "if a text string is to be translated", but also to use one if it's not to be translated but is a word or sentence in the "program source language", e.g. "Finished" is a word in the English language so text symbol is required, but the job status "R" (technical code for released) or "SAP" (company name) are not to be translated so no text symbols.

Read only

Sandra_Rossi
Active Contributor
0 Likes
4,740

Better embed your other screenshot, i.e.