SAP PERFORM ABAP Statements



Get Example source ABAP code based on a different SAP table
  


ID PERFORM
• PERFORM ABAP Statement

PERFORM
Short Reference

ABAP_SYNTAX_FORMS

General Subroutine Call
1 PERFORM subr_identifier $[ parameter_list$].

Registration of Subroutines
2 PERFORM subr ON ${ ${COMMIT $[LEVEL idx$]$} $| ${ROLLBACK$} $}.

What does it do?
Calls
BEGIN_SECTION VERSION 5 OUT or registers
END_SECTION VERSION 5 OUT subroutines.
Subroutines can be called statically and dynamically, internally and externally. Parameters can only be passed if they are called statically.
BEGIN_SECTION VERSION 5 OUT Furthermore, subroutines can be registered for execution at the end of an SAP LUW.
END_SECTION VERSION 5 OUT

ABAP_PGL
Do not implement in function modules and subroutines
ABAP_PGL_END



Latest notes:

Subroutines are obsolete. No new subroutines should be created in new programs. Methods should be used instead. Subroutines that have been created in existing programs for internal modularization can continue to be called. Whenever possible, however, external subroutine calls from other programs should be avoided.
NON_V5_HINTS
ABAP_HINT_END

Return to menu