‎2009 May 07 5:22 AM
Hi Experts,
Can any one tell me how to create an input field with password character in module pool program?
Thanks in advance,
Venkat
‎2009 May 07 5:43 AM
Create an input/output field in screen painter.
double click on it and provide all the required fields.
In attributes window click on tab display.
click on check box 'invisible' to create a password field.
Hope it will solve ur problem.
‎2009 May 07 5:43 AM
Create an input/output field in screen painter.
double click on it and provide all the required fields.
In attributes window click on tab display.
click on check box 'invisible' to create a password field.
Hope it will solve ur problem.
‎2009 May 07 6:19 AM
Hi,
I have used a password in module pool recently in which if password is correct than hidden field appear.
For password just take a text field on your screen and give name to it like 'PASS' and in program write code like this.
IF PASS NE 'GANESH'.
LOOP AT SCREEN.
IF SCREEN-NAME = 'FRAME6' OR
SCREEN-NAME = '%#AUTOTEXT048' OR
SCREEN-NAME = '%#AUTOTEXT056' OR
SCREEN-NAME = 'ZATTEND-TIME' OR
SCREEN-NAME = 'ZATTEND-TIMED'.
SCREEN-ACTIVE = 0 .
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDIF.
Regards,
Himanshu