Dear All,
I am having a problem with REPLACE ALL OCCURRENCES when using it in Smartform.
The code from my Smartfom is as below :
LOOP AT zline INTO lwa_zline. REPLACE ALL OCCURRENCES OF '#' IN lwa_zline-tdline WITH space IN CHARACTER MODE. MODIFY zline FROM lwa_zline. ENDLOOP.
This code works fine if written in a report but does not replace character # when written in Smartform.
Pls help.
regards,
Jinson.