CDS Conversion Functions (CAST, Unit Conversion, Currency Conversion)

0
0

CAST Expression

Supported Operands: Literal, column, path expression, build-in function, arithmetic expression

  • Various data types in ABAP namespace supported
  • Result length determined at activation time
  • No nesting of CAST expressions
  • Alias names required for resulting columns

Example:
Cast foreign currency amount from sbook as reduced_amount and Savings

Unit Conversion

The function UNIT_CONVERSION performs a unit conversion for the value passed to the formal parameter quantity.

Currency Conversion

The function CURRENCY_CONVERSION performs a currency conversion for the value passed to the formal parameter amount.

 

LEAVE A REPLY

Please enter your comment!
Please enter your name here