DESCRIBE TABLE is used to count the Total rows in a table.
REPORT Z_STUFFING_REPORT.
TABLES: MARA.
select single * from MARA where ERSDA = '04/3/2011'.
DATA: LIN TYPE I.
DESCRIBE TABLE MARA LINES LIN.
write:/ 'Total Rows:', LIN.
REPORT Z_STUFFING_REPORT.
TABLES: MARA.
select single * from MARA where ERSDA = '04/3/2011'.
DATA: LIN TYPE I.
DESCRIBE TABLE MARA LINES LIN.
write:/ 'Total Rows:', LIN.
No comments:
Post a Comment