‎2007 Aug 27 6:57 PM
how to use at selection-screen event for a set of input fields?
‎2007 Aug 27 7:03 PM
Here is an example. You should use the BLOCK functionality.
report zrich_0001 .
parameters: p_parm1 type c,
p_parm2 type c.
selection-screen begin of block b1.
parameters: p_datum1 type sy-datum,
p_datum2 type sy-datum.
selection-screen end of block b1.
at selection-screen on block b1.
if p_datum1 is initial
and p_datum2 is initial.
message e001(00) with 'Enter at least one date'.
endif.
‎2007 Aug 27 7:03 PM
Here is an example. You should use the BLOCK functionality.
report zrich_0001 .
parameters: p_parm1 type c,
p_parm2 type c.
selection-screen begin of block b1.
parameters: p_datum1 type sy-datum,
p_datum2 type sy-datum.
selection-screen end of block b1.
at selection-screen on block b1.
if p_datum1 is initial
and p_datum2 is initial.
message e001(00) with 'Enter at least one date'.
endif.
‎2007 Aug 27 7:26 PM