10-20-2008 10:52 AM
Hi
Is this possible to declare two parameters in the same line but not in the screen painter?
10-20-2008 10:54 AM
Hi ,
try like this
SELECTION-SCREEN begin of line.
SELECTION-SCREEN COMMENT 1(15) text-p1.
parameters: P1(10) type c.
SELECTION-SCREEN COMMENT 25(15) text-p2.
PARAMETERS: P2(10) type c.
SELECTION-SCREEN end of LINE.
Thanks & Regards
10-20-2008 10:53 AM
Hi Kosmo,
You can declare 2 parameters in 1 line. You just have to declare the parameters in beteween "selection-screen begin of line" and "selection-screen end of line".
Try it out...
Cheers,
Vishnu
10-20-2008 10:54 AM
Hi ,
try like this
SELECTION-SCREEN begin of line.
SELECTION-SCREEN COMMENT 1(15) text-p1.
parameters: P1(10) type c.
SELECTION-SCREEN COMMENT 25(15) text-p2.
PARAMETERS: P2(10) type c.
SELECTION-SCREEN end of LINE.
Thanks & Regards
10-20-2008 10:54 AM
hi Kosmo,
try this.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS:
p_param1 TYPE datum DEFAULT sy-datum,
p_param2 TYPE uzeit DEFAULT sy-uzeit.
SELECTION-SCREEN END OF LINE.
regards,
Peter
10-20-2008 11:01 AM
Hello Kosmo ,
When ever u want to display in same line we have to use
select-screen begin of line with positions and comments.
In the below example dont change the Positions 30 and Comment 1 or Position 40 and comment 4(20).
SELECTION-SCREEN : BEGIN OF BLOCK b4 WITH FRAME TITLE text-t04.
SELECTION-SCREEN: BEGIN OF LINE.
SELECTION-SCREEN: POSITION 30,
COMMENT 1(20) text-m01
FOR FIELD s_matnr.
PARAMETER: s_matnr TYPE mara-matnr.
SELECTION-SCREEN: POSITION 40,
COMMENT 40(20) text-m03.
PARAMETER: r_matnr TYPE mara-matnr.
SELECTION-SCREEN : END OF LINE.
SELECTION-SCREEN : END OF BLOCK b4.