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

Screen Invisible

Former Member
0 Likes
4,421

Hi.

I have a parameter in a Selection-screen.

When I put screen-invisible = 1 it just doesn't gets "invisible". The parameter stays filled with asterisks, like a password field. But I want the parameter to be hidden.

How can I hide this parameter?

1 ACCEPTED SOLUTION
Read only

marcelo_ramos1
SAP Mentor
SAP Mentor
0 Likes
3,091

Hi Brian,

You must do as follow:



 LOOP AT screen.
   ...

   MOVE 1 TO screen-invisible.
   MODIFY screen.

 ENDLOOP.

Greeting.

Hi.

I have a parameter in a Selection-screen.

When I put screen-invisible = 1 it just doesn't gets "invisible". The parameter stays filled with asterisks, like a password field. But I want the parameter to be hidden.

How can I hide this parameter?

6 REPLIES 6
Read only

Former Member
3,091

hi,

do this way to make it invisible ...


PARAMETERS : P_MATNR LIKE MARA-MATNR NO-DISPLAY. 
 

Read only

marcelo_ramos1
SAP Mentor
SAP Mentor
0 Likes
3,092

Hi Brian,

You must do as follow:



 LOOP AT screen.
   ...

   MOVE 1 TO screen-invisible.
   MODIFY screen.

 ENDLOOP.

Greeting.

Read only

Former Member
0 Likes
3,091

Hi,

you should use:

Screen-Active = 1.

not INVISIBLE. - THIS IS FOR GIVING PASSWORD characterstics. So, it gived "*******" only.

Reward Points if helpful.

regards

Sandeep reddy

Read only

3,091

Try this way.



REPORT  zmar.

TABLES sflight.

PARAMETERS p_carrid TYPE sflight-carrid.
SELECT-OPTIONS s_connid FOR sflight-connid.


INITIALIZATION.


  LOOP AT SCREEN.
    IF screen-name EQ 'P_CARRID'.
      MOVE 1 TO screen-invisible.
      MOVE 0 TO screen-input.
      MODIFY SCREEN.
    ENDIF.
  ENDLOOP.


Regards.

Marcelo Ramos

Read only

Former Member
0 Likes
3,091

Thanks guys! Problem solved.

Read only

CAndrade0
Discoverer
0 Likes
1,801

screen-active = 0 

screen-invisible = 1

It works!