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

Import Parameter - Switching to UPPER case

Former Member
0 Likes
688

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
Read only

Former Member
0 Likes
642

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

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

4 REPLIES 4
Read only

Former Member
0 Likes
643

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

Read only

0 Likes
642

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.

Read only

0 Likes
642

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.

Read only

0 Likes
642

Thanks very much for taking the time out to reply.

Much appreciated.

Andy