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 using Paramters

Former Member
0 Likes
532

The Requirement is,

In the parameters screen, the user has to enter the password.

But it should be Mask on screen as asterisks.

So the user has to enter the password But it should not be Visible in screen.

Hope I am clear.

How to do this in Parameter.

Thanks in advance.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
515

Hi Sumi,

Look at the following code, it will be help ful to you.


parameter: p_pass(10) type c.

at selection-screen output.

loop at screen.
  if screen-name = 'P_PASS'.
    SCREEN-INVISIBLE = 1.
        MODIFY SCREEN.
  endif.
endloop.

Regards,

Phani

4 REPLIES 4
Read only

Former Member
0 Likes
515

Hi Sumi,

Check this thread:

Regards,

Ville

Read only

0 Likes
515

Hi Sumi (again),

Here's and example from the thread I just referred:

PARAMETERS: p_pwd(10) TYPE c LOWER CASE OBLIGATORY DEFAULT 'secret' MODIF ID 999.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.
IF screen-group1 = '999'.
screen-invisible = '1'.
MODIFY SCREEN.
ENDIF.
ENDLOOP.

Regards,

Ville

Read only

Former Member
0 Likes
516

Hi Sumi,

Look at the following code, it will be help ful to you.


parameter: p_pass(10) type c.

at selection-screen output.

loop at screen.
  if screen-name = 'P_PASS'.
    SCREEN-INVISIBLE = 1.
        MODIFY SCREEN.
  endif.
endloop.

Regards,

Phani

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
515