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

Parameter as password field

Former Member
0 Likes
528

Hi,

I would like to know how can I use a parameter as a password field?

And another question I need to know the table which contain the config. of the maximum number of modes that users can have open.

Thanx in advanced.

1 ACCEPTED SOLUTION
Read only

naimesh_patel
Active Contributor
0 Likes
507

Check this out:

REPORT  ZTEST_NP.

PARAMETERS: P_PASS(10) TYPE C OBLIGATORY MODIF ID GP1.

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'GP1'.
      SCREEN-ACTIVE = 1.
      SCREEN-INPUT = 1 .
      SCREEN-OUTPUT = 0 .
      SCREEN-INVISIBLE      = 1 .
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

START-OF-SELECTION.

Regards,

Naimesh Patel

Hi,

I would like to know how can I use a parameter as a password field?

And another question I need to know the table which contain the config. of the maximum number of modes that users can have open.

Thanx in advanced.

2 REPLIES 2
Read only

naimesh_patel
Active Contributor
0 Likes
508

Check this out:

REPORT  ZTEST_NP.

PARAMETERS: P_PASS(10) TYPE C OBLIGATORY MODIF ID GP1.

AT SELECTION-SCREEN OUTPUT.
  LOOP AT SCREEN.
    IF SCREEN-GROUP1 = 'GP1'.
      SCREEN-ACTIVE = 1.
      SCREEN-INPUT = 1 .
      SCREEN-OUTPUT = 0 .
      SCREEN-INVISIBLE      = 1 .
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.

START-OF-SELECTION.

Regards,

Naimesh Patel

Read only

Former Member
0 Likes
507

Hi

You can pass like this also :

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'GP1'.

SCREEN-INVISIBLE = 1 .

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Invisible options controls the display .

Thanks.

Hope it helps.