Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

regarding selection screen

hi experts,

i have a scenario like this,in the selection i have two radio button

one for bank transfer and one for cash transfer what i want that ven ever i select bank transfer my banktransferselection selection screen will come

and when ever i select cash transfer my cash transfer selection screen will come plz help me regarding this

Former Member
Former Member replied


Try something like this..

report  zsel.

parameters: p_bank radiobutton group rad1 default 'X' user-command opt,
            p_cash radiobutton group rad1.

selection-screen begin of block b01 with frame title text-t01.
parameters: banksel type sy-datum modif id bk.
selection-screen end of block b01.

selection-screen begin of block b02 with frame title text-t02.
parameters: cashsel type sy-datum modif id ch.
selection-screen end of block b02.

at selection-screen output.

  loop at screen.
    if ( p_bank is initial and screen-group1 = 'BK' ).
      screen-active = '0'.
      modify screen.

    if ( p_cash is initial and screen-group1 = 'CH' ).
      screen-active = '0'.
      modify screen.


0 View this answer in context
Not what you were looking for? View more on this topic or Ask a question