‎2008 May 27 1:30 PM
Hello,
I want to place some feilds in a table display in left alignments and some feilds in right alignments.
So please tell me in normal reports and ALV reports.
I have to modify in both reports.So answer me for these two.
Thank you
‎2008 May 27 1:38 PM
Hi,
For alv reports, while building fieldcatalog for the fields you need to use :
gs_fieldcat-just = ' ' " (R)ight (L)eft (C)ent.
Thanks,
Sriram Ponna.
‎2008 May 27 1:40 PM
Hi,
For normal reports use
TYPE-POOLS line.
WRITE: /10 line_top_left_corner AS LINE NO-GAP,
line_top_middle_corner AS LINE NO-GAP,
line_top_right_corner AS LINE,
/10 line_left_middle_corner AS LINE NO-GAP,
line_cross AS LINE NO-GAP,
line_right_middle_corner AS LINE,
/10 line_bottom_left_corner AS LINE NO-GAP,
line_bottom_middle_corner AS LINE NO-GAP,
line_bottom_right_corner AS LINE.
"ALV
gs_fieldcat-just = ' ' "R for right, L for left, C for center.
Thanks,
Sriram Ponna.
‎2008 May 27 1:42 PM
Hi,
For List Display, you can write as follows.
WRITE w_var LEFT-JUSTIFIED.
WRITE w_var RIGHT-JUSTIFIED.
For ALV reports,
There is a filed in filed catalog.
just(1) type c, " (R)ight (L)eft (C)ent.