ABAP | Reference
Sample Codes and Syntax
Wednesday, 2 January 2013
Getting Record Count
REPORT TEST.
DATA: l_count TYPE i.
PARAMETERS: p_tab TYPE tabname.
START-OF-SELECTION.
SELECT COUNT(*) FROM (p_tab) INTO l_count.
WRITE: / 'Number of entries in table ', p_tab, l_count.
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment