‎2007 Feb 26 11:03 AM
Hi All,
I am making ABAP unicode compliant. When I am running the CODE INSPECTOR for the program and I am getting following error. Please let me know how to resolve this.
<b>Error Lines</b>
Message code 1700
Program ZSDS_GROUP_DESCRIPTION include ZSDS_GROUP_DESCRIPTION row 000125
Char. string w/o text elements will not be translated.
"Group"
Message code 1700
Program ZSDS_GROUP_DESCRIPTION include ZSDS_GROUP_DESCRIPTION row 000126
Char. string w/o text elements will not be translated.
"Description"
<b>Program Lines</b>
if p_intrec = 'X'.
format color 1 on.
write: /4 'Group',
10 'Description'.
format color off.
endif.
‎2007 Feb 26 11:18 AM
Hi,
Change your code like this.
if p_intrec = 'X'.
format color 1 on.
write: /4 'Group'(001),
10 'Description'(002).
format color off.
endif.
Check that the text element with these numbers 001 and 002 doesn't exist previously or else change the number sequence. Double click on this text. A pop up will appear. Click yes and activate the text element.
Regards,
Sharmila
‎2007 Feb 26 11:07 AM
HI Yogesh,
Just put (001) behind 'Group' and (002) behind 'Description'. Then double click on (001) and (002), your text elements will be created automatically.
Regards,
John.
‎2007 Feb 26 11:18 AM
never hard coded in write statement..use text element or declare them as char constant and use..
this is good prog practice..
‎2007 Feb 26 11:18 AM
Hi,
Change your code like this.
if p_intrec = 'X'.
format color 1 on.
write: /4 'Group'(001),
10 'Description'(002).
format color off.
endif.
Check that the text element with these numbers 001 and 002 doesn't exist previously or else change the number sequence. Double click on this text. A pop up will appear. Click yes and activate the text element.
Regards,
Sharmila
‎2007 Feb 26 11:21 AM
You Should not Hardcode the text to be displayed. Use the text elements to display the text.
menu :
goto->Text elements->textSymbols.
Use those text symbols in write statement.
‎2007 Feb 26 11:32 AM