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

Input field for PASSWORD in Module Pool programming

Former Member
0 Likes
2,319

Hi,

I am doing a module-pool programming in which I have a screen which contains 2 input fields.

i) Login ID

ii) Password.

My requirement is when the user enters the password, it should show the contents as ******* (similar to SAP Logon screen).

Please suggest me how to implement this..

Thanks and Regards,

Sayan Ghosh

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
916

just define the password filed as invisible in its attributes

it will come in ****** format but will contain the values that you can check

4 REPLIES 4
Read only

Former Member
0 Likes
917

just define the password filed as invisible in its attributes

it will come in ****** format but will contain the values that you can check

Read only

Former Member
0 Likes
916

Hi,

loop at screen.

screen-invisible = 1.

modify screen.

endloop.

Regards,

Sankar.

Read only

former_member210123
Active Participant
0 Likes
916

PARAMETERS: p_pass TYPE xuncode.

LOOP AT SCREEN.

IF screen-name = 'p_pass'.

screen-invisible = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Read only

Former Member
0 Likes
916

Hi,

Follow the procedure as Follows,

1.Example if ZMHRUSERID-PASSWD is screen field name .

2.Goto Screen painter Properties .Dbl click on the PASSWD.

3.ZMHRUSERID-PASSWD activate the FromDict checkbox

in the modify listbox choose 'X'

4.Important ur ZMHRUSERID-PASSWD must refer u to DICT Structure.

5.Make the ZMHRUSERID-PASSWD as Output Field in Program.

Regards,

Balakumar.G

Reward Points if helpful.