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

selection screen Parameters

Former Member
0 Likes
839

Hi,

I have requirement like,when i am using the parameters if i enter the value in the selection screen like 'Abcd' when i press enter it is changing to 'ABCD' but i need as usual like 'Abcd'.

Is there any functionality exist in SAP?

Moderator message - Please do not ask basic questions. The answer can easily be found using F1

Edited by: Rob Burbank on Apr 14, 2009 2:41 PM

7 REPLIES 7
Read only

Former Member
0 Likes
811

use lower case addition with parameters statement

Parameters: p_name(20) type c lower case.

thanks

Sarves

Read only

Former Member
0 Likes
811

Do an F1 on PARAMETERS and look up LOWER CASE.

Read only

Former Member
0 Likes
811

hello,

check field domain...(field->text element->domain->

there is setting for lowercase

regards,darek

Read only

Former Member
0 Likes
811

Hi SACHIN,

As you want that first character to be Capital and rest to be small.

For this think you should first fetch the contents of parameter say pa_abcd into work field

Use offset of take the first character and then you can use the statement

TRANSLATE to upper case for single character which want to be capital and then you can concatenate it with the other into single work field.

Regards,

Nitin.

Read only

anuj_srivastava
Active Participant
0 Likes
811

Hi Sachin ,

Did u tried the solution that Sarves gave.

It is working perfectly fine.

I have tried giving the same with a series of alphabets 'AbCdE' with parameter defined as blah blah type blah lower case.

And if i removed the lower case it is giving me it as 'ABCDE'.

Try the solution by Sarves.It is working.

Regards,

Anuj

Read only

Former Member
0 Likes
811

Hi,

The parameter you are using must refer to a case sensitive data element.

Then in the AT SELECTION SCREEN on your_parameter statement move the content of your_parameter to a charlike global data then do the conversion to uppercase of your_parameter to display it as uppercase. In the rest of the program use your_global_data instead of your_parameter.

Issa

Read only

Former Member
0 Likes
811

Use lower case as an addition to your parameters statement.

Parameters: p_name(20) type c lower case.

If you do not use the LOWER CASE addition, all input values are automatically converted into upper case else it would remain unchanged if you used.

Regards,

Lalit Mohan Gupta.