Remove Invalid characters or Special Chars
We can remove special characters by using below standard
functional module.
CALL FUNCTION 'SCP_REPLACE_STRANGE_CHARS'
EXPORTING
INTEXT = SOURCE_FIELDS-FIELDNAME
REPLACEMENT = 46
IMPORTING
OUTTEXT = RESULT.
EXPORTING
INTEXT = SOURCE_FIELDS-FIELDNAME
REPLACEMENT = 46
IMPORTING
OUTTEXT = RESULT.
CONDENSE RESULT NO-GAPS.
TRANSLATE RESULT TO UPPER CASE.
IF RESULT CO '!'.
RESULT = '.'.
ENDIF.
TRANSLATE RESULT TO UPPER CASE.
IF RESULT CO '!'.
RESULT = '.'.
ENDIF.
thanks dude, iam so cool after finding your blog information, its really usefull to me thank you so much.
ReplyDeletewho are want to learn.http://goo.gl/i0ddiO