Difference between the sub-routines and function modules

Answer Posted / nimmu

1)Function module is a global to the program where as subroutine is local to the program.
2) Exceptions are handles in function modules where as subroutines do not.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Why do we need enhancements?

849


How we can retrieve data using secondary index. Explain with simple example?

893


How the Sy-Mandt value gets updated in the table and Is this having any foreign key relationship.

2047


It is possible to assign a local data object defined in a subroutine or function module to a field group. State true or false. : abap modularization

1025


How do you move on to the next screen in interactive reporting?

903


Which infotype records can not be deleted ? : abap hr

828


How are the function code handles in flow logic?

806


What is the use of the raising exception?

765


MY DOMAIN IS SAP-ABAP COMPARE TO WEBDYNPRO AND CRM-TECHNICAL WHICH IS BEST?

2687


How can you distinguish between different kinds of parameters?

755


How do you work with semi colon se[arated files in BDC ?

1688


8)when u create sales report what u can see in that report ? what rthose field names or data element names? 9)when u create purchase order details report what u can see in that report ?what rthose fieldnames or dataelements? 10)when u create material stock report in material master grouped by material type and plant what u can see in report ?what rthose field names or dataelement ? 11)when u create shipping forecast report what u can see in that report ?what rthose data elements or field names?

1873


How do you do bdc for a table control? : abap bdc

865


Is it possible to pass data to and from include programs explicitly?

781


what will happen if called program is not executable ?

1886