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

Check Box on selection screen

Former Member
0 Likes
29,649

Hi,

Can any one tell me how to bring checkboxs in a horizontal line????

Pls...

Thx,

Shashi

1 ACCEPTED SOLUTION
Read only

Former Member
11,265

hi,

This is the solution to your problem

selection-SCREEN begin of line.

PARAMETERS chkbox AS CHECKBOX .

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

selection-SCREEN POSITION 12.

PARAMETERS chkbox1 AS CHECKBOX

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

selection-SCREEN end of line.

<removed_by_moderator_together_with_everything>

GAURAV JUNEJA..

Edited by: Julius Bussche on Aug 15, 2008 5:16 PM

Hi,

Can any one tell me how to bring checkboxs in a horizontal line????

Pls...

Thx,

Shashi

11 REPLIES 11
Read only

Former Member
11,265

Hi,

selection-SCREEN begin of line.
PARAMETERS  cbox1 AS CHECKBOX USER-COMMAND rad.
selection-SCREEN COMMENT 2(8) text-001 for field cbox1.
selection-SCREEN POSITION 10.
PARAMETERS  cbox2 AS CHECKBOX USER-COMMAND rad.
selection-SCREEN COMMENT 12(8) text-002 for field cbox1.
selection-SCREEN end of line.

also put the foll in ur goto->text symbols

001	Hi
002	Hello

Cheers,

jose.

Edited by: jose on Feb 19, 2008 6:51 AM

Read only

Former Member
0 Likes
11,265

Hi,

u want to add check box in the selection screen

selection-screen : begin of block b1.

parameter : gv_check_box as checkbox.

selection-screen : end of block b1.

Regards,

Keerthi

Read only

Former Member
0 Likes
11,265

hi,

Try like 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.

like that u can write as many check boxes as u need on the same horizantel line.

seshu.

Read only

SantoshKallem
Active Contributor
0 Likes
11,265

selection-screen: begin of line.
declare the check box parameters.
selection-screen: end of line.

other way is

open the program in se51 with screen number 1000.

go to layout and drag as u required.

regards.

santhosh reddy

<REMOVED BY MODERATOR>

Edited by: Santhosh Reddy on Feb 19, 2008 11:24 AM

Edited by: Alvaro Tejada Galindo on Aug 15, 2008 3:30 PM

Read only

Former Member
0 Likes
11,265

Shashi,

SELECTION-SCREEN BEGIN OF LINE.

SELECTION-SCREEN COMMENT 1(10) 'CHECKBOX'.

PARAMETERS: p1(3) AS CHECKBOX,

p2(5) AS CHECKBOX,

p3(1) AS CHECKBOX.

SELECTION-SCREEN END OF LINE.

Read only

former_member188829
Active Contributor
0 Likes
11,265

Hi,

Check this program....

SELECTION-SCREEN BEGIN OF BLOCK B1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) TXT_01.
PARAMETERS:C1 AS CHECKBOX.
SELECTION-SCREEN COMMENT 50(10) TXT_02.
PARAMETERS:C2 AS CHECKBOX.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B1.

INITIALIZATION.

  TXT_01 = 'CHECK1'.
  TXT_02 = 'CHECK2'.

Read only

Former Member
0 Likes
11,265

Refer this link

[http://www.sapdevelopment.co.uk/reporting/selscr/selscr_sameline.htm]

Read only

Former Member
0 Likes
11,265

Hi ,

Try like this you will get an idea

And made your selection using this..

SELECTION-SCREEN : BEGIN OF BLOCK A WITH FRAME TITLE TEXT-001.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS : P_CHECK1 AS CHECKBOX.

SELECTION-SCREEN POSITION 10.

SELECTION-SCREEN COMMENT 10(35) text-020 FOR FIELD P_CHECK2.

PARAMETER: P_CHECK2 AS CHECKBOX.

SELECTION-SCREEN POSITION 10.

SELECTION-SCREEN COMMENT 10(35) text-020 FOR FIELD P_CHECK2.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN : END OF BLOCK A.

Thanks,

Sakthi C

<REMOVED BY MODERATOR>

Edited by: Alvaro Tejada Galindo on Aug 15, 2008 3:30 PM

Read only

Former Member
0 Likes
11,265

Hi

this is the code to get checkboxes horizontally.

selection-screen begin of line.

selection-screen comment 1(10) lb1.

PARAMETERS : px_c1 AS CHECKBOX.

selection-screen comment 25(10) lb2.

PARAMETERS : px_v1 AS CHECKBOX.

selection-screen end of line.

initialization.

lb1 = 'hfh'.

lb2 = 'hfdh'.

Read only

Former Member
11,266

hi,

This is the solution to your problem

selection-SCREEN begin of line.

PARAMETERS chkbox AS CHECKBOX .

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

selection-SCREEN POSITION 12.

PARAMETERS chkbox1 AS CHECKBOX

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

selection-SCREEN end of line.

<removed_by_moderator_together_with_everything>

GAURAV JUNEJA..

Edited by: Julius Bussche on Aug 15, 2008 5:16 PM

Read only

0 Likes
11,265

Nahhh???...