SAP reference · LessonBy Arjun, SAP Solution Architect · Published · SAP S/4HANA 2023 · all levels
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.
Quick answer
Function modules are building blocks of ABAP and integration.
Key takeaways
- A function module is a callable procedure with a defined interface (import/export/tables/exceptions), grouped into function groups.
- Use SE37 (Function Builder) to view/test a function module.
- Search by name pattern for the area you need.
- Watch out: Guessing instead of using the reference tools.
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.
Practice challenge
+0 XPStreak ×0
Question 1 of 3
Which statement is true of Function modules?
Frequently asked questions
What does the term Function modules refer to in SAP?
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.
Which transaction codes come up with Function modules?
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.
What else is worth knowing about Function modules?
Function modules are building blocks of ABAP and integration.
What tends to go wrong with Function modules?
Guessing instead of using the reference tools. Editing/using without understanding the object. Relying on memory for details you can look up.