Application Development and Automation Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Global declaration in function group.

Former Member
0 Likes
564

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

4 REPLIES 4
Read only

jayanthi_jayaraman
Active Contributor
0 Likes
527

Hi,

Yes.Use **TOP in the function pool.It can be used for the entire function group.

Read only

Former Member
0 Likes
527

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

Read only

Former Member
0 Likes
527

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

Read only

Former Member
0 Likes
527

Hi,

there is one include which is called ...TOP herein you can post your global datas.

regards

Thorsten