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 |
What are table clusters?
I am having an internal table with field name 'type' which consists of values 'a' 'b' 'c' 'a' 'a'.Now i used 'at new fieldname' control statement on this field so what could be the output
What are the uses of secondary indexes?
What is the difference between value table and check table?
What is an interactive report? What is the obvious difference of such report compared with classical type reports?
SUPPOSE WE ARE RUNNING A BDC PROGRAM IN BACK GROUND AND AT THE END WE FOUND THAT SOME RECORDS ARE NOT UPDATED?WHAT IS THE SOLUTIONS
What are authorization objects and what statement is used to perform an authorization check in an abap program?
What is logo in sap script?
CAN WE DEBUG A MACROS ? HOW DO TO MATHEMATICAL ON TWO NUMBERS ?
is there any tping conversions in abp.and list them
What should be declared explicitly in the corresponding abap/4 statements to access internal tables without header lines & why? : abap modularization
difference between report and module pool