‎2008 Sep 01 7:50 AM
Hi All,
i have design one custom screen in thet there is three radio buttons i ahve assigned one function code to radio buttons.
now i want to preform duiffrent-2 functionaliity on clicking on radio button.can anybody tell me how can i achive this functionallity.
Thanks
Kunaal
‎2008 Sep 01 7:59 AM
When you select any one of the Radiobutton then your Function code will be triggered. So PAI will be triggered.
There you handel them.
PAI
module user_command_100.
module user_command_100 input.
case ok_code.
when 'RAD'.
IF R1 = 'X'.
"R1 logic.
else.
"R2 Logic
endif.
endmodule.
‎2008 Sep 01 7:59 AM
When you select any one of the Radiobutton then your Function code will be triggered. So PAI will be triggered.
There you handel them.
PAI
module user_command_100.
module user_command_100 input.
case ok_code.
when 'RAD'.
IF R1 = 'X'.
"R1 logic.
else.
"R2 Logic
endif.
endmodule.
‎2008 Sep 01 8:19 AM
hI VIJAY,
THANKS FOR UR REPLY.
i ma using this code:
case ok_code.
when 'CYTMAA'.
IF gwa_reinstatement_data-zpoint = gc_x.
MOVE GC_X TO GV_POINT.
CYTMAA is my function code for radio button,
now the thing is i am caaling radio button inside the tab, so while debugging the sy-ucomme is coming for my tab not for radio button.
can you please suggest how the problem will resolved.
Thanks
Kunaal
‎2008 Sep 01 8:29 AM
‎2008 Sep 01 9:37 AM
‎2008 Sep 01 9:39 AM
You need to check the main screen. Where are you handing the user actions.
Give me Complete Flow what you are doing. how many screens you have and how many subscreens..etc.
‎2008 Sep 01 9:41 AM
i have six tabstrops and six subscreen inside it.
now in my second scrreen i have three radio buttons that have specific use..
thanks
‎2008 Sep 01 9:58 AM
You need to check the Radiobuttons in the main screen. based on the Tab, and then Radiobutton code and the Radiobutton selection.
‎2008 Sep 01 10:33 AM
Hi,
In the secand sub-screen PAI you should write the logic related to handling variouys functionalities depending on the radio-button selected.
say 210 is the secand sub screen where yuo have designed the 4 radiobuttons, In same the same subscreen create another subscreen which is possible.
Depending on the radiobutton selected call the sub-screen.
if R1 EQ 'X'.
" call sub-screen 211
elseif R2 eq 'X'.
"call sub-screen 212
elsif R3 eq 'X'.
"call sub-screen 213.
elseif r4 eq 'X'.
"call sub-screen 214.
endif.
In order to see how to call sub screen from an screen refer to the standard program DEMO_DYNPRO_SUBSCREENS
Hope this explanation of mine helps,
Rama.
‎2009 Apr 01 5:41 PM