Ansicht
Dokumentation

ABENPARAMETER_PERFORMANCE - PARAMETER PERFORMANCE

ABENPARAMETER_PERFORMANCE - PARAMETER PERFORMANCE

SUBST_MERGE_LIST - merge external lists to one complete list with #if... logic for R3up   General Material Data  
This documentation is copyright by SAP AG.
SAP E-Book

Performance notes on parameter passing

When the parameter interface is defined for a procedure, either pass by reference or pass by value can be specified for a formal parameter.

Exceptions: for return values of functional methods and parameters of events in classes, only 'pass by value' may be specified.

'Pass by reference' is usually preferable for performance reasons. However, this must be weighed up in each individual case against the greater robustness of 'pass by value' when it comes to data consistency. For a comprehensive comparison of 'pass by reference' and 'pass by value', see Parameter Interface of Procedures.

Note

When internal tables are transferred, the performance disadvantage of 'pass by value' can be removed if you activate table sharing for the transfer of internal table values, provided that the row type permits this.






rdisp/max_wprun_time - Maximum work process run time   RFUMSV00 - Advance Return for Tax on Sales/Purchases  
This documentation is copyright by SAP AG.

Length: 1567 Date: 20240418 Time: 140947     sap01-206 ( 25 ms )