06-23-2007 7:48 AM
I WANT TO REMOVE THE '#' SYMBOL FROM THE STIRNG FEILD WHILE LODADING.
EXAMPLE : FILED CONTAINS-SIVA # #.
tHANKS,
SIVAGOPAL R
06-23-2007 7:49 AM
06-23-2007 7:53 AM
try this
data : text1(50) value 'ABC##DEF'.
replace all occurrences of '#' in text1 with space.
condense text1 no-gaps.
write : / text1.
regards
shiba dutta
06-23-2007 10:55 AM
Hi Gopi
You can use the FM ''SF_SPECIALCHAR_DELETE'" to delete the special characters.
Eg:
sp_char contains "sachin#",
then the following code will give work and
normal_char will contain "sachin" removing the #
====
CALL FUNCTION 'SF_SPECIALCHAR_DELETE'
EXPORTING
WITH_SPECIALCHAR = sp_char
IMPORTING
WITHOUT_SPECIALCHAR = normal_char
====
Please reward if useful.
regards,
sachin