Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Is Function moudle Case sensitive, when it is called from the program?

Former Member
0 Likes
691

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?

6 REPLIES 6
Read only

Former Member
0 Likes
648

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......

Read only

Former Member
0 Likes
648

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..

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
648

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.

Read only

Former Member
0 Likes
648

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.

Read only

SuhaSaha
Product and Topic Expert
Product and Topic Expert
0 Likes
648

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

Read only

Former Member
0 Likes
648

yup

but for pointing some thing to you, i have to verify 5 times alleast by myself