IT CanvassTalk to an advisor
SAP reference · LessonReviewed by Arjun, SAP Solution Architect · Updated · Published · SAP S/4HANA 2023 · all levels

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.

Quick answer

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.

Key takeaways
  • 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.
Already working on SAP and stuck on a live ticket?Get an expert SAP developer on screen-share to finish your daily tasks with you. Deliver on time, protect your reputation and your job. Monthly support only, no task-wise plans.Task assigned · no idea where to startStill stuck · your job on the lineExpert joins your screenDelivered on timeExplore On Job Support