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

Uppercase/Lowercase importing parameter in function module

manubhutani
Active Contributor
0 Likes
5,247

Hi All,

I saw few posts related to this issue but no answer.

We are calling a Remote enabled FM but inside the FM the importing parameter is getting converted to upper case.

The need is to respect the case of the string. Please suggest.

Regards,

Manu

15 REPLIES 15
Read only

christian102094
Participant
0 Likes
2,604

It doesn't convert the argument to upper case. Probably is a problem with the parameter's domain configuration.

Go to SE11 -> Domain -> Lower Case

Read only

0 Likes
2,604

Hello,

It is already lowercase still facing the issue.

Regards,

Manu

Read only

0 Likes
2,604

Have you tried unchecking it? And, what's the data element, domain and type?

Read only

0 Likes
2,604

I tried un-checking it, created new domain. Tried with below 2 domains -

Localfile

TEXT200

Regards,

Manu

Read only

0 Likes
2,604

Are you calling it in your code? Or testing in SE37?

Read only

0 Likes
2,604

From SE37 i can check uppercase/lowercase

but i have to call this RFC from third party system.

Regards,

Manu

Read only

Former Member
0 Likes
2,604

Hello Manu

What's the data type/domain of the parameter?

You can change the parameter type for a data element with lower case (check the domain of the data element).

Regards

Luis Becker

Read only

0 Likes
2,604

Hi Luis,

Lowercase is checked in the domain still I am facing the problem.

Regards,

Manu

Read only

0 Likes
2,604

Dear Manu,

Concatenate the " " after getting the value.

Suppose user enter sAp concatenate it with "sAp".

Then check in  function module.

Thanks

Nishant

Read only

0 Likes
2,604

Hi Manu

Have you debugged the calling procedure to verify that the values are being passed as mixed case.

Based on all of the inputs and responses above, sounds like you're doing everything right, I'd start with the source system.

Regards

Arden

Read only

0 Likes
2,604

Hi Arden,

Yes I have debugged & checked.

Regards,

Manu

Read only

0 Likes
2,604

Hi Nishant,

Before I concatenate SAP has already changed it to uppercase.

If I debug on the very first line of code in the function module the string I had entered

in the importing parameter has already been converted to uppercase.

Regards,

Manu

Read only

0 Likes
2,604

Hi Manu,

From where you have called this function module.

Thanks

Nishant

Read only

0 Likes
2,604

I am doing all this in ECC box right now.

I will call this from Mulesoft.

Even if I will not call from Mulesoft the issue is that SAP converts the importing parameter to uppercase even when the domain of importing parameter is checked as Lower case.


Regards,

Manu

Read only

0 Likes
2,604

HI Manu,

We already faced this issue while creating UI5 application, but we fixed this one using oData service.

If you can run standalone BAPI you have the checkbox at top of function module that you can differentiate.

But outside I didn't see any option.

But try to pass the value from Mulesoft between the code. I am not sure about this,  I think it would work.


If not I got one idea BAPI_USER_CHANGE Check this function module. This function module is for changing the user name and password.


Use the same type in your function module and check

Check the domain and data element

Thanks

Nishant