‎2008 Jan 07 3:03 PM
Hii,
Can any one help me to handle radio button with tablecontrol in Module pool program. how to trigger the PAI part when radio button is clicked , what's the thing to do in order to meet the requirement.
Thanks & Regards,
A.Thuyavan
‎2008 Jan 07 3:11 PM
Please go though this link for Module Pool Radio Button
[http://www.sapdev.co.uk/dialog/radiobuttons.htm]
Reward points if it is usefull,..
Girish
‎2008 Jan 07 3:21 PM
Hii,
Grouping radio button i have already done it, problem for me is once radio button is clicked its not going to PAI only if press ENTER or anything PAI is getting triggered. Help me out
Thanks in Advance.
A.Thuyavan
‎2008 Jan 07 3:35 PM
Hii,
Im facing this problem in table control . Please hel me out.
‎2008 Jan 07 4:16 PM
Hi,
I hope you are looking for triggering PAI when you select the radio button in the radiobutton group. Am i right, if so follow the below.
1) When you create radiobuttons, you need to group them first.
2) Give the attributes (Name, Text and Function Code) of the radiobutton.
3) in PAI - write the module
4) In PAI module you can write like this
If sy-ucomm = FunctionCode (use the same function code for all the radio buttons in that radio button group).
case 'X'.
when 'RB1' (Radiobutton 1 field name)
code here.
when 'RB2' (Radiobutton 2 Field name)
code here.
Endcase.
Try as above scenario, please let me know if you need more information.
Regards,
Satya
endif.
‎2008 Jan 07 4:03 PM
Hi Thooyavan,
Assign a function code to the first radiobutton group parameter only. This can be 20 char string of your choice. Now when any radiobutton in the group is clicked, PAI will be triggrred.
... RADIOBUTTON GROUP group1 USER-COMMAND DOSOMETHING.
Hope this helps.
Thanks
Sanjeev