on 08-23-2005 1:27 AM
hi,
i have a keyfig with value " #34441 ". i want to remove the pound symbol, tried adding in transaction RSKC and it didn't help. do i need to write any abap code to get rid of it.
~rahul
Yes..
You would write an ABAP code for it..
You could also try to do a source system clean up coz I donot think its a valid value for the Key Figure.
Ashish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Rahul,
This code will not workas far as my understanding of ABAP goes...
You will have to go thru the value character by character and replace the # with space or if # is always at the beginning of the value..pick up everything except the first character...
Hope few expert ABAPers will give you the exact code..
Meanwhile I will try and find a suitable example for you..
Ashish
Hi Rahul,
sign may represent any special character. To remove it you have to write an ABAP start routine in transfer rules.
In the following link you can find a comprehensive discussion of the problem and several pieces of code:
The code proposed by Rob Veenstra will eliminate all the chars not declared in the code as permitted.
Best regards,
Eugene
Rahul,
If the # symbol is the only symbol that you want to eliminate from the value. Then this would eliminate it where ever it occurs.
len = STRLEN(keyfigure).
WHILE i LE len.
if keyfigure+i(1) NE '#'.
CONCATINATE value keyfigure+i(1) INTO value.
endif.
i = i + 1.
LOOP.
keyfigure = value
Hope this helps.....
User | Count |
---|---|
85 | |
10 | |
10 | |
9 | |
6 | |
6 | |
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.