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

PERFORM - general

Short Reference

Syntax

PERFORM subr_identifier [parameter_list].

Effect

This statement calls the subroutine specified with the name subr_identifier and assigns the actual parameters specified in parameter_list to the formal parameters of the subroutine.

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.

Example

See parameter_list.

Exceptions

Catchable Exceptions

CX_SY_PROGRAM_NOT_FOUND

CX_SY_DYN_CALL_ILLEGAL_FORM

CX_SY_DYN_CALL_PARAM_MISSING

CX_SY_DYN_CALL_PARAM_NOT_FOUND

CX_SY_DYN_CALL_ILLEGAL_TYPE




Continue
PERFORM - subr_identifier