Application Development 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: 

Need make Parameter i/p field invisible

Former Member
0 Kudos

Hi,

Below is my sample program. I am trying to make MG1 invisible on output screen.

But PT1_From still visible where as other comments are invisble.

Please help me on changing the visibility of PT1_From to invisible.

Thanks

Vimalraj

**********************************************************************************************************************************************

REPORT ZQUERYSCREEN.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (20) PT1 FOR FIELD PT1_From MODIF ID MG1 .

SELECTION-SCREEN COMMENT (20) text-013 MODIF ID MG1 .

PARAMETERS: PT1_From type i MODIF ID MG1 .

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT (20) text-014 .

PARAMETERS: PT1_To type i.

SELECTION-SCREEN END OF LINE.

at selection-screen OUTPUT.

PT1 = ' Flight Date ' .

PT2 = ' '' Comma escape '' ' .

LOOP AT SCREEN.

IF screen-group1 = 'MG1'.

screen-intensified = '1'.

screen-INVISIBLE = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

1 ACCEPTED SOLUTION

glio_ad
Active Participant
0 Kudos

Hi,

try this:

LOOP AT SCREEN.

IF screen-group1 = 'MG1'.

screen-active = 0.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Reward points please,

Regards,

George

Edited by: George Lioumis on Jan 9, 2008 11:23 AM

2 REPLIES 2

glio_ad
Active Participant
0 Kudos

Hi,

try this:

LOOP AT SCREEN.

IF screen-group1 = 'MG1'.

screen-active = 0.

screen-input = 0.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Reward points please,

Regards,

George

Edited by: George Lioumis on Jan 9, 2008 11:23 AM

Former Member
0 Kudos

thanks