what is the difference between function modules and
subroutines
Answers were Sorted based on User's Feedback
Answer / smart varghese
funtion modules subroutines
1.they can be tested by itself 1.they cannot .
2.they can be remote enabled 2.they cannot .
3.they can handle exceptions 3.Only a few can handle.
4.they have to be maintained in 4.It is not necessary.
a function group.
Is This Answer Correct ? | 55 Yes | 7 No |
Answer / manoj kumar
Function module is globel and Subroutine is local to the
the program in which it is defined. So if we need to use
some functionality more that onece we can make function
module and we can call them where ever we want. without
again redefining it.
Is This Answer Correct ? | 38 Yes | 13 No |
Answer / venkaiah rudrapati
1) function modules are global we can access the function modules within the server as well as the out side the server also where as subroutines are local we can access the subroutines within the server only.
2)we can test the function module independently without calling where as the subroutine we can't test the subroutine independently.
3) subroutines can't handle the exceptions where as function module can handle the exceptions.
4)
.
Is This Answer Correct ? | 4 Yes | 0 No |
Answer / manoj
A function returns a value whereas a subroutine does not. A
function should not change the values of actual arguments
whereas a subroutine could change them.
Is This Answer Correct ? | 3 Yes | 5 No |
Answer / anand
function modules uses call by value technique and whereas subroutines uses both call by value and reference
Is This Answer Correct ? | 6 Yes | 10 No |
Answer / mayuri
Function Module. Subroutines.
1. Can return the value Can not return the Value
2. Executable programs Non executable programs
Is This Answer Correct ? | 17 Yes | 26 No |
Answer / sunil panghal
Functions modual is globel and subroutions is globel and
local both
Is This Answer Correct ? | 2 Yes | 11 No |
How can a lock object be called in the transaction?
What are the uses of the information in the data dictionary? : abap data dictionary
What is locking ?
How to debug ABAP workflow ?
how to stretch the report size in standard tool bar.
What is roles and responsibilities of sap hr consultants? : sap abap hr
What is the difference between the exits created in M.M and S&D?
Hi to all abap gurus iam new to abap and my querry is as follows . and i feel so happy if u give exact anwers ? Querry1: i have one page( named "page1" )in my script with three windows(logo,adress,main windows) my requirement is to display some dynamic data in the script that is list of orders of the customer whn u give the customer number in selction-screen .then we can go for main window only to dispaly dynamic data ? or is there any other option ? then what should we give as apage number in the next page attribute in the header information. suppose if i dont give "page1" in the next page attribute as anext page what will happen ? i mean that dynamic data will be displayed or not ? Querry2: one one more querry incase if we have two pages in my layout .in page1 (3 windows as said above ) and page2 ( only logo and address window ) and no main window in page2. now if we give "page2" as next page in the next page attribute of page1 then that dynamic data will be displayed or not ?
Explain what is sap script?
1.Can we see the output without print program in sap script,and can we fetch the data without printprogram?if yes how,pls reply in details. 2.What is table control in BDC? how can we handled in bdc? pls reply in details
how do you supress blank spaces in sap scripts?
Kindly help me to Know the process of mapping in EDI from R/3 to a convertor(third party which translates IDoc flatfile to EDIFACT /XML / FTP /HTTP ) ?