‎2006 Oct 11 6:32 AM
Hi all,
I have below piece of code in 1 program ...
do.
replace ',' with space into w_mbew.
if sy-subrc > 0.
exit.
endif.
enddo.
It works fine when unicode attribute set. But the moment i set the unicode attribute and activate the program, i get a syntax error which reads as below -
"W_MBEW" must be a character-type data object (data type C,N,D,T or String)"
The work area W_MBEW is of type MBEW.
Can anyone guide me to fix this error.
Will definitely reward points.
Amogh
‎2006 Oct 11 6:41 AM
Hello,
It seems like you're trying to replace a character in any field of W_MBEW. Try to make the replacement in a single field.