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

Can i make a parameter case sensitive

Former Member
0 Likes
19,257

Hi,

On selection screen i have one parameter to take password for user. can i make this case sensitive??

1 ACCEPTED SOLUTION
Read only

Former Member
8,730

hiii

you can add LOWER CASE with parameter..so it will automatically take lower case from user..by default SAP will take upper case onlyy.so if you want to enter data as lower case then just add lower case with parameter.

regards

twinkal

6 REPLIES 6
Read only

Former Member
0 Likes
8,729

Take the parameter as CHAR type.

Read only

Former Member
0 Likes
8,729

SAP user,

Answer is Yes you can.

just refer:

Amit.

Read only

Former Member
8,731

hiii

you can add LOWER CASE with parameter..so it will automatically take lower case from user..by default SAP will take upper case onlyy.so if you want to enter data as lower case then just add lower case with parameter.

regards

twinkal

Read only

Former Member
0 Likes
8,729

Hi,

Refer the following program,it will help you.

SELECTION-SCREEN BEGIN OF SCREEN 500 AS WINDOW TITLE title.

Parameters: p_name like sy-uname,

p_pas like sy-uname lower case.

SELECTION-SCREEN skip 1.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 2(70) text-001.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF SCREEN 500.

title = 'HAI VENKAT LOGIN PLEASE'.

CALL SELECTION-SCREEN '0500' STARTING AT 10 10 ending at 70 14.

AT SELECTION-SCREEN OUTPUT.

loop at screen.

check screen-name eq 'P_PAS'.

move: 1 to screen-invisible.

modify screen.

endloop.

start-of-selection.

if p_pas = 'password'.

write:/ 'this is working'.

endif.

Hope it is helps.

Regards,

T.Durai murugan.

Read only

Former Member
0 Likes
8,729

hi..

Actually i do not know your exact solution.

but you can try by this addition

... LOWER CASE

This addition prevents the content of character-type fields from being converted to uppercase letters when the input field on the selection screen is transported to the data object para in the program and vice versa.

regards

Lokesh

Read only

bpawanchand
Active Contributor
0 Likes
8,729

hi

Yes you can make a parameter Case sensitive

the syntax is

PARAMETERS <p> ...... LOWER CASE ......

Regards

pavan