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: 

Hiding selection screen full block

Former Member
0 Kudos

Hi Gurus,

I want to hide following selection screen in the out put.

plz guide me how can i do it.

SELECTION-SCREEN BEGIN OF BLOCK bestandsart

PARAMETERS lgbst LIKE am07m-lgbst.

PARAMETERS bwbst LIKE am07m-bwbst DEFAULT 'X'.

PARAMETERS sbbst LIKE am07m-sbbst.

SELECTION-SCREEN END OF BLOCK bestandsart.

points will be rewared.

Regards

Rajesh

5 REPLIES 5

Former Member
0 Kudos

Hi Rajesh,

Try this

SELECTION-SCREEN BEGIN OF BLOCK bestandsart

PARAMETERS lgbst LIKE am07m-lgbst.

PARAMETERS bwbst LIKE am07m-bwbst DEFAULT 'X'.

PARAMETERS sbbst LIKE am07m-sbbst.

SELECTION-SCREEN END OF BLOCK bestandsart.

AT SELECTION-SCREEN OUTPUT.

Loop at screen.

if screen-name = 'BESTANDSART'.

screen-invisible = 1.

modify screen.

endif.

endif.

endloop.

Former Member
0 Kudos

Hi,

use modif statment.

eg

parameters lgbst like am07m-lgbst modif id 'SRN'.

in the at selection-output event.

use this code.

loop at screen.

if screen-group1 = 'SRN'.

screen-active = 0.

modify screen.

endif.

endloop.

regards,

Santosh Thorat

Edited by: santosh thorat on Jan 4, 2008 6:17 PM

Edited by: santosh thorat on Jan 4, 2008 6:18 PM

Former Member
0 Kudos

SELECTION-SCREEN BEGIN OF BLOCK bestandsart.

PARAMETERS lgbst LIKE am07m-lgbst NO-DISPLAY.

PARAMETERS bwbst LIKE am07m-bwbst DEFAULT 'X' NO-DISPLAY..

PARAMETERS sbbst LIKE am07m-sbbst NO-DISPLAY..

SELECTION-SCREEN END OF BLOCK bestandsart.

arpit_shah
Contributor
0 Kudos

use NO-DISPLAY

e.g.

PARAMETERS lgbst LIKE am07m-lgbst NO-DISPLAY.

PARAMETERS bwbst LIKE am07m-bwbst DEFAULT 'X' NO-DISPLAY..

PARAMETERS sbbst LIKE am07m-sbbst NO-DISPLAY..

Former Member
0 Kudos

Hi,

SELECTION-SCREEN BEGIN OF BLOCK bestandsart

PARAMETERS lgbst LIKE am07m-lgbst modif id g1.

PARAMETERS bwbst LIKE am07m-bwbst DEFAULT 'X' modif id g1.

PARAMETERS sbbst LIKE am07m-sbbst modif id g1.

SELECTION-SCREEN END OF BLOCK bestandsart.

At selection-screen output.

if screen-group1 eq 'g1'.

screen-active = 0.

modify screen.

endif.

Plzz reward points if it helps.