I have got a generic data source based on Function Module. In the FM it is actually updating some mapping tables. I would like to update those tables only when extractor is actually executed using Infopackage or using DTP(Direct access). But don't want to update other tables when data source is executed using RSA3 simulation mode.
Is there a way to find whether data source is run in simulation or real in the Function Module?
I found 0REQUID is getting value as TEST when executing data source in simulation (RSA3), but I can't hard code just this in my function module as this can be changed to any thing in future.