‎2008 Feb 27 6:18 PM
Hi Experts,
Here I want to now, How can I define a custom table to store Password length such that I could only see either start()* or an *dot (.) * ie either *( ******* ) or (........) fomat* .
custom table contains fields
|Username | Password | Locked |
| sapuser | ******* | | this should how my custom table look like if I look into the contents of the custom table
I am here Involved in developing of a Module pool program where in the first Sreen user have to enter the UserName and the Password. if this matches with the custom table he should navigate to second screen.
The user over her is given 3 chances to enter the password after the 3 chances the Locked field should b assigned with Character ' L' so the UserName get locked and no further access to the username is allowed.
please help me out ASAP
mail me the answers to <removed by moderator>
‎2008 Feb 27 7:19 PM
Hello,
Please look at the definition of table field USR02-BCODE. You can encrypt/decrypt passwords using functions FIEB_PASSWORD_ENCRYPT/FIEB_PASSWORD_DECRYPT.
Thanks,
Venu
‎2008 Feb 28 3:58 AM
Bhanu,
In PBO of your screen.
Module password_change.
double click on it.
MODULE password_change OUTPUT.
LOOP AT SCREEN.
IF SCREEN-NAME = 'PASSWORD.'
SCREEN-INPUT = 0.
MODIFY SCREEN.
ENDIF.
ENDLOOP.
ENDMODULE.
‎2008 Feb 28 6:00 PM
Dear Frend,
Just go to table USR02 and check for the required datatype in the domain for password field or may be u can try alphanumeric datatype.
Regards,
Ameet
‎2008 Feb 29 8:52 AM
hii,
make use of the table USR02 (Logon Data transparent table)
and in that table click on BCODE field and find out the datatype of domain of that field which comes out to be RAW
(Uninterpreted sequence of bytes) and make use of the same domain to declare a field tht needs to hold the password.
and if u want to display the password as **** or .... on the screen goto screen painter (se51) and go to layout
and in the i/otext field in the attributes>dict>format -->raw
will work
Hope this info is useful
Regards
Archana