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

Error in Code Insepector (ecc 6)

Former Member
0 Likes
1,248

HI...

How to slove below code inspector Error ?

Program ZFIIN_REP_GRIR Include ZFIIN_REP_GRIR Row 69 Column 0

Char. strings w/o text elements will not be translated:

'G/L Account '

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
892

Where we have to declare text elements ?

Tell me in detail how to solve ?

6 REPLIES 6
Read only

Former Member
0 Likes
892

Create a text element and use that text element instead of the text.

Krishna K

Read only

Former Member
0 Likes
892

Hi,

If you declare hard code text with caps and small letters then you will get this message

declare text element for the same

then it wont show any errors

this is becuase it will nott be translated if you use text ID

Regards

Shiva

Read only

Former Member
0 Likes
892

hi,

you are using hard code 'G/L Account'

use constant for using the same as below :

CONSTANTS : c_a(20) VALUE 'G/L Account'.

and use c_a in place of hard code.

Regards,

Sandeep kaushik

Read only

Former Member
0 Likes
893

Where we have to declare text elements ?

Tell me in detail how to solve ?

Read only

0 Likes
892

goto your program in SE38

click on menu --> goto --> text elements --> text symbols.

Give (number) 001 (text) G/L Account

Save & Activate.

and in your code use text-001 in place of 'G/L Account'

Regards,

Sandeep

Read only

Former Member
0 Likes
892

Hi,

Create a text element for GL Account.

Example :

GL Account'001'.

Double click on the 001 it will display a pop window to create a text element. Click on yes button it will create a text element with 001 value as GL Account. Save and activate.

Check the code once again with Code Inspector, you will not see this message.

Thanks,

Sriram Ponna.