Use date ranges to read mkpf data and save them in an internal table. Looping through the internal table, read MSEG, preferably filtering more using any possible selection criteria, to another internal table. Loop through the internal table for further processing. Make sure to read only the required fields from the Tables.
Login to rate this answer.
1.In select query u can use only select field1 field2.......(wat r the fields u want write it)
2.Don user select * in selcet query.
3.You can always use where condinton in select query.
4. dont go for joins .
5.Alway use for FOR ALL ENTRIES to link the two internal table.
6. dont write any state ment with in the loop.
Regards,
sankaran Ramaiah

1 User has rated as useful.
Login to rate this answer.
hi,
In the select query,select only required fiedls Based on the table structure.
2) Once the data selected into internaltable after that sort the filed based on the key fileds
3) use the read statement and binary search
4) use the where condition in the select query.
Regards,
Sankarna R
Login to rate this answer.