By submitting your personal information, you agree that TechTarget and its partners may contact you regarding relevant content, products and special offers.
It is true that much of what you can do with Function Modules, you could do with Subroutine Pools. The advantages of Function Modules is that they can be called from external systems (RFC), they can be called in different modes (Update task, etc.), they can share data within their groups, they clearly present and have documented their interfaces...etc. If your code is only used within your program, then use a Subroutine. Otherwise a function module is preferred.
Dig Deeper on SAP Basis administration and NetWeaver administration
Related Q&A from Matthew Billingham
An SAP user is trying to run a report in an SAP ALV Grid online and wants to know how to get the data in the report to appear along with the header.continue reading
An SAP user needs information on how to change the password on several SAP user accounts from a central location.continue reading
An SAP user needs to transfer customer purchase order spreadsheet data to SAP VA01 to create a new sales order.continue reading
Have a question for an expert?
Please add a title for your question
Get answers from a TechTarget expert on whatever's puzzling you.