cancel
Showing results for 
Search instead for 
Did you mean: 

when we haveto use functions and when wehave to use subroutines?

Former Member
0 Kudos

while we are using print programs we have to customise the standard form and replace the standard form ,there what we have to use (function or subroutine) if the output type does not have the table.Plz some one explain me. Thanks in advance

Accepted Solutions (0)

Answers (1)

Answers (1)

0 Kudos

Hi,

I am not sure about your requirement but

Function modules are Global repository Programs, where as Subroutines are Part of Global repository programs.

Function modules can have OPTIONAL paramters, Where as Subrotuines cannot.

Function modules can raise EXCEPTIONS where as Subroutines cannot.

Funtion modules can be called with out giving the TYPE specification, rouine paramters have to be typed.

Regards,

Sesh