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

line size ?

Former Member
0 Likes
1,659

REPORT zbdc_call

NO STANDARD PAGE HEADING LINE-SIZE 255.

what is LINE-SIZE 255.?

what is line count ?

explain plzzzzz ?

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
1,415

LINE-SIZE width

Effect

This addition specifies the line width of the basic list and details list of the program to width characters, and sets the system field sy-linsz to this value. The line width determines the number of characters in the line buffer as well as the number of columns in the list displayed. The value width must be a positive numeric literal. The maximum line width is 1,023 characters.

When the LINE-SIZE is not specified, the line width of the basic list is set to a standard width based on the window width of the current Dynpro, but is at least as wide as a standard size SAP window. For the standard width, the contents of sy-linsz is 0. The LINE-SIZE overwrites the value of the like-named LINE-SIZE addition to the statement SUBMIT and can be overwritten during list creation with the like-named LINE-SIZE addition to the statement NEW-PAGE.

LINE-COUNT page_lines[(footer_lines)]

Effect

This addition specifies the page length for the basic list of the program to page_lines lines and fills the system field sy-linct with this value. If the LINE-COUNT is not specifed, and if page_lines are less than or equal to 0 or greater than 60,000, then the page length is set internally to 60,000. This setting overwrites the passed value of the like-named LINE-SIZE addition to the statement SUBMIT and can be overwritten during list creation with the like-named LINE-COUNT addition to the statement NEW-PAGE.

If you optionally specify a number for footer_lines, a corresponding number of lines are reserved for the page footer, which can be described in the event block END-OF-PAGE.

You must specify page_lines and footer_lines as numeric literals.

Notes

For screen lists, you should use the standard value since, as a rule, page breaks defaulted through LINE-COUNT are not adjusted to the window size.

You should also use the standard value for print lists, so that you can still select the page size on a printer-specific basis. A print list should be created in such a way so that it can handle every page size.

Specifying a fixed line count is only useful for form-type lists with a fixed page layout. Here, however, you should always check whether such forms can be created by other means, such as SAPScript forms.

Example

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.

REPORT zbdc_call

NO STANDARD PAGE HEADING LINE-SIZE 255.

what is LINE-SIZE 255.?

what is line count ?

explain plzzzzz ?

4 REPLIES 4
Read only

Former Member
0 Likes
1,416

LINE-SIZE width

Effect

This addition specifies the line width of the basic list and details list of the program to width characters, and sets the system field sy-linsz to this value. The line width determines the number of characters in the line buffer as well as the number of columns in the list displayed. The value width must be a positive numeric literal. The maximum line width is 1,023 characters.

When the LINE-SIZE is not specified, the line width of the basic list is set to a standard width based on the window width of the current Dynpro, but is at least as wide as a standard size SAP window. For the standard width, the contents of sy-linsz is 0. The LINE-SIZE overwrites the value of the like-named LINE-SIZE addition to the statement SUBMIT and can be overwritten during list creation with the like-named LINE-SIZE addition to the statement NEW-PAGE.

LINE-COUNT page_lines[(footer_lines)]

Effect

This addition specifies the page length for the basic list of the program to page_lines lines and fills the system field sy-linct with this value. If the LINE-COUNT is not specifed, and if page_lines are less than or equal to 0 or greater than 60,000, then the page length is set internally to 60,000. This setting overwrites the passed value of the like-named LINE-SIZE addition to the statement SUBMIT and can be overwritten during list creation with the like-named LINE-COUNT addition to the statement NEW-PAGE.

If you optionally specify a number for footer_lines, a corresponding number of lines are reserved for the page footer, which can be described in the event block END-OF-PAGE.

You must specify page_lines and footer_lines as numeric literals.

Notes

For screen lists, you should use the standard value since, as a rule, page breaks defaulted through LINE-COUNT are not adjusted to the window size.

You should also use the standard value for print lists, so that you can still select the page size on a printer-specific basis. A print list should be created in such a way so that it can handle every page size.

Specifying a fixed line count is only useful for form-type lists with a fixed page layout. Here, however, you should always check whether such forms can be created by other means, such as SAPScript forms.

Example

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.

Read only

Former Member
0 Likes
1,415

Hi

line-size <number> extension of a report statement is used display the list each line having that number of characters.

line-count <number> extension is used to display those many lines on each page. ie., if the number of lines are more then automatically a new-page is triggered.

line-count 20(3) extension of report mean that the line count is 20 and in which 3 lines are reserved for footer. To display the footer we have to write the code in the event end-of-page. If the number of lines ie., 17 in this case are not reached, then the end-of- page is not reached and the footer is not displayed.

Reward.

Read only

Former Member
0 Likes
1,415

Hi,

Line-size is the max.length of the current line in the list.

Line-count is the max. no. of lines in the current page of the

list.

Read only

Former Member
0 Likes
1,415

Line Size

The line size for a particular report can be set by using the addition

line-size <size>.

If the LINE-SIZE specification is missing, the line length corresponds to the current screen width.

The system field SY-LINSZ contains the current line size ( recommendation: LINE-SIZE < 132).

Line Count

The line count for a particular page can be set by using the addition line-count n(n1). N is the number of lines for the page and N1 is the number of lines reserved for the page footer.

Regards

Palak Behal

p.s. please give rewards if u find this information useful