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

Password Specification

Former Member
0 Likes
935

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>

4 REPLIES 4
Read only

Former Member
0 Likes
710

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

Read only

Former Member
0 Likes
710

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.

Read only

Former Member
0 Likes
710

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

Read only

Former Member
0 Likes
710

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