As you will see below I have a checkbox p_cust and a second block with some selection criteria. In the selection screen only the p_cust must be displayed but when p_cust = 'X' then the second block must be displayed too.
I suppose that I have to do something with at selection screen output and loop at screen. Any idea?
SELECTION-SCREEN: BEGIN OF BLOCK mad WITH FRAME TITLE text-b01.
parameters: p_cust as checkbox.
SELECTION-SCREEN: END OF BLOCK mad.
SELECTION-SCREEN: BEGIN OF BLOCK cus WITH FRAME TITLE text-b01.
select-options : s_kunnr for kna1-kunnr..
parameters: p_kdkg5 like kna1-kdkg5 default 'Y1'.
SELECTION-SCREEN: END OF BLOCK cus.