2007 Jul 12 7:29 AM
Hi All,
Hi All,
Suppose there are two parameters on Selection Screen.
I declare as
Parameters: p_date for Hi All,
Suppose there are two parameters on Selection Screen.
I declare as
Parameters: p_date for bkpf-cpudt
Parameters: p_date for bkpf-cputm
So these two will come on two different lines on Sel Screen.
But Suppose I want to make them on Same line on Sel Screen.
Ho can I do that ? How ca i write Parameter statement for it.
Regards,
Rishi
Hi All,
Hi All,
Suppose there are two parameters on Selection Screen.
I declare as
Parameters: p_date for Hi All,
Suppose there are two parameters on Selection Screen.
I declare as
Parameters: p_date for bkpf-cpudt
Parameters: p_date for bkpf-cputm
So these two will come on two different lines on Sel Screen.
But Suppose I want to make them on Same line on Sel Screen.
Ho can I do that ? How ca i write Parameter statement for it.
Regards,
Rishi
2007 Jul 12 7:30 AM
hi..
<b>SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) INPUT1.
PARAMETERS P1 TYPE I.
SELECTION-SCREEN COMMENT 40(10) INPUT2.
PARAMETERS P2 TYPE I.
SELECTION-SCREEN END OF LINE.
INITIALIZATION.
INPUT1 = 'INPUT1'.
INPUT2 = 'INPUT2'</b>
<b>Reward points if useful</b>
Regards
Ashu
2007 Jul 12 7:33 AM
Hi,
you need to use SELECTION-SCREEN BEGIN OF LINE .
What ever you write in between SELECTION-SCREEN BEGIN OF LINE and SELECTION-SCREEN END OF LINE will come in a single line.
<b>Example</b>
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) TEXT-001 FOR FIELD P1.
PARAMETERS: P1 LIKE SAPLANE-PLANETYPE, P2(5), P3(1).
SELECTION-SCREEN END OF LINE.
Regards
Sudheer
2007 Jul 12 9:11 AM
Thanks Ashu/Sudheer.
U have helped lot. Thanks for reply.
Rishi
2007 Jul 12 9:17 AM
HI RISHI,
in ur selection screen add one more statement as
SELECTION-SCREEN BEGIN OF LINE .
SELECTION-SCREEN END OF LINE .
Example
SELECTION-SCREEN BEGIN OF BLOCK B1 WITH FRAME TITLE TEXT-001.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(10) TEXT-001 FOR FIELD P1.
PARAMETERS: P1 LIKE SAPLANE-PLANETYPE, P2(5), P3(1).
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK B1
If helpful reward some points.
with regards,
Suresh.A
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |