ABAP Keyword Documentation → ABAP Glossary
pass by value
Method of passing data from actual parameters to
formal parameters when the procedure is called. The method is defined in the
parameter interface of a
procedure. In pass by value, a local
data object is created as a copy of the actual parameter.
Output parameters and
return values are initialized when the procedure is called.
Input parameters and
input/output parameters
are given the value of the actual parameter when they are called. Modified formal parameters are only
passed to actual parameters if the procedure was concluded without errors, that is once the last statement
is reached or if there is an exit using RETURN
(or EXIT
or CHECK
). See also
pass by reference.