Application Development and Automation 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: 
Read only

no need to click execute button

Former Member
0 Likes
1,398

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

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
Read only

Former Member
0 Likes
1,145

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.

Read only

0 Likes
1,145

thanks..will try it.

Read only

Former Member
0 Likes
1,145

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

Read only

Former Member
0 Likes
1,145

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

Read only

Former Member
0 Likes
1,145

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