2008 Aug 21 5:18 AM
Hi Friends,
Hope doing well.
I have 2 fields on selection screen, which they want to display in same line
including the field text.how can i do this, pls help me regarding this issue.
2008 Aug 21 5:19 AM
Hi Friends,
Hope doing well.
I have 2 fields on selection screen, which they want to display in same line
including the field text.how can i do this, pls help me regarding this issue.
2008 Aug 21 5:19 AM
2008 Aug 21 5:21 AM
Venkat,
selection-screen: begin of block blk1 with frame title text-001.
parameters: p_werks like t001w-werks obligatory.
selection-screen begin of line.
selection-screen comment (30) text-002.
selection-screen position 33.
parameters: p_cmonth like t549q-pabrp obligatory,
p_cyear like t549q-pabrj obligatory.
selection-screen end of line.
selection-screen: end of block blk1.
K.Kiran.
2008 Aug 21 5:23 AM
Hi Venkat ,
USe F1 help on Begin of Line.
Chech this Code for reference.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(6) text-000 FOR FIELD p1.
SELECTION-SCREEN POSITION 10.
PARAMETERS: p1 TYPE c.
SELECTION-SCREEN COMMENT 20(6) text-002 FOR FIELD p1.
SELECTION-SCREEN POSITION 30.
PARAMETERS: p2 TYPE c.
SELECTION-SCREEN END OF LINE.
Regards,
Sachin M M
2008 Aug 21 5:23 AM
hi ,
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(15) label.
PARAMETERS: p1 LIKE mara-matnr
SELECTION-SCREEN COMMENT 40(15) to.
PARAMETERS: p2 LIKE mara-MEINS .
SELECTION-SCREEN END OF LINE.
2008 Aug 21 5:25 AM
Hi,
Selection-screen : Begin of line.
........................
...................
Selection-screen : End of line.
between this the no. of fields u will put , will be displayed in one line.
Hope this will help u.
Regards,
Aleem.
Edited by: Aleem Mohiuddin on Aug 21, 2008 6:25 AM
2008 Aug 21 5:42 AM
Hi,
We should use Selection-Screen Begin Of Line.... for this purpose.
example :
SELECTION-SCREEN:BEGIN OF BLOCK b1 WITH FRAME TITLE text-013.
SELECTION-SCREEN SKIP 1.
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(25) text-014.
PARAMETERS p_matnr type mara-matnr.
PARAMETERS p_bkgpr AS CHECKBOX.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
.
Hope this helps.
thanx,
dhanashri.
2008 Aug 21 6:10 AM
hi,
you can try the begin of line statement
SELECTION-SCREEN BEGIN OF BLOCK b1 .
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(7) text-000.
PARAMETERS:
empID(10) type c,
empName(10) type c.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b1.
2008 Aug 21 6:14 AM
Hi,
Refer below code
SELECTION-SCREEN BEGIN OF BLOCK b3 WITH FRAME TITLE text-060.
SELECTION-SCREEN BEGIN OF LINE.
PARAMETERS : p_rpt RADIOBUTTON GROUP g1 "Display report
USER-COMMAND radio DEFAULT 'X'.
SELECTION-SCREEN COMMENT 3(40) text-055.
PARAMETERS : p_post RADIOBUTTON GROUP g1. "Post Documents
SELECTION-SCREEN COMMENT 46(28) text-056.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN END OF BLOCK b3.
Regards,
Prashant
2008 Aug 21 8:35 AM
Iam getting 2 fields on same line but iam not getting field text,
i want that too.
2008 Aug 21 9:12 AM
Hi Venkat ,
Double click on the Text-000 and Create Required Text , to get the field Text .
SELECTION-SCREEN BEGIN OF LINE.
SELECTION-SCREEN COMMENT 1(6) text-000 FOR FIELD p1.
SELECTION-SCREEN POSITION 10.
PARAMETERS: p1 TYPE c.
SELECTION-SCREEN COMMENT 20(6) text-002 FOR FIELD p1.
SELECTION-SCREEN POSITION 30.
PARAMETERS: p2 TYPE c.
SELECTION-SCREEN END OF LINE.
Regards,
Sachin M M
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |