Ansicht
Dokumentation

ABENVALUE_CONSTRUCTOR_PARAMS_INIT - VALUE CONSTRUCTOR PARAMS INIT

ABENVALUE_CONSTRUCTOR_PARAMS_INIT - VALUE CONSTRUCTOR PARAMS INIT

BAL_S_LOG - Application Log: Log header data   Addresses (Business Address Services)  
This documentation is copyright by SAP AG.
SAP E-Book

VALUE, Initial Value for All Types

... VALUE dtype$|#( ) ...

Effect

If no parameters are specified in the parentheses, the return value is set to its type-specific initial value. This is possible for any non-generic data types dtype. The # character can stand for corresponding statically recognizable operand types. When VALUE #( ) is passed to a generically typed formal parameter, the type is also derived from its generic type as follows: This applies in particular to the types c, n, and x with generic lengths.

Notes

  • While VALUE with pass by value is used only to construct certain complex values (structures and internal tables), VALUE without pass by value, on the other hand, is a general method for creating type-dependent initial values in any operand positions.

Example

Creation of a suitable initial structure for a non-optional input parameter of a method.

Value Operator, Type Inference






RFUMSV00 - Advance Return for Tax on Sales/Purchases   ROGBILLS - Synchronize billing plans  
This documentation is copyright by SAP AG.

Length: 1605 Date: 20240426 Time: 135224     sap01-206 ( 36 ms )