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: 

REG hiding selection-screen comment

Former Member
0 Kudos

Hi all,

Cud any one tell me how to hide a selection-screen comment.

2 REPLIES 2

Former Member
0 Kudos

Hi,

Try this..using MODIF ID

SELECTION-SCREEN COMMENT /1(50) comm1 MODIF ID mg1.

SELECTION-SCREEN ULINE.

SELECTION-SCREEN SKIP.

SELECTION-SCREEN COMMENT /1(30) comm2.

SELECTION-SCREEN ULINE /1(50).

SELECTION-SCREEN ULINE /1(50).

AT SELECTION-SCREEN OUTPUT.

comm1 = 'Selection Screen'.

comm2 = 'Select one'.

LOOP AT SCREEN.

IF screen-group1 = 'MG1'.

screen-visible = '1'. " manipulate to make it visisble or hide..

MODIFY SCREEN.

ENDIF.

ENDLOOP.

Former Member
0 Kudos

hi chaitanya,

see the example may be useful.

SELECTION-SCREEN BEGIN OF BLOCK BLOCK.

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(8) PWD.

SELECTION-SCREEN POSITION 35.

PARAMETERS: PASSWORD(8) MODIF ID AAA.

SELECTION-SCREEN END OF LINE.

PARAMETERS: PROGRAM(8).

SELECTION-SCREEN END OF BLOCK BLOCK.

*

AT SELECTION-SCREEN OUTPUT.

LOOP AT SCREEN.

IF SCREEN-GROUP1 = 'AAA'.

SCREEN-invisible = '1'.

MODIFY SCREEN.

ENDIF.

ENDLOOP.

reward if useful,

thanks and regards