2006 Jun 02 8:47 AM
Hi
I'm working in unicode Project. I'm facing a problem with Translate statement.
The statement like this :
Translate trec to uppercase.
BEGIN OF trec,
string(748),
carriage_return(1) TYPE x,
END OF trec.
The error is "TREC must be character data type object.
I tried to fix with byte mode edition but not worked
Please help me
Hi ,
TREC should be Char variable.
<b>Thanks,
Venkat.O</b>
2006 Jun 02 8:50 AM
In Unicode TRANSLATE can be only dealed with character set. Hence you should use.
Translate trec-string to uppercase.Cheers,
Thomas.
2006 Jun 02 9:14 AM
2006 Jun 02 9:30 AM
Hi sapien,
1. This is not a unicode problem.
2. The problem is in the syntax and its usage.
3.
data : BEGIN OF trec,
string(748),
carriage_return(1) TYPE x,
END OF trec.
Translate <b>trec-string</b> to upper case.
4. Translate works on Character data type,
and not on structures directly.
We have to convert EACH FIELD of structure
regards,
amit m.
| User | Count |
|---|---|
| 3 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |