‎2008 Jan 20 7:35 AM
GUru's..
I need your advise..
I have a parameter and I declared it as type c with a lenght of 20 characters. that parameter will be using to input names , whole to be exact..
Example: Ms. Clara Yeshi.
Now my problem is when I enter it or execute it the whole name/string becomes capital letters.which should'nt. it capital letter should only start at the beginning of every name.like in my example..
the reason why I needed it to be like that bacause whatever the user will input on the paramter will be display on my form as name.that's why i need ito to be a bit formal.
Again this is what I want to happen in my font.
Ms. Claire Jane Yeshi.
the upper case letter should only start at the beginning of every name.
Hope you can help me...
<REMOVED BY MODERATOR>
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 11:13 AM
‎2008 Jan 20 8:22 AM
hi
actually i dont hav my system now
but i think the following code wil b helpful to make a custom FM
or make a sub routine in ur report
data : text(50) value 'this is a test for upper lower case'.
data : itab(50) occurs 0 with header line.
data : result(50).
split text at space into table itab.
loop at itab.
translate itab+0(1) to upper case.
concatenate result itab into result separated by space.
endloop.
write : / result.
<REMOVED BY MODERATOR>
regards
Edited by: Alvaro Tejada Galindo on Feb 19, 2008 11:14 AM
‎2008 Jan 20 8:27 AM
Use function module SWA_STRING_TO_UPPERCASE and keep PRESERVE_EXISTING_CAPITALS as space. It will fullfil your requirement.
‎2008 Jan 20 11:37 AM
Hi,
use a field from any table wherein the the field "Lowercase" is "checked" in the domain for its data element .
eg: parameters: p_name like bseg_sgtxt.
your problem will be solved.
Regards,
Nivin Joseph.
‎2008 Feb 19 4:10 PM
Hello
I have the same problem, but using the LDAPMAP transaction, I want the username as you explain: John Smith, no JOHN SMITH.
Have you solved this issue?
Best regards.
Rubén GarcÃa (not RUBEN GARCIA)