on 07-23-2010 2:37 PM
Hi Exerts,
When we sending values to RFC/BAPI through webdynpro (JAVA), the values are sent in capital (uppercase) letters to ECC.
So if we fill xxxx, it is send like XXXX. Why? and how to avoid this?
Thanks in advance,
Joeri
Hi Joeri,
Please print the value of the input field below passing to backend to check whether the value is in uppercase or lowercase. if it uppercase then you need to modify to as lowercase before passing to backend RFC/BAPI.
Hope it will helps
Regards
Arun Jasiwal
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
You can use toUpperCase() and toLowerCase() methods to change the case according to your requirements.
RV
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
There could be two possibility if you are storing this value in ABAP table.
1. You are entering value in UPPERCASE in your webdynpro application.
2. The data stored in ABAP table, converts value in small to upper case.
1. Can you tell me how you are passing this value, is user entering value in some input field which is binded to some context and this value are you passing to RFC/BAPI...???
Or else before passing value to RFC/BAPI you can use toLowerCase string function and the npass this value to RFC/BAPI
e.g String name = wdContext().currentContextelement().getName().toLowercase();
Now pass this name to RFC/BAPI is should go as lowercase only..
This is from webdynpro java side..
2. If you are storing this value in ABAP table, check the domain/type of variable in ABAP table for which you are storing the value. Ask ABAPper, so that this value are stored in small case letter.
There is one tick in domain which you need to remove so that it stores in lower case. I dont have exact information but you can consult this with ABAPer.
Hope this information helps guy ..!!!!
Regards,
Jigar
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Jigar,
1) yes the user entering his name and lastname (this is binded to some context field and this value is passing through RFC/BAPI):
example:
Joeri
de Voijs
but what passed is:
JOERI
DE VOIJS
The exact entry of the user must pass to.
2) at ABAP site the domain type is CHAR and lower case
gr
Joeri
Hi Joeri,
at abap side it's lowercase, we convert the uppercase to lowercase and change the first character to uppercase.---this case conversion in at ABAP or from your application..?
if there is no logic for the case and if you try to print the value of UI, you will get the same output as you have entered.
Deepak!!!
Hi Deepak,
the convertion is on ABAP site because somewhere the entry is convert to uppercase. The question is where is the enry change to uppercase en why? Is an entry always convert to uppercase by passing through RFC/BAPI?
In the webdynpro there are some input fields, the fields are binding to the external simple types from the ECC backend.
The domain type of the variable in the ABAP table is char and lowercase, but still the values are stored in uppercase.
gr
Joeri
User | Count |
---|---|
85 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.