on 05-30-2008 10:50 AM
In the below mentioned code where the XYZ is there whether there should by infobject name or any other please explain me
RESULT = TRAN_STRUCTURE-/BIC/XYZ
len = strlen( RESULT ).
result1 = RESULT.
translate RESULT to UPPER CASE.
translate RESULT1 to UPPER CASE.
select single ALLOWCHAR from RSALLOWedchar into check.
clear : special, N.
if RESULT1 is not initial.
do len times.
if check NA result1+n(1).
special = result1+n(1).
if special ne space.
REPLACE ALL OCCURRENCES OF special IN RESULT WITH space.
condense RESULT.
endif.
endif.
n = n + 1.
enddo.
endif.
Hi,
well simply the code eliminates not allowed characters in a field of type character. XYZ can be replaces by any other variable, transferstructure field of type char.
regards
Siggi
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Since you are using String function, XYZ has to be an infoobject which must be present in the tRansfer Structure, of tyoe Char.
Thanks...
Shambhu
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
90 | |
10 | |
10 | |
10 | |
7 | |
7 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.