Skip to Content
0
Former Member
Nov 21, 2008 at 10:22 AM

selection-screen block disappearing

243 Views

Hi All ,

Can any one tell me how can i make a block in the selection screen invisible . rt now i am using the below code for selection screen ,

SELECTION-SCREEN BEGIN OF BLOCK BLK1 WITH FRAME TITLE TEXT-001.

PARAMETERS: P_SALE RADIOBUTTON GROUP GRP DEFAULT 'X',

P_BILL RADIOBUTTON GROUP GRP .

SELECTION-SCREEN END OF BLOCK BLK1.

SELECTION-SCREEN BEGIN OF BLOCK BLK2 WITH FRAME TITLE TEXT-002.

  • PARAMETERS MODIF ID SAL.

SELECT-OPTIONS: S_vkorg for TVKO-VKORG obligatory MODIF ID SAL,

S_VTWEG for TVTW-VTWEG obligatory MODIF ID SAL,

S_SPART for TSPA-SPART obligatory MODIF ID SAL.

SELECTION-SCREEN END OF BLOCK BLK2.

SELECTION-SCREEN BEGIN OF BLOCK BLK3 WITH FRAME TITLE TEXT-003.

SELECT-OPTIONS: S_vkorg1 for TVKO-VKORG obligatory MODIF ID BIL,

S_VTWEG1 for TVTW-VTWEG obligatory MODIF ID BIL,

S_SPART1 for TSPA-SPART obligatory MODIF ID BIL,

S_FKDAT for VBRK-FKDAT obligatory MODIF ID BIL.

SELECTION-SCREEN END OF BLOCK BLK3.

my requirement is , when i select the RB P_SALE the BLK3 have to be invisible and when i select the RB P_BILL BLK2 have to be invisible .

Thanks & Regards ,

Sabu.