Skip to content

/AWS1/CL_MPIGRANTITEM

An entitlement granted to the buyer as part of a pricing term.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_dimensionkey TYPE /AWS1/MPIBOUNDEDSTRING /AWS1/MPIBOUNDEDSTRING

The machine-readable key identifying the entitlement dimension.

iv_displayname TYPE /AWS1/MPIBOUNDEDSTRING /AWS1/MPIBOUNDEDSTRING

The human-readable name of the entitlement dimension.

iv_unit TYPE /AWS1/MPIBOUNDEDSTRING /AWS1/MPIBOUNDEDSTRING

The unit of measurement for the entitlement.

Optional arguments:

iv_description TYPE /AWS1/MPIBOUNDEDSTRING /AWS1/MPIBOUNDEDSTRING

A description of the entitlement.

it_dimensionlabels TYPE /AWS1/CL_MPIDIMENSIONLABEL=>TT_DIMENSIONLABELLIST TT_DIMENSIONLABELLIST

Labels used to categorize this entitlement, such as by region.

iv_maxquantity TYPE /AWS1/MPIINTEGER /AWS1/MPIINTEGER

The maximum quantity of the entitlement that can be granted.


Queryable Attributes

dimensionKey

The machine-readable key identifying the entitlement dimension.

Accessible with the following methods

Method Description
GET_DIMENSIONKEY() Getter for DIMENSIONKEY, with configurable default
ASK_DIMENSIONKEY() Getter for DIMENSIONKEY w/ exceptions if field has no value
HAS_DIMENSIONKEY() Determine if DIMENSIONKEY has a value

displayName

The human-readable name of the entitlement dimension.

Accessible with the following methods

Method Description
GET_DISPLAYNAME() Getter for DISPLAYNAME, with configurable default
ASK_DISPLAYNAME() Getter for DISPLAYNAME w/ exceptions if field has no value
HAS_DISPLAYNAME() Determine if DISPLAYNAME has a value

description

A description of the entitlement.

Accessible with the following methods

Method Description
GET_DESCRIPTION() Getter for DESCRIPTION, with configurable default
ASK_DESCRIPTION() Getter for DESCRIPTION w/ exceptions if field has no value
HAS_DESCRIPTION() Determine if DESCRIPTION has a value

dimensionLabels

Labels used to categorize this entitlement, such as by region.

Accessible with the following methods

Method Description
GET_DIMENSIONLABELS() Getter for DIMENSIONLABELS, with configurable default
ASK_DIMENSIONLABELS() Getter for DIMENSIONLABELS w/ exceptions if field has no val
HAS_DIMENSIONLABELS() Determine if DIMENSIONLABELS has a value

unit

The unit of measurement for the entitlement.

Accessible with the following methods

Method Description
GET_UNIT() Getter for UNIT, with configurable default
ASK_UNIT() Getter for UNIT w/ exceptions if field has no value
HAS_UNIT() Determine if UNIT has a value

maxQuantity

The maximum quantity of the entitlement that can be granted.

Accessible with the following methods

Method Description
GET_MAXQUANTITY() Getter for MAXQUANTITY, with configurable default
ASK_MAXQUANTITY() Getter for MAXQUANTITY w/ exceptions if field has no value
HAS_MAXQUANTITY() Determine if MAXQUANTITY has a value

Public Local Types In This Class

Internal table types, representing arrays and maps of this class, are defined as local types:

TT_GRANTLIST

TYPES TT_GRANTLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_MPIGRANTITEM WITH DEFAULT KEY
.