Application Development 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: 

Extended Program Check

Former Member
0 Kudos

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?

1 ACCEPTED SOLUTION

former_member181962
Active Contributor
0 Kudos

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

7 REPLIES 7

suresh_datti
Active Contributor
0 Kudos

by use this code..


v_timestamp        = 'Created On'. "#EC NOTEXT

~Suresh

Former Member
0 Kudos

What exactly is this doing ?

0 Kudos

hiding the warning.. the syntax checker ignores the warning when it encounters a "#EC NOTEXT in the statement.

~Suresh

ferry_lianto
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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á

Former Member
0 Kudos

Is there no way to resolve the warning rather than hiding it?

former_member181962
Active Contributor
0 Kudos

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