‎2006 Dec 05 7:58 AM
I have a function group within which i have 6 function modules. I want to declare global data in the function group which can be used in all the function modules. Is it possible? If yes then please give me the details..
Thanks,
Abhishek
‎2006 Dec 05 7:59 AM
Hi,
Yes.Use **TOP in the function pool.It can be used for the entire function group.
‎2006 Dec 05 8:00 AM
hi Abishek,
yes it is possible .. assign the same function group for all the 6 Function Modules and put the common data in the Function Group TOP Include program program ...
Regards,
Santosh
‎2006 Dec 05 8:01 AM
Each function module is nothing but INCLUDE program. So, if you see the list of includes, there will be a TOP include which is common and will be accessible to all other function modules.
You can declare variables there.
Regards,
Ravi
Note - Please mark all the helpful answers
‎2006 Dec 05 8:02 AM
Hi,
there is one include which is called ...TOP herein you can post your global datas.
regards
Thorsten