Skip to content

ABAP Keyword Documentation →  ABAP − Reference →  Calling and leaving program units →  Calling Processing Blocks →  Calling Procedures 

PERFORM

Quick Reference

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

Calls or registers subroutines.

Subroutines can be called statically and dynamically, internally and externally. Parameters can only be passed if they are called statically. Furthermore, subroutines can be registered for execution at the end of an SAP LUW.

Programming Guideline

Do not implement in function modules and subroutines


Note

Subroutines are obsolete. Do not create new subroutines in new programs. Methods should be used instead. Subroutines created in existing programs for internal modularization can continue to be called. Whenever possible, however, external subroutine calls from other programs should be avoided.

Continue

PERFORM - general

PERFORM - parameter_list