‎2007 Oct 29 12:25 PM
Hi 2 ALL
In RFC i m passing user name or id for getting info abt it. but when i pass user name in small letters (as present in db table) , SAP converts it in CAPS , and RFC gives error i.e., user not found . How can i stop this conversion . plz give solution if aby body knows..
Thnzks
‎2007 Oct 29 12:59 PM
hi,
many ways to solve this problem.
one way is
The FM parameter that you are using doesn't handle Lower case characters.
Use a Domain of Character type with the Checkbox (LOWERCASE) as checked.
If the checkbox is checked, the field is not converted to upper case automatically
The second way is
there can be nothing done about the code, if it is a standard code you are using,
so just before calling the RFC, you could use the statement,
TRANSLATE <c> TO UPPER CASE.
or you could also use the function module,
TR_UPPERCASE_PARTS_OF_STRING
STRING_UPPER_LOWER_CASE
to do the same, then pass the string value into the RFC.
‎2007 Oct 29 12:30 PM
The FM parameter that you are using doesn't handle Lower case characters.
Use a Domain of Character type with the Checkbox (LOWERCASE) as checked.
If the checkbox is checked, the field is not converted to upper case automatically
Regards,
Abhishek
‎2007 Oct 29 12:50 PM
Hi Kanta,
I feel that there can be nothing done about the code, if it is a standard code you are using,
so just before calling the RFC, you could use the statement,
TRANSLATE <c> TO UPPER CASE.or you could also use the function module,
<i>TR_UPPERCASE_PARTS_OF_STRING
STRING_UPPER_LOWER_CASE</i>
to do the same, then pass the string value into the RFC.
‎2007 Oct 29 12:59 PM
hi,
many ways to solve this problem.
one way is
The FM parameter that you are using doesn't handle Lower case characters.
Use a Domain of Character type with the Checkbox (LOWERCASE) as checked.
If the checkbox is checked, the field is not converted to upper case automatically
The second way is
there can be nothing done about the code, if it is a standard code you are using,
so just before calling the RFC, you could use the statement,
TRANSLATE <c> TO UPPER CASE.
or you could also use the function module,
TR_UPPERCASE_PARTS_OF_STRING
STRING_UPPER_LOWER_CASE
to do the same, then pass the string value into the RFC.
‎2007 Oct 30 8:24 PM
Hi Manikanta,
Please post only if you have some additional information to be shared.
DON'T JUST COPY / PASTE the answers from the Above Posts and Reply.
Don't Just Copy/Paste for the sake of earning points.
Abhishek.