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: 

Error in Code Insepector (ecc 6)

Former Member
0 Kudos

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

Former Member
0 Kudos

Where we have to declare text elements ?

Tell me in detail how to solve ?

6 REPLIES 6

Former Member
0 Kudos

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

Krishna K

Former Member
0 Kudos

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

former_member208856
Active Contributor
0 Kudos

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

Former Member
0 Kudos

Where we have to declare text elements ?

Tell me in detail how to solve ?

0 Kudos

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

Former Member
0 Kudos

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.