‎2007 Jun 04 3:02 PM
Hy!
I have 2 input fields and a checkbox in a selection screen and I want to put them <b>on the
same horizontal row</b>, not each on a different row.
Any suggestions?
Thank you.
‎2007 Jun 04 3:03 PM
Use SELECTION-SCREEN BEGIN OF LINE. And SELECTION-SCREEN END OF LINE.
‎2007 Jun 04 3:03 PM
Use SELECTION-SCREEN BEGIN OF LINE. And SELECTION-SCREEN END OF LINE.
‎2007 Jun 04 3:18 PM
It works, but they I also should specify some visible length for each, because I see them
one near close eachother. Too near.
Suggestions?
Thank you.
‎2007 Jun 04 3:20 PM
‎2007 Jun 04 3:21 PM
Just change what number you put after "POSITION". That will change where the second (or third, etc.) field starts.
- April
‎2007 Jun 04 3:27 PM
PARAMETERS: p_sdems TYPE /bic/azg1e_wks00-/bic/zg1esdems.
SELECTION-SCREEN POSITION 30.
PARAMETERS:p_emsnm TYPE /bic/azg1e_wks00-/bic/zg1eemsnm .
sb_wks as checkbox.
But now I can't see anymore the text element of the parameter .
Help.
‎2007 Jun 04 3:31 PM
When you put multiple parameters on the same line, you have to use a comment in place of the text element. Like this:
SELECTION-SCREEN BEGIN OF LINE.
PARAMETER p1 RADIOBUTTON GROUP rad1 DEFAULT 'X'.
SELECTION-SCREEN POSITION 4.
SELECTION-SCREEN COMMENT (5) text-p01 FOR FIELD p1.
SELECTION-SCREEN POSITION 20.
SELECTION-SCREEN p2 RADIOBUTTON GROUP rad1.
SELECTION-SCREEN POSITION 24.
SELECTION-SCREEN COMMENT (5) text-p02 FOR FIELD p2.
SELECTION-SCREEN END OF LINE.
I hope this makes sense.
- April
‎2007 Jun 04 3:09 PM
Use code like this:
SELECTION-SCREEN BEGIN OF LINE.
PARAMETER p_ages RADIOBUTTON GROUP rad1 DEFAULT 'X'.
SELECTION-SCREEN POSITION 4.
SELECTION-SCREEN COMMENT (5) text-p03 FOR FIELD p_ages.
SELECTION-SCREEN END OF LINE.
You have to use POSITION to set the placement of any fields in a row after the first field.
- April King