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

List

Former Member
0 Likes
868

Hi ,

How to restrict the Length and width of an ABAP list output ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
842

Hi,

use like this.

REPORT <REPORT NAME> LINE-SIZE <N1> LINE-COUNT <N2(N3)>.

n1:number characters in a line.

n2:number of lines in a page to be displayed.

n3:number of lines reserved for end of list event.

write the extension LINE-SIZE <N1> LINE-COUNT <N2(N3)>. for ur first statement report <report name>.

rgds,

bharat.

9 REPLIES 9
Read only

Former Member
0 Likes
842

Hi..

report <Zprog> line-size 500 line-count 50.

<b>REPORT <rep> LINE-SIZE <width>.

REPORT <rep> LINE-COUNT <length>[(<n>)].</b>

Maximum width is 1023 characters...

Read only

Former Member
0 Likes
842

Hi,

use line count and line size

regards,

ananth

Read only

Former Member
0 Likes
842

Hi,

Using ther LINE-COUNT and LINE-SIZE

see the example:

report zesdr001

line-size 215

line-count 65

no standard page heading

message-id zv.

regards,

Anji

Read only

Former Member
0 Likes
842

Hi ,

What does Line count , Line size refer which is to comntrol Length and which is to width .

What is standard size of SAP reports ?

Read only

former_member673464
Active Contributor
0 Likes
842

hi,,

To determine the width of the output list, use the LINE-SIZE option of the REPORT statement.

Syntax

REPORT <rep> LINE-SIZE <width>.

but you cannot restrcit length of list output.You can display in terms of page using To determine the page length of an output list, use the LINE-COUNT option of the REPORT statement.

Syntax

REPORT <rep> LINE-COUNT <length>[(<n>)].

regards,

veeresh

Read only

Former Member
0 Likes
842

HI Kumar,


report ZETA
line-size 200   " Line width is 200 charecters
line-count 50   "  Length is 50 lines
no standard page heading.

Regards

Sudheer

Read only

Former Member
0 Likes
842

Hi ,

So Line - Count refers the Length of report per each page correct ? What is the default line count value in List ?

Read only

0 Likes
842

depends on the resolution of the screen,

Read only

Former Member
0 Likes
843

Hi,

use like this.

REPORT <REPORT NAME> LINE-SIZE <N1> LINE-COUNT <N2(N3)>.

n1:number characters in a line.

n2:number of lines in a page to be displayed.

n3:number of lines reserved for end of list event.

write the extension LINE-SIZE <N1> LINE-COUNT <N2(N3)>. for ur first statement report <report name>.

rgds,

bharat.