本文へスキップ

SAP用語辞典

関数モジュール

Function Module読み:かんすうもじゅーる

  • ABAP

SE37で作成する再利用可能な処理単位。関数グループという入れ物に属し、同じグループ内の関数はグローバルデータを共有する。パラメータはIMPORT・EXPORT・CHANGING・TABLES・EXCEPTIONSに分かれる。呼び出し側のEXPORTINGは「関数へ渡す」、IMPORTINGは「関数から受け取る」を意味し、定義側から見ると向きが逆になる点が混乱しやすい。

English

Function Module

A reusable processing unit created in SE37, belonging to a function group whose members share global data. Parameters are categorised as importing, exporting, changing, tables and exceptions. A common source of confusion is that EXPORTING at the call site means passing values in, while the same values are received as importing parameters inside the function.

SAP用語辞典の一覧へ