Skip to content

ABAP Keyword Documentation →  ABAP - Reference →  Calling and leaving program units →  Calling Processing Blocks →  Calling procedures 

PERFORM

Short 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

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 you should avoid externally calling subroutines of other programs.

Continue

PERFORM - general

PERFORM - parameter_list