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

Explain what are the events in screen programming?

754


While doing bdc exp va01 transaction sometime in the item level data shows only 4 items and other times it will show 6 line items, how will you maintain this kind of screen resolutions scenerio? : abap bdc

988


How do you execute the payroll

2047


Does the bdc-insert function allow multiple transactions to be processed by sap? : abap bdc

879


What are the user interfaces of interactive lists?

740


On ABAP, Did you set up a workflow? Are you familiar with all steps for setting up a workflow?

825


What are the different functions used in sap script? What are the parameters used in each function?

848


What are the table controls in bdc ? What is the difference between bdc and lsmw ?what is the difference between bdc and rfc ? : abap bdc

782


What are the different types joins?

774


What is the collect statement? How is it different from append?

753


What is narrow casting and wide casting?

1338


What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why?

787


What are the different methods of passing data?

841


Differentiate screen painter from menu painter.

762


After running a BDC program in background, next day morning when you see the results, few records are not updated(error records). What will you do then ?

1689