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

Help..

Former Member
0 Likes
314

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...

2 REPLIES 2
Read only

former_member225631
Active Contributor
0 Likes
296

In at selection-screen output event

Use function module SWA_STRING_TO_UPPERCASE and keep PRESERVE_EXISTING_CAPITALS as space.

Read only

nivin_varkey
Active Participant
0 Likes
296

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.