SAP Function modules
Function modules are reusable ABAP procedures, many delivered by SAP, that perform specific tasks and can be called locally or remotely (RFC). This reference explains them and how to find them.
A function module is a callable ABAP procedure with a defined interface of import, export, tables and exceptions, grouped into function groups; SAP delivers thousands for conversions, reads and postings, and a BAPI is the released, remote-enabled kind. View and test one in SE37, search by name pattern, check whether it is remote-enabled, and prefer released modules.
- Watch out: remote-enabled is a property to check; an ordinary function module cannot be called by RFC.
What it is
A function module is a callable procedure with a defined interface (import/export/tables/exceptions), grouped into function groups. SAP delivers thousands (for conversions, reads, postings); BAPIs are a special, released, remote-enabled kind.
How to find/use it
- Use
SE37(Function Builder) to view/test a function module. - Search by name pattern for the area you need.
- Check whether it is remote-enabled (RFC) for integration.
- Prefer released/BAPI function modules for stable use.
Why it matters
Function modules are building blocks of ABAP and integration. Finding the right existing one (rather than reinventing it) is a key skill, and knowing whether it is released/remote-enabled matters for safe, upgrade-proof use.
Common pitfalls
- Guessing instead of using the reference tools.
- Editing/using without understanding the object.
- Relying on memory for details you can look up.