Skip to Content
0
May 30, 2008 at 09:14 AM

Reading data from application server based on selection screen

117 Views

Hi All,

I have a file in application server with 6 million records.

I have to retrieve data from that file based on selection screen.

the following code is what I have used,

********

DO.

READ DATASET p_fname INTO fs_file.

MOVE-CORRESPONDING fs_file TO t_data.

APPEND t_data.

ENDDO.

loop at t_data where kunnr in so_kunnr.

move-corresponding t_data to t_final.

append t_final.

endloop.

****************

reading total data is taking more time.

Is it possible to filter the data at the time of reading only?

Regards,