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

reporting

sushant_singh
Participant
0 Likes
507

i want to have multiple checkboxes in a single line

in reporting.how to do that.i don't want to use screen painter.is there any way?

i'm trying it using :

begin of line,

end of line.

its not working.

if anyone have code for that plz send .

thanks.

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
479

Hi Sushant,

Use selection screen and put your parameters in that screen where you can arrange them in a line using:

ELECTION-SCREEN BEGIN OF LINE and

SELECTION-SCREEN END OF LINE.

This enables you to arrange several parameters, comments, pushbuttons or underline blocks, included between the SELECTION-SCREEN BEGIN OF LINE and SELECTION-SCREEN END OF LINE statements, in a single line. The automatic new line after each PARAMETER is suppressed.

Try this:

<b>SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: P1 AS CHECKBOX.

PARAMETERS: P2 AS CHECKBOX.

SELECTION-SCREEN END OF LINE.</b>

Hope this helps,

Pragya

4 REPLIES 4
Read only

Former Member
0 Likes
479

Try this

Selection-screen: begin of line.

parameters: var1 as checkbox,

var2 as checkbox,

var3 as checkbox,

var4 as checkbox,

var5 as checkbox,

var6 as checkbox.

Selection-screen: end of line.

Read only

Former Member
0 Likes
480

Hi Sushant,

Use selection screen and put your parameters in that screen where you can arrange them in a line using:

ELECTION-SCREEN BEGIN OF LINE and

SELECTION-SCREEN END OF LINE.

This enables you to arrange several parameters, comments, pushbuttons or underline blocks, included between the SELECTION-SCREEN BEGIN OF LINE and SELECTION-SCREEN END OF LINE statements, in a single line. The automatic new line after each PARAMETER is suppressed.

Try this:

<b>SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: P1 AS CHECKBOX.

PARAMETERS: P2 AS CHECKBOX.

SELECTION-SCREEN END OF LINE.</b>

Hope this helps,

Pragya

Read only

0 Likes
479
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN POSITION 1.
PARAMETERS: P1 AS CHECKBOX. 
SELECTION-SCREEN COMMENT 4(25) 'Material no.'.

PARAMETERS: P2 AS CHECKBOX.
SELECTION-SCREEN COMMENT 40(25) 'Plant'.
SELECTION-SCREEN END OF LINE.
Read only

0 Likes
479

Hi Sushant,

Please look at the code below:

SELECTION-SCREEN BEGIN OF BLOCK b1 WITH FRAME.

SELECTION-SCREEN BEGIN OF LINE.

PARAMETERS: p1 AS CHECKBOX,

p2 AS CHECKBOX,

p3 AS CHECKBOX.

SELECTION-SCREEN END OF LINE.

SELECTION-SCREEN END OF BLOCK b1.

*Additionally, you can use selection-screen comment to put text for the checkboxes.

*Here are the other layout options for selection-screen:

1. SELECTION-SCREEN BEGIN OF BLOCK block.

2. SELECTION-SCREEN BEGIN OF TABBED BLOCK block FOR n LINES.

3. SELECTION-SCREEN END OF BLOCK block.

4. SELECTION-SCREEN TAB (len) tabname USER-COMMAND ucom.

5. SELECTION-SCREEN BEGIN OF LINE.

6. SELECTION-SCREEN END OF LINE.

7. SELECTION-SCREEN POSITION pos.

8. SELECTION-SCREEN ULINE.

9. SELECTION-SCREEN COMMENT fmt name.

10.SELECTION-SCREEN PUSHBUTTON fmt name USER-COMMAND ucom.

11.SELECTION-SCREEN SKIP n.

12.SELECTION-SCREEN FUNCTION KEY n.

Hope this helps...

P.S. Please award points for useful answers.