Monday, December 28, 2009

LINES vs DESCRIBE


1. LINES
· LINES( itab ) => return number of rows of an itab in TYPE i .
· DESCRIBE TABLE itab [LINES lin] [OCCURS n] [KIND knd].
- [LINES lin] => lin TYPE i, contains number of filled lines in itab.
- [OCCURS n] => n TYPE i, contains initial size of the table.
- [KIND knd] => knd TYPE c, contains the table type of itab.
o ‘T’ = Standard Table
o ‘S’ = Sorted Table
o ‘H’ = Hashed Table
· DESCRIBE TABLE itab.
- SY-TFILL TYPE i, contains number of filled lines in itab.

No comments:

Post a Comment