‎2007 Nov 02 10:43 AM
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 '
‎2007 Nov 02 10:58 AM
Where we have to declare text elements ?
Tell me in detail how to solve ?
‎2007 Nov 02 10:44 AM
Create a text element and use that text element instead of the text.
Krishna K
‎2007 Nov 02 10:45 AM
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
‎2007 Nov 02 10:49 AM
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
‎2007 Nov 02 10:58 AM
Where we have to declare text elements ?
Tell me in detail how to solve ?
‎2007 Nov 02 11:01 AM
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
‎2007 Nov 02 11:16 AM
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.