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: 

no need to click execute button

Former Member
0 Kudos

hello,

just want to ask help. what should i do once i click a radio button it will process the validation in start-of-selection..there is no need to click the execute button.

thanks.

donna

5 REPLIES 5

Former Member
0 Kudos

Hi donna,

1. just use LEAVE TO LIST-PROCESSING.

2. ie.

3. when u detect the radiobutton click,

after that, use the above line.

regards,

amit m.

0 Kudos

thanks..will try it.

Former Member
0 Kudos

Hi,

If you want to only do validations at the click of Radiobutton, i.e. if you want AT SELECTION-SCREEN event to get fired, you will have use the USER-COMMAND COM option.

PARAMETERS : P_RAD1 RADIOBUTTON GROUP g1 USER-COMMAND inc.

so that a function code is triggered and the event is fired.

If you want to display the list also, then place all the write statements in AT SELECTION-SCREEN only and use LEAVE TO LIST-PROCESSING.

regards,

Mahesh

Former Member
0 Kudos

If u want to do some validation as soon as u enter some data and press enter, AT SELECTION SCREEN event will get activated.

*Code used to Initiate the 'AT selection-screen' EVENT from radiobuttons.
selection-screen begin of block group with frame title text-s04.
parameters: p_sel1 type c radiobutton group sel user-command upd.
parameters: p_sel2 type c radiobutton group sel.
parameters: p_sel3 type c radiobutton group sel.
selection-screen end of block group.

http://www.sapdevelopment.co.uk/reporting/selscr/selscrhome.htm

Former Member
0 Kudos

just try this

parameters : r1 radiobutton group rp1 user-command ONLI,

r2 radiobutton group rp1 default 'X'.

when you click r1 it will directly go to execute.

regards

shiba dutta