‎2010 Jul 14 2:14 PM
When we execute the Function module, we have the check box for case sensitive(Lower/Upper Case). But how does it work when function module called from other programs. Will it take lower or Upper case or same as we enter?
‎2010 Jul 14 2:23 PM
In the program, it is case sensitive... Whatever you are sending , it will take.... It will not convert....
If you pass 'TEST PROGRAM CAPS' - > it will take as it is
If you pass 'TEST program ' - > it will take as it is.
better try this in debugging......
‎2010 Jul 14 2:53 PM
from program when you call an FM it will take just the way you pass it ..
even if domain is lower case enabled or not, it will pass just the way you have passed..
‎2010 Jul 14 2:56 PM
When you call via a program, the formal params will behave as case sensitive depending on the TYPE.
If the domain associated with the corresponding TYPE is not "lower case" enabled, it wont be case sensitive & vice-versa.
‎2010 Jul 14 3:00 PM
suhas..
check bapi_user_get_detail
lets say you pass 'suhas' .. it does not converts to uppercase.. though the domain XUBNAME is not lower case enabled.. so the BAPI translates to uppercase.
‎2010 Jul 14 3:11 PM
My bad ... The "lower case" attribute is related to screen fields only.
A simple program opened my eyes:
PARAMETERS: p_name TYPE xubname DEFAULT 'suhas'.
DATA v_name TYPE xubname VALUE 'suhas'.
WRITE: v_name, / p_name.Should have read the F1 help carefully. Thanks for pointing it out.
Cheers,
Suhas
‎2010 Jul 14 3:13 PM
yup
but for pointing some thing to you, i have to verify 5 times alleast by myself