Application Development 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: 

Import Parameter - Switching to UPPER case

Former Member
0 Kudos

Hi there,

I am writing a FM which has SURNAME declared as CHAR40 in the IMPORT tab.

When I pass say 'Smith' and use the debugger the value of the surname is

changing to uppercase i.e. 'Smith' becomes 'SMITH'.

Can anyone explain this? How can I stop the SURNAME from changing to uppercase?

Many thanks

Andy

1 ACCEPTED SOLUTION

Former Member
0 Kudos

if you check the CHAR40 domain (which is the domain for data element CHAR40), the lower case option is not ticked.....you should probably use a domain which is enabled for lower case....or create one of your own

4 REPLIES 4

Former Member
0 Kudos

if you check the CHAR40 domain (which is the domain for data element CHAR40), the lower case option is not ticked.....you should probably use a domain which is enabled for lower case....or create one of your own

0 Kudos

Thanks, but I have chnaged the type to PAD_NACHN which has the lowercase attribute checked.

But it is still converting the surname to uppercase.

0 Kudos

are you directly executing and debugging in SE37?

i checked and found that while calling this FM from another program, the value stays in the same case in which it is entered. only when you directly execute in SE37 that it changes to upper case. Don't really know the details of this but i guess it should be fine when you actually use your FM.

0 Kudos

Thanks very much for taking the time out to reply.

Much appreciated.

Andy