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

Selection screen parameters invisible

FredericGirod
Active Contributor
0 Likes
1,669

Hi,

Do you know if it's possible to hide the value enter in a parameter into a selection screen.

For example, if I want a password and I want the output display only '*****' .. like the SU01. But ! I don't speak about dynpro, just a simple selection-screen.

Thanks

Fred

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
925

loop at screen.

if screen-name = 'X'.

screen-invisible = '1'.

modify screen.

endif.

endloop.

4 REPLIES 4
Read only

Former Member
0 Likes
926

loop at screen.

if screen-name = 'X'.

screen-invisible = '1'.

modify screen.

endif.

endloop.

Read only

Former Member
0 Likes
925

Hello Frederic,

PARAMETERS

pa_test.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

CASE screen-name.

WHEN 'PA_TEST'.

screen-invisible = '1'.

MODIFY SCREEN.

ENDCASE.

ENDLOOP.

Regards,

John.

Read only

jayanthi_jayaraman
Active Contributor
0 Likes
925

Hi,

PARAMETERS: p_pwd(10) TYPE c LOWER CASE OBLIGATORY DEFAULT 'rr'

MODIF ID 11.

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF screen-group1 = '11'.

screen-invisible = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Read only

Former Member
0 Likes
925

Hi Frederic,

Just try this also..

Parameters: password like sy-uname.

AT SELECTION-SCREEN OUTPUT.

loop at screen.

check screen-name eq 'PASSWORD'.

move: 1 to screen-invisible.

modify screen.

endloop.

Regards,

Sylendra.