Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

sales order

Former Member
0 Kudos

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.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

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.

Former Member
0 Kudos

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