2008 Jan 20 8:25 AM
Experts!
Help me in my program logic..
I have a parameter which I declared as type c with a lenght of 20.
The user will enter a whole name in that parameter. the purpose of that parameter is whatever will be the user inputs which is a name will be display in my sapscript form. Now my problem is when I enter a name and then execute it the name becomes all in upper case which I need to fix.
Kindly help me in formulating my logic on how I would fix it.
Scenario:
Example: the user will input a name:
Ms. Nahem Yori. and then I will execute it it becomes MS. NAHEM YORI.
I want it to be as Ms. Nahem Yori only the first letter of every word in the name will be in upper case.
Please help me...
Experts!
Help me in my program logic..
I have a parameter which I declared as type c with a lenght of 20.
The user will enter a whole name in that parameter. the purpose of that parameter is whatever will be the user inputs which is a name will be display in my sapscript form. Now my problem is when I enter a name and then execute it the name becomes all in upper case which I need to fix.
Kindly help me in formulating my logic on how I would fix it.
Scenario:
Example: the user will input a name:
Ms. Nahem Yori. and then I will execute it it becomes MS. NAHEM YORI.
I want it to be as Ms. Nahem Yori only the first letter of every word in the name will be in upper case.
Please help me...
2008 Jan 20 9:05 AM
In at selection-screen output event
Use function module SWA_STRING_TO_UPPERCASE and keep PRESERVE_EXISTING_CAPITALS as space.
2008 Jan 20 11:39 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.
| User | Count |
|---|---|
| 6 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |