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

prob

Former Member
0 Likes
689

What does it mean of the below given para?

"Line-size 180.

message zz."

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
667

line-size gives columns per line

Message-Id reprsents messgae-class for the program

5 REPLIES 5
Read only

Simha_
Product and Topic Expert
Product and Topic Expert
0 Likes
667

Hi,

Line-size gives u the number of columns u can restrict per page.;

Message ZZ gives u the description of the message id in the program..

where ever u use the same message id u dont have to reuse it in the program while writing messages , just u need to give the message number...

Cheers,

Simha,.

Read only

Former Member
0 Likes
668

line-size gives columns per line

Message-Id reprsents messgae-class for the program

Read only

Former Member
0 Likes
667

this is written as report <repname> with line-size 180 message zz...

means when u display data on output screen in report it will display 180 charcaters...Say, ur internal fields length is 170...so, it will be displayed in 1 line as length is 180 where as say it is 190 then it will 180 chars and the next 10 chars are displayed in next line....Here max will be 255...

messagezz is used to display messages...Say u want to display some message in ur report u write as

message e001 with "message".

Read only

Former Member
0 Likes
667

line size is the number of characters for a line in the output screen.

It can be max up to 1023.

message is th edescription of a particular message id in the program.

Thanx.

Read only

Former Member
0 Likes
667

Hi Abhay Singh

in case of page properties

LINE-SIZE width

Effect

The line length of the page defined with the addition LINE-SIZE of the statement at the start of the program or NEW-PAGE is inserted after width.

in case of new page

LINE-SIZE width

Effect

This addition sets the page width of the current list level to the value in width and sets sy-linsz to this value. The line width determines the number of characters in the list buffer and the number of columns in the displayed list. For width, a data object of type i is expected. The value of width must not be negative. If the value of width is equal to 0 or greater than 1.023, the line width is set to a default width, which depends on the window width of the current dynpro (sy-scols), but is at least as wide as the width of an SAP window in standard size. For the basic list, the addition overrules the page width determined in the program introduction statement.

The addition is effective only if no output has yet been sent to the current list level. The page width of a written list cannot be changed

in case of report

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.

Note

The current maximum line width is stored in the constants slist_max_linesize of the type group SLIST. Also defined there is a type slist_max_listline of type c with length slist_max_linesize.