Application Development 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: 

Functionality for No standard page counting..line size..line count..

radhushankar
Participant
0 Kudos

can ane tel me the functionality for for No standard page counting..line size..line count..??

Thanks and Regards

Arun joseph

1 ACCEPTED SOLUTION

harikrishnan_m
Active Participant
0 Kudos

Hi,

Here is an eg..for tht

The page length of the basic list is set to 65 lines, eight of which are reserved for the page footer. The line width is 132 characters.

REPORT z_myreport LINE-COUNT 65(8) LINE-SIZE 132.

Here system field sy-linct is filled with 65.

sy-linsz with 132...default is 1023 char..

if sy-linct is less than or equal to 0 or greater than 60,000, then the page length is set internally to 60,000.

NO STANDARD PAGE HEADING refers to the HEADING of the page....if u need to give HEADING for the page u can give like...

WITH-HEADING / WITH-TITLE...

Rewards if useful

Regards,

ABAPer 007.

3 REPLIES 3

harikrishnan_m
Active Participant
0 Kudos

Hi,

Here is an eg..for tht

The page length of the basic list is set to 65 lines, eight of which are reserved for the page footer. The line width is 132 characters.

REPORT z_myreport LINE-COUNT 65(8) LINE-SIZE 132.

Here system field sy-linct is filled with 65.

sy-linsz with 132...default is 1023 char..

if sy-linct is less than or equal to 0 or greater than 60,000, then the page length is set internally to 60,000.

NO STANDARD PAGE HEADING refers to the HEADING of the page....if u need to give HEADING for the page u can give like...

WITH-HEADING / WITH-TITLE...

Rewards if useful

Regards,

ABAPer 007.

Former Member
0 Kudos

In a report program we write the first statement as no standard page heading line-size <n> line-count <m>.

1) no standard page heading: If you dont give top of page details using top-of-page event you will get short text as heading in the output header.To avoid this and to write your own headings you can use this..at the same time you have to write top-of-page event..within this you write whatever output heading you want.

2)Line-size: normally the output contains 255 char only..if you print more than 255 char ,means say you write 10 columns in the output each column contains 30 char..then it takes overa all 300 char to fill in the out put..but u didn't get the 45 char..its truncated...so to avoid this and display all the data you have to increase the size of output page..for this purpose you have to use this.Up to 1023 char you can get the output.

3)Line-count: this is for footer details..means each page contains 30 lines but if you want to print footer details you have to reserve some space for them within this statement like line-count 30(2)..means each page contaions 30 lines within 30 lines you have reserved 2 lines for footer details like page no etc...

I hope you get some clear understand now.

Reward if it useful

Dara.

radhushankar
Participant
0 Kudos

Thanks