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

radiobutton positioning

Former Member
0 Likes
582

Hi Experts,

i herewith attached my codings, my requirement is to arrange the radiobuttons in first column 3 radiobuttons and in second column two radiobuttons how to do this can any one explain me with codings,,

tables : pa0000.

selection-screen begin of block a with frame title text-500.

parameter :

p_cweek type c radiobutton group rb,

p_pweek type c radiobutton group rb,

p_upto type c radiobutton group rb,

p_oper type c radiobutton group rb,

p_prcw type c radiobutton group rb.

selection-screen end of block a.

Thanks in advance,

Regards,

Thiru. R

1 ACCEPTED SOLUTION
Read only

JozsefSzikszai
Active Contributor
0 Likes
543

pls. check in SAPHelp:

SELECTION-SCREEN BEGIN OF LINE ...

...

SELECTION-SCREEN END OF LINE...

4 REPLIES 4
Read only

JozsefSzikszai
Active Contributor
0 Likes
544

pls. check in SAPHelp:

SELECTION-SCREEN BEGIN OF LINE ...

...

SELECTION-SCREEN END OF LINE...

Read only

Former Member
0 Likes
543

Hi,

try this out.

selection-screen begin of screen 100.

selection-screen begin of line.

parameters :

p_cweek type c radiobutton group rb,

p_pweek type c radiobutton group rb,

p_upto type c radiobutton group rb.

selection-screen end of line.

selection-screen begin of line.

parameters : p_oper type c radiobutton group rb1,

p_prcw type c radiobutton group rb1.

selection-screen end of line.

selection-screen end of screen 100.

call screen 100.

now go to the screen painter of screen 100 and give the appropriate text by double clicking the radio button

the system gives you an info message saying 'Changes to the selection screen are not effective'

press enter

Best Regards

Ramchander Rao.K

Edited by: ramchander krishnamraju on Dec 11, 2008 11:03 AM

Edited by: ramchander krishnamraju on Dec 11, 2008 11:09 AM

Read only

Former Member
0 Likes
543
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS:p1 RADIOBUTTON GROUP g1 default 'X'.
SELECTION-SCREEN:comment 5(10) text-a01,
POSITION 16.
PARAMETERS:p2 RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : q1 RADIOBUTTON GROUP g2.
SELECTION-SCREEN:POSITION 16.
PARAMETERS : q2 RADIOBUTTON GROUP g2.
SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : p3 RADIOBUTTON GROUP g1.
SELECTION-SCREEN END OF LINE.

Thanks

Edited by: Nitesh Kumar on Dec 11, 2008 3:47 PM

Read only

MarcinPciak
Active Contributor
0 Likes
543

Hi,

I guess you want all radiobuttons in one line, but separated by two columns. If so the below is applicable:


"first column
SELECTION-SCREEN  BEGIN OF LINE.
PARAMETERs p_cweek TYPE c RADIOBUTTON GROUP rb.
SELECTION-SCREEN comment 5(5) text-001.
PARAMETERs p_pweek TYPE c RADIOBUTTON GROUP rb.
SELECTION-SCREEN comment 15(5) text-002.
PARAMETERs p_upto TYPE c RADIOBUTTON GROUP rb.
SELECTION-SCREEN comment 25(5) text-003.

SELECTION-SCREEN POSITION 50.

"second one
PARAMETERS p_oper TYPE c RADIOBUTTON GROUP rb.
SELECTION-SCREEN comment 55(5) text-004.
PARAMETERS p_prcw TYPE c RADIOBUTTON GROUP rb.
SELECTION-SCREEN comment 65(5) text-005.
SELECTION-SCREEN END OF LINE.

Regards

Marcin