‎2008 Apr 30 10:23 AM
Hi Abapers,
i have selection like this
start selection screen 1.
radio button1
radio button2.
end of selection screen1.
start selection screen 2.
check box1
chwk box 2.
end selection screen 2.
now i need them in the below format
selection screen 1 selection screen 2
radio button 1 checkbox 1
radio button 2 checkbox2 .
can it be possible . if so please suggest some ways
Regards
Arun.
‎2008 Apr 30 10:26 AM
Hi,
Selection-screen: begin of line.
declare your radio buttons and check boxes here.
Selection-screen: end of line.
Example:
selection-screen: begin of block blk1 with frame.
selection-screen: begin of line.
parameters: p_rad1 radiobutton group rad1 default 'X' user-command rusr.
selection-screen position 5.
parameters: p_chk1 as checkbox.
selection-screen: end of line.
selection-screen: begin of line.
parameters: p_rad2 radiobutton group rad1.
selection-screen position 5.
parameters: p_chk2 as checkbox.
selection-screen: end of line.
selection-screen: end of block blk1.
Edited by: Velangini Showry Maria Kumar Bandanadham on Apr 30, 2008 11:30 AM
‎2008 Apr 30 10:28 AM
HI,
Please look for the option:
Selection-screen Begin of line.
selection-screen end of line.
Thank you.
‎2008 Apr 30 10:30 AM
Hi,
Try using
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS: checkbox 1, checkbox 2.
SELECTION-SCREEN END OF LINE.
Please go through the below link
http://help.sap.com/saphelp_nw70/helpdata/EN/9f/dba7e235c111d1829f0000e829fbfe/frameset.htm
Thanks
Ruthra
‎2008 Apr 30 10:32 AM
Hi Arun,
You need in one line Radio button and check box should appear right..if so try this...
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 06.
SELECTION-SCREEN COMMENT 02(25) text-007.
parameters : ra1 radiobutton group g1 default 'X',
SELECTION-SCREEN COMMENT 30(30) text-008.
SELECTION-SCREEN POSITION 65.
PARAMETERS: ch1 AS CHECKBOX.
SELECTION-SCREEN COMMENT 68(35) text-009.
SELECTION-SCREEN END OF LINE.
This will dispaly as You want try out....
regards,
sg
‎2008 Apr 30 10:45 AM
Hi Arun,
I think the solutions offered by the SDN team members are enough for your to solve the problem. I think you have solved the problem. If you have solved the problem then please close the thread.
Thanks in advance for your kind cooperation.
Regards.
Abhijit.