Skip to content

SE37 — Function Builder

Create, test, and manage function modules and function groups.

Purpose

SE37 is the dedicated editor for function modules (FMs). It provides a structured interface to view and edit source code, define parameters and exceptions, and test a function module interactively without writing a calling program.

How to open

  • Type SE37 in the command field and press Enter
  • From SE80, navigate to a function group and double-click any function module

Key features

  • View and edit FM source code with full syntax highlighting
  • Manage Import, Export, Changing, and Tables parameters on dedicated tabs
  • Define and document Exceptions on the Exceptions tab
  • Built-in documentation tab for describing the FM's purpose
  • Test the FM directly with F8 — an interactive screen prompts for all input parameter values
  • Where-used list to find all callers of a function module

Tips & shortcuts

Fastest way to test an FM

Hit F8 from the main SE37 screen. SAP presents input fields for every import and tables parameter. Fill them in, press Execute, and inspect the export values — no test program needed.

Check all exceptions before calling an FM

Switch to the Exceptions tab to see every exception the FM can raise. Handle them explicitly in your CALL FUNCTION statement to avoid unhandled exceptions at runtime.

Function groups vs. function modules

A function group is the container (like a class). A function module is the individual callable unit. All FMs in the same group share a common global data area (FUNCTION-POOL).

See also

Comments