‎2008 Jul 18 12:15 PM
Hi,
On selection screen i have one parameter to take password for user. can i make this case sensitive??
‎2008 Jul 18 12:20 PM
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
‎2008 Jul 18 12:19 PM
‎2008 Jul 18 12:20 PM
‎2008 Jul 18 12:20 PM
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
‎2008 Jul 18 12:25 PM
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.
‎2008 Jul 18 12:31 PM
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
‎2008 Jul 18 12:32 PM
hi
Yes you can make a parameter Case sensitive
the syntax is
PARAMETERS <p> ...... LOWER CASE ......
Regards
pavan