Skip to content

/AWS1/CL_BDCAMOUNT

Represents a monetary amount with a currency.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_value TYPE /AWS1/BDCSTRING /AWS1/BDCSTRING

The numeric value of the amount.

iv_currency TYPE /AWS1/BDCCURRENCY /AWS1/BDCCURRENCY

The currency code for the amount.


Queryable Attributes

value

The numeric value of the amount.

Accessible with the following methods

Method Description
GET_VALUE() Getter for VALUE, with configurable default
ASK_VALUE() Getter for VALUE w/ exceptions if field has no value
HAS_VALUE() Determine if VALUE has a value

currency

The currency code for the amount.

Accessible with the following methods

Method Description
GET_CURRENCY() Getter for CURRENCY, with configurable default
ASK_CURRENCY() Getter for CURRENCY w/ exceptions if field has no value
HAS_CURRENCY() Determine if CURRENCY has a value