Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

report

Former Member
0 Likes
570

Hi,

how can we make columns. in simple classical report output .

Hemant

7 REPLIES 7
Read only

Former Member
0 Likes
548

Using WRITE statement.

Please be more specific on your requirement...

Kind Regards

Eswar

Read only

gopi_narendra
Active Contributor
0 Likes
548

check this simple report http://www.erpgenie.com/sap/abap/code/abap26.htm

Regards

- Gopi

Read only

Former Member
0 Likes
548
Read only

Former Member
0 Likes
548

hi

good

no it is not possible,you have to use ALV concept for this.

thanks

mrutyun^

Read only

Former Member
0 Likes
548

Hi,

use sy-vline to draw vertical lines in between to have a look of columns.

write:/ var1,sy-vline,var2.

to display at soecific positions specify the offset like this

write:/ '50',10 sy-vline,30 '100'.

at 10th column vertical line is displayed,next field is displayed at 30th position.

Message was edited by: sowjanya s

Read only

Former Member
0 Likes
548

hi,

using write statement we can do......

using this statement we can insert colour under columns

formate colour intensified

using this sy-vline(system variable) we can drow line....

Read only

Former Member
0 Likes
548

Hi,

See the example code as follows:

WRITE: / sy-vline, text-001 ,10 sy-vline,12 text-002,30 sy-vline,

32 text-003, 50 sy-vline,

52 text-004, 68 sy-vline,

70 text-005, 85 sy-vline.

LOOP AT itab.

ULINE AT (85).

format color off.

WRITE: / sy-vline,itab-werks UNDER text-001, 10 sy-vline,

itab-lgort UNDER text-002,30 sy-vline,

itab-mtart UNDER text-003,50 sy-vline,

itab-value under text-004,68 sy-vline,

itab-labst UNDER text-005,85 sy-vline.

Hope it helps.

reward if helpful.

Regards,

Sipra