04-25-2007 4:15 PM
After doing extended program check, I get the following error on my statement
v_timestamp = 'Created On'.
Char. strings w/o text elements will not be translated:
''Created On''
(The message can be hidden with "#EC NOTEXT)
How to resolve this?
04-25-2007 4:21 PM
Hi Megan,
you have to declare a text element for hard coded texts.
\v_timestamp = 'Created On'(001).
double click on 001 and create the text element.
regards,
ravi
04-25-2007 4:17 PM
by use this code..
v_timestamp = 'Created On'. "#EC NOTEXT
~Suresh
04-25-2007 4:18 PM
04-25-2007 4:20 PM
hiding the warning.. the syntax checker ignores the warning when it encounters a "#EC NOTEXT in the statement.
~Suresh
04-25-2007 4:21 PM
Hi,
If you put "#ec * at the end of a abap code row, you can suppress the warnining messages of extended program check.
Every kind of warning has own sign, you find out them while running extended check.
It's a way to clear the useless messages.
If you don't want to hide, please use text element.
move TEXT-001 to v_timestamp.
Regards,
Ferry Lianto
04-25-2007 4:21 PM
Hi!
This is called "hard coding".
You can avoid this using text objects, like this:
v_timestamp = text-ts1.
Double click on the ts1 text and type the 'Created On' into the text.
Regards
Tamá
04-25-2007 4:21 PM
04-25-2007 4:21 PM
Hi Megan,
you have to declare a text element for hard coded texts.
\v_timestamp = 'Created On'(001).
double click on 001 and create the text element.
regards,
ravi