‎2008 Oct 07 4:45 PM
Hi Guys/Dolls,
We're in the process of converting our programs to make them unicode compliant.
I'm having problem with one of them.
When I run UCCHECK on the program I get the following messages:-
"R_SCLAS-LOW" and "HEX00" are mot mutually convertable in a unicode program.
"R_SCLAS-HIGH" and "HEXFF" are mot mutually convertable in a unicode program.
My code snippet is as follows:-
ranges: r_sclas for hrp1001-sclas,
r_otype for hrp1001-otype.
r_sclas-sign = 'I'.
r_sclas-option = 'BT'.
r_sclas-low = hex00.
r_sclas-high = hexff.
append r_sclas.Any of you guru's got any ideas on how I can fix this to make it uncode compliant.
I would appreciate it if you could show me new code snippet based on my own code so the changes are easily identifiable.
Many thanks in advance.
Raj
‎2008 Oct 07 5:26 PM
Hello Raj
If you do not need the range for DB selection then you can replace the range selection as following:
LOOP AT itab INTO ls_record
WHERE ( <field> IN r_sclas ).
...
ENDLOOP.
LOOP AT itab INTO ls_record
WHERE ( <field> BETWEEN hex00 AND hexff ).
...
ENDLOOP.
Regards
Uwe
PS: Be aware that there is not a single doll in the SDN that will help you...
‎2008 Oct 07 9:01 PM
Ranges is an obsolete command.
What is hex00 & hexff? Are they type compatible with hrp1001-sclas?
‎2008 Oct 08 3:43 AM
Hi,
Just make both of that same type with same length.... e.g char(10) and char(10).. it should be fine then...
Madan...