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
1,131

Hi,

I have a PASSWORD field in my view. When the user types the password, it

should come as ******. <b>This should happen at runtime</b>

Any ideas?

Message was edited by:

Jeba Kauser

Hi,

I have a PASSWORD field in my view. When the user types the password, it

should come as ******. <b>This should happen at runtime</b>

Any ideas?

Message was edited by:

Jeba Kauser

7 REPLIES 7
Read only

Former Member
0 Likes
1,090

hi,

if used password as a parameter then try like this

parameters: password type c default ' * '.

if helpful reward some points.

with regards,

suresh.

Read only

Former Member
0 Likes
1,090

Hi

You have to write some code for this

first find the String length of the password and for that length it has to be replaced by * in the place of characters, which you enter...

Reward points for useful Answers

Regards

Anji

Read only

kiran_k8
Active Contributor
0 Likes
1,090

Aswlkm Jeba,

Try this,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
1,090

define the field as invisible ...

Read only

Former Member
0 Likes
1,090

chk the thread

Data enpwd(32) type c.
parameter pwd like enpwd .
enpwd = pwd.
******** Encrypting *******************
CALL FUNCTION <b>'FIEB_PASSWORD_ENCRYPT'</b>
EXPORTING
IM_DECRYPTED_PASSWORD = enpwd
IMPORTING
EX_ENCRYPTED_PASSWORD = enpwd
.
clear pwd.
******** Decrypting *******************
CALL FUNCTION <b>'FIEB_PASSWORD_DECRYPT'</b>
EXPORTING
IM_ENCRYPTED_PASSWORD = enpwd
IMPORTING
EX_DECRYPTED_PASSWORD = pwd.
write :/ pwd.

Read only

Former Member
0 Likes
1,090

Hi,

Try this Code,

PARAMETERS : PASS(6).

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-NAME = 'PASS'.

SCREEN-INVISIBLE = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Regards,

Padmam.

Read only

Former Member
0 Likes
1,090

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.