2008 Feb 12 8:19 AM
hi experts,
i have three radio buttons for 1.all sales orders, 2)dispathched,3) not invoiced.
how can i get this functinality in report to display different lists by pressing different radio buttons.
send me sample program plese.
thanks in advance.
2008 Feb 12 8:24 AM
Hi,
try the foll sample code.
PARAMETERS : rb1 RADIOBUTTON GROUP rad,
rb2 RADIOBUTTON GROUP rad,
rb3 RADIOBUTTON GROUP rad.
START-OF-SELECTION.
CASE 'X'.
WHEN rb1.
WRITE 'First button is selected'.
WHEN rb2.
WRITE 'second button is selected'.
WHEN rb3.
WRITE 'third button is selected'.
ENDCASE.Cheers,
jose.
hi experts,
i have three radio buttons for 1.all sales orders, 2)dispathched,3) not invoiced.
how can i get this functinality in report to display different lists by pressing different radio buttons.
send me sample program plese.
thanks in advance.
2008 Feb 12 8:24 AM
Hi,
try the foll sample code.
PARAMETERS : rb1 RADIOBUTTON GROUP rad,
rb2 RADIOBUTTON GROUP rad,
rb3 RADIOBUTTON GROUP rad.
START-OF-SELECTION.
CASE 'X'.
WHEN rb1.
WRITE 'First button is selected'.
WHEN rb2.
WRITE 'second button is selected'.
WHEN rb3.
WRITE 'third button is selected'.
ENDCASE.Cheers,
jose.
2008 Feb 12 8:25 AM
parameters : r1 radiobutton group g1 user-command ABC,
r2 radiobutton group g1.
r3 radiobutton group g1.
PARAMETERS: p1 TYPE d default sy-datum.
select-options p2 for sy-datum.
at selection-screen output.
if r1 = 'X'.
loop at screen.
if screen-field = 'P2-LOW'.
screen-input = '0'.
clear p2-LOW.
endif.
modify screen.
if screen-field = 'P2-HIGH'.
screen-input = '0'.
clear p2-HIGH.
endif.
modify screen.
endloop.
else.
loop at screen.
if SCREEN_FIELD = 'P1'.
screen-input = '0'.
clear p1.
endif.
modify screen.
endloop.
endif.
check thiss....
for select options you need specify low and high ..
Reward points if it is helpful
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |