How to get the no of records using select statement?

Answer Posted / ranjan

data: wa_t001 type t001,
t_t001 type table of t001.

select * into table t_t001 from t001.

loop at t_t001 into wa_t001.
write: no.of records sy-tabix.
endloop.

Is This Answer Correct ?    0 Yes 8 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is macro? : abap hr

642


What is the company code? : sap abap hr

580


What are the basic functions of database utility? : abap data dictionary

603


​​What is constructor expression in​​ nw​​ abap​​ 7.4?

637


In a loop of an internal table, what is the use of at first & at last statements?

1479






What are the different buffering methods?

582


What is update task

7643


How many types of tables exists and what are they in data dictionary? : abap data dictionary

716


if while coding power goes off , how to retrieve the codes?

1626


In which cluster time results are stored? : abap hr

591


What is new enhancement framework?

892


What are the differences between session method and call transaction method? : abap bdc

557


What is off cycle payroll run

1951


What is the BAPI_CUSTMATINFO_GETDETAILM used for? what is the input and output of this bapi.

2867


What are the different methods of passing data?

604