01-04-2008 12:41 PM
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
01-04-2008 12:45 PM
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.
01-04-2008 12:47 PM
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
01-04-2008 12:51 PM
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.
01-04-2008 1:00 PM
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..
01-04-2008 1:03 PM
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.