what is the difference between function modules and
subroutines

Answer Posted / 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



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is logo in script 1st stored as tiff format before uploading or in jpeg format?and where is that stored after uploading?

1825


Explain different types of attributes of function module?

716


On ABAP, Did you set up a workflow? Are you familiar with all steps for setting up a workflow?

809


Where the payroll results are stored

1979


What do is landscape in sap project, I think its related to no. Of servers used, pls correct me if I am wrong, or what it is? : sap abap hr

715






Explain about interactive report?

778


What are field symbols?

834


What is the difference between data elements and domains?

794


Explain what is runtime analysis?

765


What are the restrictions on subscreens?

884


What is an “on input filed” statements?

869


How do you set up background jobs in sap? What are the steps?

737


What is time constraint ? : abap hr

921


What are the function modules used in a sap script driver program?

799


How is conversion of data types done between abap/4 & db layer? : abap data dictionary

877