2005 Oct 19 6:58 AM
Anybody how knows how I can count rows in my internal table?
2005 Oct 19 7:00 AM
Linn,
Try this:
data: l_lines type i.
describe table itab lines l_lines.
Cheers,
Pat.
PS. Kindly assign Reward Points to the posts you find helpful.
Anybody how knows how I can count rows in my internal table?
2005 Oct 19 7:00 AM
Linn,
Try this:
data: l_lines type i.
describe table itab lines l_lines.
Cheers,
Pat.
PS. Kindly assign Reward Points to the posts you find helpful.
2005 Oct 19 7:04 AM
let the name of your internal tabl is i_tab.
then after the filling the table do this.
data: cnt type i.
describe table i_tab lines cnt.
write cnt.
2005 Oct 19 7:30 AM
Hi,
Data: lines like sy-tabix.
DESCRIBE TABLE ITAB LINES LINES.
where itab is your internal table.
This will work out.
Please award sutiable points .
Regards,
Irfan
2005 Oct 19 7:00 AM
hi,
try this one
DATA: N TYPE I,
DESCRIBE TABLE ITAB LINES N.
cheers
sasi
2005 Oct 19 7:01 AM
With release 6.10 there is the statement lines( ). In prior releases you can stick to the describe statement.
Regards
Klaus
| User | Count |
|---|---|
| 4 | |
| 2 | |
| 2 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 | |
| 1 |