performance using select statement
i need to retrieve a field from database within a loop.
i know that using a select statement within a loop gives bad performance.
so my question is does using a function module improves the performance and how.
because a function module also in turn calls a select statement. so what difference does it make, calling a select statement or a function module within a loop.
thanks and regards