‎2008 Jul 01 7:41 PM
hi,
i have created a function group and created 2 FM in that. Both use some common data declarations so i declared those variables in the top include of the function group named LZFGXXXTOP.
is this include automatically recognized in my FM or do i have to include it ? sample statements please ..
thks
‎2008 Jul 01 7:45 PM
‎2008 Jul 01 7:45 PM
‎2008 Jul 01 8:11 PM
Sorry Rich, I fail to understand what you are saying.
in simple terms, i need to have some common data declarations for 2 function modules in a function group. Can u pl outline the steps I need to follow ? also i need to have a common set of form routines (FORM ENDFORM) to be used in these 2 function modules, where do i create these ?
thks a lot
‎2008 Jul 01 8:19 PM
hi if you declare the data variables and internal tables for both the function modules common but you cannot create the subroutines in common..you need to create the subroutines in the includes of that individual function modules.....but when you see the main program of the function module all the includes will be seen together..
‎2008 Jul 01 7:45 PM
hi every function group automatically craetes the top include ....no need to create by our own...
to check this ...go to any function module..
menu bar->goto->main program---->
here the first include wil be the top include..this is created by the system