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

INCLUDE 2 CHECKBOX ON SINGLE LINE

Former Member
0 Likes
2,007

Hi All,

I want to include 2 checkboxes on a single line.

Do let me know how to do it.

Regards,

SP

Hi All,

I want to include 2 checkboxes on a single line.

Do let me know how to do it.

Regards,

SP

5 REPLIES 5
Read only

Former Member
0 Likes
1,036

hi,

check the following code here instead of input fields use check boxes

selection-screen begin of line .

selection-screen comment 1(10) lb1 .

parameters : cid(10) .

selection-screen comment 25(10) lb2.

parameters : cname(20) .

selection-screen end of line .

initialization.

lb1 = 'cid'.

lb2 = 'cname'.

at selection-screen.

leave to list-processing.

write : / cid , / cname.

regards,

pavan t.

Read only

Former Member
0 Likes
1,036

Hi Sandeep,

chk this

SELECTION-SCREEN BEGIN OF LINE.

checkbox 1

SELECTION-SCREEN POSITION 1.

PARAMETERS: C1 as checkbox.

SELECTION-SCREEN COMMENT 4(10) TEXT-001 FOR FIELD c1.

checkbox 2

SELECTION-SCREEN POSITION 18.

PARAMETERS: c2 as checkbox.

SELECTION-SCREEN COMMENT 20(10) TEXT-002 FOR FIELD c2.

SELECTION-SCREEN END OF LINE.[/

Read only

Former Member
0 Likes
1,036

Hi

selection-screen begin of line .

parameters : px_c1 as checkbox,

px_v1 as checkbox.

selection-screen end of line .

Read only

Former Member
0 Likes
1,036

Dear Sandeep,

pls try this ....

selection-SCREEN begin of line.

PARAMETERS chkbox AS CHECKBOX USER-COMMAND rad.

selection-SCREEN COMMENT 2(10) text-001 for field chkbox.

selection-SCREEN POSITION 12.

PARAMETERS chkbox1 AS CHECKBOX USER-COMMAND rad.

selection-SCREEN COMMENT 14(8) text-002 for field chkbox1.

selection-SCREEN end of line.

Hope it will help u...!!!

Pls Reward if Helpful....!!!

Read only

Former Member
0 Likes
1,036

Hi

This is the code.

selection-screen begin of block b1 with frame title text-001.

selection-screen begin of line.

parameters:px_perso type c as checkbox default 'X'.

selection-screen comment 3(15) text-004."here you can write some thing beside the checkbox.write that in text-004.

selection-screen position pos_low.

parameters:px_offic type c as checkbox.

selection-screen comment 35(30) text-005."here you can write some thing beside the checkbox.write that in text-005.

selection-screen end of line.

selection-screen skip.

selection-screen end of block b1.