Skip to content

/AWS1/CL_MPIVALIDITYTERM

Defines a validity term that specifies the duration or date range of an agreement.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_id TYPE /AWS1/MPITERMID /AWS1/MPITERMID

The unique identifier of the term.

iv_type TYPE /AWS1/MPITERMTYPE /AWS1/MPITERMTYPE

The category of the term.

Optional arguments:

iv_agreementduration TYPE /AWS1/MPIBOUNDEDSTRING /AWS1/MPIBOUNDEDSTRING

The duration of the agreement, in ISO 8601 format.

iv_agreementenddate TYPE /AWS1/MPITIMESTAMP /AWS1/MPITIMESTAMP

The date when the agreement ends.

iv_agreementstartdate TYPE /AWS1/MPITIMESTAMP /AWS1/MPITIMESTAMP

The date when the agreement starts.


Queryable Attributes

id

The unique identifier of the term.

Accessible with the following methods

Method Description
GET_ID() Getter for ID, with configurable default
ASK_ID() Getter for ID w/ exceptions if field has no value
HAS_ID() Determine if ID has a value

type

The category of the term.

Accessible with the following methods

Method Description
GET_TYPE() Getter for TYPE, with configurable default
ASK_TYPE() Getter for TYPE w/ exceptions if field has no value
HAS_TYPE() Determine if TYPE has a value

agreementDuration

The duration of the agreement, in ISO 8601 format.

Accessible with the following methods

Method Description
GET_AGREEMENTDURATION() Getter for AGREEMENTDURATION, with configurable default
ASK_AGREEMENTDURATION() Getter for AGREEMENTDURATION w/ exceptions if field has no v
HAS_AGREEMENTDURATION() Determine if AGREEMENTDURATION has a value

agreementEndDate

The date when the agreement ends.

Accessible with the following methods

Method Description
GET_AGREEMENTENDDATE() Getter for AGREEMENTENDDATE, with configurable default
ASK_AGREEMENTENDDATE() Getter for AGREEMENTENDDATE w/ exceptions if field has no va
HAS_AGREEMENTENDDATE() Determine if AGREEMENTENDDATE has a value

agreementStartDate

The date when the agreement starts.

Accessible with the following methods

Method Description
GET_AGREEMENTSTARTDATE() Getter for AGREEMENTSTARTDATE, with configurable default
ASK_AGREEMENTSTARTDATE() Getter for AGREEMENTSTARTDATE w/ exceptions if field has no
HAS_AGREEMENTSTARTDATE() Determine if AGREEMENTSTARTDATE has a value