on 03-26-2007 9:01 PM
Hi,
Can you help me on executing to formalas in one transformation.
I want to replace # with '' and change all lowercase characters into upper.
So I wrote the formua like this
REPLACE_ALL( '#', '', TOUPPER( DEALNAME ) )
but unable to activate it. Please suggest me on it.
Hi Kaveri,
REPLACE_ALL seems to be method of a class..
Eg:
call method textedit- >replace_all
exporting
case_sensitive_mode = case_sensitive_mode
replace_string = replace_string
search_string = search_string
whole_word_mode = whole_word_mode
changing
counter = counter
exceptions
error_cntl_call_method = 1
invalid_parameter = 2.
can you try using this way..
declare rule(20) TYPE c VALUE '#"'
TRANSLATE <b>DEALNAME</b> TO UPPER CASE.
TRANSLATE DEALNAME USING rule.
not sure if thisis what you are looking for..
Regards
Manga
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Please try putting <b>DEALNAME</b> in single quotes
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
They are two different ABAP key words.
Keep it in 2 diff lines in transformation.
Ravi Thothadri
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
89 | |
10 | |
9 | |
9 | |
9 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.