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

Function Module Import Parameters CASE ?

Former Member
0 Likes
1,623

Hello All,

I've created a Function Module and it has some import parameters.

Depending upon the values entered in these import parameters the data is being fetched into the table.

Now the problem is when we enter some data into the Import parameters of the FM all the data is being converted into Uppercase. (field is ORT01 )

So, bcoz of this I'm not getting the proper data.

How to change that so as to keep the import parameters data as-it-is which is enetered by the User so that I'll get the correct data ?

Regards,

Deepu.K

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,080

Deepu,

No problem with your Function module it will work when you call from some other program etc/

when you are checking it standalone in SE37 then

After execution

in the Top you will see

Uppercase/Lowercase

check box

check that and and input values into ur import/export/table parms.

and see. this will work.

But when you are running it from any program there will not be any problem.

it takes what ever you pass.

6 REPLIES 6
Read only

Former Member
0 Likes
1,080

Hi

You can maintain the same case (Lower Case) in the domain level.

You have to check the cheque box 'Lower Case' in the Definition tab of the Domain.

Satya.

Read only

0 Likes
1,080

Hello Satya,

I'm not talking about Uppercase and Lower Case conversion.

I'm asking how to keep the case as-it-is which is entered by the USer in the FM import parameters.

i.e when executing the FM alone.

BTW ...the checkbox is already checked. I don't need to do anything in the component I guess !

There must be some other way ....

Regards,

Deepu.K

Read only

0 Likes
1,080

Deepu,

Check the Solution mentioned in my above post.

I hope you are executing from SE37, that is the problem,

when you are executing check the Upper/Lowercase Check box

and input values and see this will not do any conversion

Read only

Former Member
0 Likes
1,081

Deepu,

No problem with your Function module it will work when you call from some other program etc/

when you are checking it standalone in SE37 then

After execution

in the Top you will see

Uppercase/Lowercase

check box

check that and and input values into ur import/export/table parms.

and see. this will work.

But when you are running it from any program there will not be any problem.

it takes what ever you pass.

Read only

0 Likes
1,080

Hello Venkat,

It's a FM not a report !!!!

Hello Yash,

Thanks for the help. U gave me the right one !

Ragards,

Deepu.K

Read only

Former Member
0 Likes
1,080

hi do like this ..

use the lower case for the parameters in the parameters statement.

parameters: test(10) type c lower case .

regards,

venkat.