‎2009 Jan 01 6:07 AM
Hi,
I have one more doubt, what is the Purpose of function group? Why we are using function group in function
module and table maintenance?
Regards,
Ramya
‎2009 Jan 01 6:13 AM
Hi,
Check this link
http://help.sap.com/saphelp_nw70/helpdata/EN/9f/db992335c111d1829f0000e829fbfe/content.htm
Hope this is helpful.
Regards,
Kalyan.
‎2009 Jan 01 6:14 AM
Hi,
it is the set of logically related function modules that share the same program context at runtime.
A function group is the main program for the function modules it contains. Typically, functions that use the same data are assigned to the same function group.
Thanks.
‎2009 Jan 01 6:17 AM
hi,
This is used by the system to create the components of the group (main program and corresponding include programs). When you create a function group or function module in the Function Builder , the main program and include programs are generated automatically.
All of the function modules in a function group can access the global data of the group. For this reason, you should place all function modules that use the same data in a single function group. For example, if you have a set of function modules that all use the same internal table, you could place them in a function group containing the table definition in its global data.
Like executable programs (type 1) and module pools (type M), function groups can contain screens, selection screens, and lists. User input is processed either in dialog modules or in the corresponding event blocks in the main program of the function group. There are special include programs in which you can write this code. In this way, you can use function groups to encapsulate single screens or screen sequences.
‎2009 Jan 01 6:17 AM
Hi Ramya,
Generally, the function modules that are inter-related to each other or they belong to the same work-stream are assigned to the same function group.
Function Group is responsible for holding them together.
Thanks & Regards,
Tarun Gambhir
‎2009 Jan 01 6:23 AM
Hi
Function Group is defined to group FM ( Function Module ) related to similar or one functionality or module .
It is very muvh similar to like we have PACKAGE to store inter related information OBJECTS or development together .
Main technical point is with in a FG u can define global variables which all FM can access , so some time there are sitution when a global variable is initialised by another FM of the FG and further used by another FM with value assifn to it by previous.
for further details as told can go to help.sap.com or search on SDN .
Regards
Sachin
HNY 2009