hi,
you can create enhancement spot and enhancement implementation .
and then enhance the source code of the function module. So in that case you will enhancing the source code and not global data or import export parameters.
for source code enhancement find