‎2006 Aug 01 8:28 AM
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.
‎2006 Aug 01 8:42 AM
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
‎2006 Aug 01 8:41 AM
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.
‎2006 Aug 01 8:42 AM
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
‎2006 Aug 01 8:44 AM
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.
‎2006 Aug 01 8:51 AM
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.