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

Extended Program Check

Former Member
0 Likes
1,120

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
Read only

Former Member
0 Likes
1,087

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
Read only

suresh_datti
Active Contributor
0 Likes
1,087

by use this code..


v_timestamp        = 'Created On'. "#EC NOTEXT

~Suresh

Read only

Former Member
0 Likes
1,087

What exactly is this doing ?

Read only

0 Likes
1,087

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

~Suresh

Read only

ferry_lianto
Active Contributor
0 Likes
1,087

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

Read only

Former Member
0 Likes
1,087

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á

Read only

Former Member
0 Likes
1,087

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

Read only

Former Member
0 Likes
1,088

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