i'm wondering definition of call-by-value exporting argument of abap method call.
the sap portal states exporting parameters can defined call-by-value (and call reference). not give precise definition of how parameter type handled. instead, states
for precise details of relevant abap statements, refer corresponding keyword documentation in abap editor.
now, abap keyword documentation of sap editor not mention pass-by-value exporting. (it mention pass-by-value importing , changing).
i can guess meaning of pass-by-value exporting. want read definition. form/perform, know details can subtle. point me official description of case?
i'm not sure in way details can subtle when using form
s - anyway, it's in the documentation:
there 2 ways in parameters can passed: pass reference , pass value. pass value selected in function builder selecting pass value, , in above syntax, differs pass reference specification of
value( )
.
- in pass reference, formal parameter points directly actual parameter, changes formal parameters have an
immediate effect on actual parameter.- in pass value, when function module called, formal parameter created copy of actual parameter (in
importing
,changing
parameters), or initial (inexporting
parameters) in stack. inchanging
,exporting
parameters, formal parameter copied actual parameter when returning function module.