Function

RFC parameters (pass by value)

KindKay 2009. 2. 18. 08:49

we always have to check 'pass value' for parameters(we get a syntax unless), but what value will be passed to the input parameters of the rfc,are they initial values based on type?

and do we still have to give reference when it doesn't make sense in a network?(or once the call is made from an outside system )


More F1 Help...



There are two types of parameter passing: pass by reference and pass by value.
Pass by reference shows the formal parameter directly on the actual parameter so that changes to the formal parameter immediately affect the actual parameter.

Pass by value creates the formal parameter either as a copy of the actual parameter when the function module is called (at IMPORTING value and CHANGING value parameters) or creates it initially on the stack (at EXPORTING value parameters). At CHANGING value and EXPORTING value parameters the formal parameter is copied onto the actual parameter when it returns from the function module call.