Skip to Content
0
Former Member
Mar 23, 2009 at 08:57 PM

Dynamic selection options on selection screen.

53 Views

Hello Gurus,

I am using following blocks in my selection screen. I want only block one to be displayed first. After user hits with data in parameters of block 1, then block 2 should appear but till then remain invisible. How can I achieve this ?

SELECTION-SCREEN BEGIN OF BLOCK BSD1 WITH FRAME Title text-001.
SELECTION-SCREEN SKIP.
PARAMETERS: l_RECNO LIKE ZAP01-RECNO,
            L_OCRTP TYPE ZAPYPE DEFAULT 'Z.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK BSD1.

SELECTION-SCREEN BEGIN OF BLOCK BSD2 WITH FRAME Title text-002.
SELECTION-SCREEN SKIP.
PARAMETERS: bukrs type bukrs,
                        vednum like lfa1-lifnr.
SELECTION-SCREEN SKIP.
SELECTION-SCREEN END OF BLOCK BSD2.

Regards,

Jainam.