2007 Aug 03 11:13 AM
how to get set of fields in frame in the o/p
let consider four variable ...
in output i want two variable as one frame and another two variables as another frame.
2007 Aug 03 11:59 AM
Hi
We use the FRAME only in the selection screen purpose
We declare fields in the frame and accordingly we see on selection screen.
see the sample code
selection-screen begin of block b1 with <b>frame</b> title text-001.
select-options :
s_kostl for csks-kostl, " Cost Center
s_date for sy-datum. "Date
selection-screen end of block b1.
selection-screen begin of block b2 with <b>frame</b> title text-002.
select-options :
s_kunnr for kna1-kunnr, " Customer
s_matnr for mara-matnr. " material
selection-screen end of block b2.
<b>Reward points for useful Answers</b>
Regards
Anji
Hi
We use the FRAME only in the selection screen purpose
We declare fields in the frame and accordingly we see on selection screen.
see the sample code
selection-screen begin of block b1 with <b>frame</b> title text-001.
select-options :
s_kostl for csks-kostl, " Cost Center
s_date for sy-datum. "Date
selection-screen end of block b1.
selection-screen begin of block b2 with <b>frame</b> title text-002.
select-options :
s_kunnr for kna1-kunnr, " Customer
s_matnr for mara-matnr. " material
selection-screen end of block b2.
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Aug 03 11:59 AM
Hi
We use the FRAME only in the selection screen purpose
We declare fields in the frame and accordingly we see on selection screen.
see the sample code
selection-screen begin of block b1 with <b>frame</b> title text-001.
select-options :
s_kostl for csks-kostl, " Cost Center
s_date for sy-datum. "Date
selection-screen end of block b1.
selection-screen begin of block b2 with <b>frame</b> title text-002.
select-options :
s_kunnr for kna1-kunnr, " Customer
s_matnr for mara-matnr. " material
selection-screen end of block b2.
<b>Reward points for useful Answers</b>
Regards
Anji
2007 Aug 03 12:02 PM
Hi..
You can Try using the System fields. SY-ULINE, SY-VLINE.
write:/ SY-ULINE(10),
/ SY-VLINE.
<b>Reward if Helpful</b>
2007 Aug 03 12:04 PM
HI
THE FRAMES CAN BE AVAILABLE AT SELECTION SCREEN DESIGN
NOT AT THE OUTPUT LEVEL
IF YOU WANT TO DIFFER COULUMS
BY USING ADDING COLORS TO THIS
LIKE THIS
WRITE : SY-VLINE , 2 IT_PLANT-MATNR COLOR COL_KEY,
21 SY-VLINE , 22 IT_PLANT-WERKS COLOR COL_KEY,
27 SY-VLINE ,28 IT_PLANT-PSTAT COLOR COL_NORMAL,
43 SY-VLINE ,44 IT_PLANT-EKGRP COLOR COL_NORMAL.
REWARD IF USEFULL
2007 Aug 03 12:14 PM
hi
good
to create a frame in the selection screen you can use the statement as selection screeon on block block name.
thanks
mrutyun^
| User | Count |
|---|---|
| 6 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |