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

Hiding selection screen full block

Former Member
0 Likes
1,222

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

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
Read only

Former Member
0 Likes
757

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.

Read only

Former Member
0 Likes
757

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

Read only

Former Member
0 Likes
757

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.

Read only

arpit_shah
Contributor
0 Likes
757

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..

Read only

Former Member
0 Likes
757

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.