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 field

0 Likes
506

Hi,

I have a PASSWORD field in my View. When the user makes an entry, the field

should appear as *****.

Any ideas?

Thanks.

Hi,

see this code.

parameters:name(10).

WRITE:/ NAME.

at selection-screen output.

loop at screen.

IF screen-name = 'NAME'.

SCREEN-ACTIVE = '1'.

SCREEN-INVISIBLE = '1'.

SCREEN-INPUT = '1'.

SCREEN-OUTPUT = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

rgds,

bharat.

3 REPLIES 3
Read only

kiran_k8
Active Contributor
0 Likes
487

Aswlkm Jeba,

Say thanks to SDN.

parameters: p_pass type indxpwd.

at selection-screen output.

loop at screen.

if screen-name = 'P_PASS'.

screen-invisible = '1'.

modify screen.

endif.

endloop.

start-of-selection.

write:/ p_pass.

K.Kiran.

Read only

Former Member
0 Likes
487

Hi

U need to modiy the field INVISIBLE of screen table:

PARAMETERS: p_psw(10) TYPE c MODIF ID psw.

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF screen-group1 = 'PSW'.
      screen-invisible = 1.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

Max

Read only

Former Member
0 Likes
487

Hi,

see this code.

parameters:name(10).

WRITE:/ NAME.

at selection-screen output.

loop at screen.

IF screen-name = 'NAME'.

SCREEN-ACTIVE = '1'.

SCREEN-INVISIBLE = '1'.

SCREEN-INPUT = '1'.

SCREEN-OUTPUT = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

rgds,

bharat.