ABAP Keyword Documentation → ABAP - Reference → Calling and leaving program units → Calling Processing Blocks → Calling Procedures
PERFORM
Other versions: 7.31 | 7.40 | 7.54
Syntax Forms
General Subroutine Call
1. PERFORM subr_identifier
[parameter_list].
Registration of Subroutines
2. PERFORM subr ON { {COMMIT [LEVEL idx]} | {ROLLBACK} }.
Effect
Calling or Registering Subroutines.
Subroutines can be called statically and dynamically, internally and externally. Parameters can only be passed if they are called statically. Also, subroutines can be registered for execution at the end of an SAP LUW.
Programming Guideline
No implementations in function modules and subroutines
Note
Subroutines are obsolete. Do not create new subroutines in new programs. Subroutines created in existing programs for internal modularization can continue to be called. Whenever possible, avoid calling subroutines of other programs externally.