what is need of function group for function modules whereas
there is no need of f.group for subroutines?
Answers were Sorted based on User's Feedback
Hi Friend
Plz go through these 3 points , carefully absorb and it
might be clarified your doubts.
1)Need of function modules is to avoid the lengthy and
faster accessing data,how means,suppose for example: i want
the previous month first day and last day based on Today
date(means day Sunday or Monday or etc)Actually today date
is 19Apr2008,Saturday. I want previous month first day and
last day, ie first day is 1Mar 2008 it is Sunday or Monday
or Tuesday etc and like last date 31Mar 2008 is Monday or
Tuesday etc. Generally you need to write lengthy coding , so
to avoid lengthy coding just u use date function module in
coding and pass the parameters, it will give the out put to
u(just few lines of coding)
2)Function groups means, some related function modules are
grouped in to one function group.
For Example: For date lot of different date function modules
are available in SAP R/3, so these function modules are
grouped in to one Function group.
3)Subroutines are used in only with in the program.
Frequently used part of program is keep in to subroutines.
Globally not available. But where as Function modules are
available in central library of R/3 and global access.
If any doubts plz contact me via mail : malli.gontla@gmail.com
Is This Answer Correct ? | 9 Yes | 1 No |
Answer / jaswant sahjlan
The function group used to hold multiple function modules. The most powerful advantages of function group is to share the abap elements of function module with each other that is not possible in subroutines. For example you can use the screen define in function module module1 into module 2 if both the modules have same function group.
Is This Answer Correct ? | 2 Yes | 0 No |
How is the command suppress-dialog useful?
How to print Back to Back in Scripts?
Why don’t use LSMW method instead of BDC methods, if the data is master data?
How do you write technical specs?
2 Answers Cap Gemini, IBM, PWC, TCS,
when does the secondary index should be used what role it play when we use secondary index in tables
What are the data types of internal tables?
what is the various print modes available with SAP scripts?
How to know if the value entered contains records or not?
why we use 4 msg variable in BDCMSGCOLL stucture in BDC? why not more or less than 4?
Difference between top-of-page and top-of-page during at line- selection?
11) Purpose of PROTECT and ENDPROTECT in script?
How can print the styles?