‎2006 Jun 06 3:35 AM
Hi everyone,
can anyone tell me what is a function group. I know it contains group of function modules what the purpose of function group .We give a function group in table maintenance generator for a ztzble ,whats the purpose of it.
Please let me what is function module too.
Thanks in advance
‎2006 Jun 06 5:29 AM
Hai Deepthi
1. specially function group.. what is its significance
When we generate table maintenance,
the system , based upon the table fields,
automatically,
generates
PROGRAM CODE, SCREEN FOR ENTERING DATA,
LOGIC FOR SAVING DATA, LOGIC FOR DISPLAYING DATA
ETC.
2. All this are BUNCHED under
a FUNCTION GROUP
(if you open that function group in se80, after
creatting table maintenacne,
u will see the program code, screens, gui status etc)
3. Hence, to BUNCH all these various objects,
SAP uses the concept of function group.
*----
4. And also why do we need to give two screens there
Its not necessary to have to screens.
5. ONE SCREEN MEANS:
only one screen with table control to enter data
TWO SCREEN means :
first screen : only primary key fields will appear
second screen : rest of the fields will appear to enter data
6. When the table consists of many fields,
its practically more convenient to have two screens,
so that all fields come vertically downwards.
(instead of scrolling horizontally in the table
control, in case of one screen concept)
The use of the FG is only this the Table Maintainance Generator part. Neednt be declared anywhere else.
yes u need to create a FG and the use it in Table maint. gen.
http://help.sap.com/saphelp_erp2005/helpdata/en/a7/513520407a11d1893b0000e8323c4f/frameset.htm - a link for basics on Table Maintenance.
Also, Check out this weblog on table maintenance:
/people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance
Thanks & regards
Sreenivasulu P
‎2006 Jun 06 3:43 AM
Hi,
just like what u mentioned... pl check this <a href="http://help.sap.com/saphelp_47x200/helpdata/en/9f/db992335c111d1829f0000e829fbfe/frameset.htm">SAP help</a>
regards,
Suresh
‎2006 Jun 06 3:49 AM
A function module is kind of the equivalent of a function in the C programming language.
A function module is a piece of code with a unique purpose that can be "shared" by other programs/pieces of code. A func mod frequently has IMPORT and EXPORT parameters. These parameters provide the inputs and outputs of the func module.
A function group IS a group of function modules. Specifically, it is the parent/main program of all function modules in the function group. Function modules are actually code snippets (if you will). If you view the source code of a func module, it is NOT a complete ABAP program. The remaining parts of the function mod that make it a compiled ABAP program are stored in the function group.
To view this, open a function mod in SE37. Then from the menu bar, choose GOTO > Main Program.
This will take you the parent/main program/the function group.
It has all of the other variables, etc that are required OUTSIDE of each function module to make each func module run/execute.
Don't forget those points.
‎2006 Jun 06 4:35 AM
Hi,
Please refer the forum threads.
This point is covered there..
The funcion group is where i guess the screen along with some code for generator are stored. Thats the reason we mention the Function group while creating the tabkle maintainence generator..
Regards,
Tanveer.
<b>Please mark helpful answers</b>
‎2006 Jun 06 5:06 AM
Hi ,
Func. Group is the place where in all the global decalration are done for all the FM which are being included in it.
the Func. Group has all the global data declarations,screen defination etc.
Cheers
‎2006 Jun 06 5:11 AM
Hi Deepthi,
Please check this online document and go to function group and function module section.
http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCABA/BCABA.pdf
Hope this will help.
Regards,
Ferry Lianto
Please reward points if helpful.
‎2006 Jun 06 5:29 AM
Hai Deepthi
1. specially function group.. what is its significance
When we generate table maintenance,
the system , based upon the table fields,
automatically,
generates
PROGRAM CODE, SCREEN FOR ENTERING DATA,
LOGIC FOR SAVING DATA, LOGIC FOR DISPLAYING DATA
ETC.
2. All this are BUNCHED under
a FUNCTION GROUP
(if you open that function group in se80, after
creatting table maintenacne,
u will see the program code, screens, gui status etc)
3. Hence, to BUNCH all these various objects,
SAP uses the concept of function group.
*----
4. And also why do we need to give two screens there
Its not necessary to have to screens.
5. ONE SCREEN MEANS:
only one screen with table control to enter data
TWO SCREEN means :
first screen : only primary key fields will appear
second screen : rest of the fields will appear to enter data
6. When the table consists of many fields,
its practically more convenient to have two screens,
so that all fields come vertically downwards.
(instead of scrolling horizontally in the table
control, in case of one screen concept)
The use of the FG is only this the Table Maintainance Generator part. Neednt be declared anywhere else.
yes u need to create a FG and the use it in Table maint. gen.
http://help.sap.com/saphelp_erp2005/helpdata/en/a7/513520407a11d1893b0000e8323c4f/frameset.htm - a link for basics on Table Maintenance.
Also, Check out this weblog on table maintenance:
/people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance
Thanks & regards
Sreenivasulu P