02-16-2010 8:11 AM
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
02-16-2010 8:14 AM
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
02-16-2010 8:14 AM
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
02-16-2010 8:17 AM
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.
02-16-2010 9:00 AM
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.
02-16-2010 9:09 AM
Thanks very much for taking the time out to reply.
Much appreciated.
Andy