Wednesday, September 30, 2020

Differences between Subroutines and Function Modules in SAP ABAP.

 What are the differences between Subroutines and Function Modules?



Differences between Subroutines and Function Modules.

                           Subroutines

                        Function modules 

1. These are local. We can access the 

     Subroutine within the server only.

1. These are global. We can access the

    function module with in server as well as

    Outside the server.

2. We can’t execute the subroutine independently

2. we can execute function module independently using the T-code SE37

 

3. Subroutines can’t handle the Exceptions.

3. Function module can handle the errors

    through Exceptions.

 

No comments:

Post a Comment