1.

How Parameter Handling Is Different For Remote Function Calls & Local Function Calls?

Answer»

In Remote Function Calls, The actual table is transferred, but not the table header. If a table parameter is not specified, an EMPTY table is used in the called function.

Internal ABAP tables can be used as parameters for function module calls. In a local function module call, a parameter table is passed on by reference, and no NEW local copy has to be created. RFC does not SUPPORT the ‘by reference’ MECHANISM, so the whole table has to be exchanged between the RFC client and the RFC server. When the RFC server receives the table ENTRIES, it creates a local copy of the internal table.

In Remote Function Calls, The actual table is transferred, but not the table header. If a table parameter is not specified, an empty table is used in the called function.

Internal ABAP tables can be used as parameters for function module calls. In a local function module call, a parameter table is passed on by reference, and no new local copy has to be created. RFC does not support the ‘by reference’ mechanism, so the whole table has to be exchanged between the RFC client and the RFC server. When the RFC server receives the table entries, it creates a local copy of the internal table.



Discussion

No Comment Found