‎2009 Mar 27 8:56 AM
Xperts,
say Exit001 is called 2-3 times for Transaction T1.
and in my exit i have some select stmts..
If i use Static internal table..can i avoid multiple times fetching of data from database.??
‎2009 Mar 27 9:25 AM
I got the ans...
it is for u guys..
If you use the STATICS statement instead of DATA when you
declare local data objects, their lifetime is extended to the overall
program lifetime. Therefore, such data objects have the same lifetime as
global data objects, but their visibility is still limited to the respective
modularization unit.
You can use the STATICS statement in function modules, subroutines,
and static methods.
Local data objects are overwritten with their start value or initial value each time
they are called by the surrounding modularization unit (unless they were declared
with the STATICS statement).
Static retain their values when an executable program calls several function
modules in the same function group consecutively.
Thanks & Regards,
Anoop Chandran