Validate ABAP code

You can do "Program>Check>Extended Program Check". Check all the boxes and execute. It will tell you all those literals which are hard-coded like this with a warning saying that they may not be translated.
Alternately, you can also use transaction SLIN

The results are shown as following. You can double click on errors etc. for more details.