‎2006 Oct 16 10:38 AM
Hi all
Can anybody please explain function module and function groups with examples...
Thanks and regards
vijaya
‎2006 Oct 16 10:42 AM
It is basically a generic code which can be called within any other program with the facility to import/export parameters and tables. The function module is assigned to a function group. Hence Function group consists of FMs related to a specific group.
FM can be created using SE37 while FG can be created using SE80.
Example :
Create a Function group called ZDATE.
Within that group we can create FM lets say for Date Calculation.
FM - CALCULATE_DATE.
‎2006 Oct 16 10:42 AM
It is basically a generic code which can be called within any other program with the facility to import/export parameters and tables. The function module is assigned to a function group. Hence Function group consists of FMs related to a specific group.
FM can be created using SE37 while FG can be created using SE80.
Example :
Create a Function group called ZDATE.
Within that group we can create FM lets say for Date Calculation.
FM - CALCULATE_DATE.
‎2006 Oct 16 10:42 AM
pls chk this for function modules
http://help.sap.com/saphelp_nw04/helpdata/en/26/64f623fa8911d386e70000e82011b8/content.htm
‎2006 Oct 16 10:43 AM
chk this for function group
http://help.sap.com/saphelp_nw04/helpdata/en/d1/801ef5454211d189710000e8322d00/content.htm
‎2006 Oct 16 11:32 AM
Hi
Please check the following link
http://help.sap.com/saphelp_di471/helpdata/EN/9f/db988735c111d1829f0000e829fbfe/content.htm
Also please check
http://help.sap.com/saphelp_nw04/helpdata/en/9f/db98fc35c111d1829f0000e829fbfe/content.htm
http://help.sap.com/saphelp_47x200/helpdata/en/d1/801e9a454211d189710000e8322d00/frameset.htm