Skip to content

/AWS1/CL_MPGCHARGESUMMARY

The ChargeSummary provides a detailed breakdown of charges that are associated with an agreement request. This is applicable only when a request is created for a PurchaseAgreement.

Tax and invoicing fields (such as estimatedTaxes, amountAfterTax, newAgreementValueAfterTax, and invoicingEntity) are returned on a best-effort basis and do not cause the request to fail if unavailable.

A null tax amount can have two meanings:

  • Tax estimation was unavailable at the time of the request.

  • The charge timing is BILLING_PERIOD, so the charge amount is not determined at request time. In this case, the tax breakdown may still include the tax rate and type.

CONSTRUCTOR

IMPORTING

Optional arguments:

iv_currencycode TYPE /AWS1/MPGCURRENCYCODE /AWS1/MPGCURRENCYCODE

The three-letter currency code for all charges (e.g., USD).

iv_newagreementvalue TYPE /AWS1/MPGBOUNDEDSTRING /AWS1/MPGBOUNDEDSTRING

The total value of the agreement, which includes any amendments.

iv_newagreementvalueaftertax TYPE /AWS1/MPGBOUNDEDSTRING /AWS1/MPGBOUNDEDSTRING

Expected new agreement value after estimated taxes are applied.

it_expectedcharges TYPE /AWS1/CL_MPGEXPECTEDCHARGE=>TT_EXPECTEDCHARGELIST TT_EXPECTEDCHARGELIST

A list of expected charges for the agreement request.

io_estimatedtaxes TYPE REF TO /AWS1/CL_MPGESTIMATEDTAXES /AWS1/CL_MPGESTIMATEDTAXES

Provides an aggregated view of estimated tax information for the agreement.

it_itemizedcharges TYPE /AWS1/CL_MPGITEMIZEDCHARGE=>TT_ITEMIZEDCHARGELIST TT_ITEMIZEDCHARGELIST

An itemized list of charges for the agreement request.

io_invoicingentity TYPE REF TO /AWS1/CL_MPGINVOICINGENTITY /AWS1/CL_MPGINVOICINGENTITY

The entity responsible for issuing the invoice.


Queryable Attributes

currencyCode

The three-letter currency code for all charges (e.g., USD).

Accessible with the following methods

Method Description
GET_CURRENCYCODE() Getter for CURRENCYCODE, with configurable default
ASK_CURRENCYCODE() Getter for CURRENCYCODE w/ exceptions if field has no value
HAS_CURRENCYCODE() Determine if CURRENCYCODE has a value

newAgreementValue

The total value of the agreement, which includes any amendments.

Accessible with the following methods

Method Description
GET_NEWAGREEMENTVALUE() Getter for NEWAGREEMENTVALUE, with configurable default
ASK_NEWAGREEMENTVALUE() Getter for NEWAGREEMENTVALUE w/ exceptions if field has no v
HAS_NEWAGREEMENTVALUE() Determine if NEWAGREEMENTVALUE has a value

newAgreementValueAfterTax

Expected new agreement value after estimated taxes are applied.

Accessible with the following methods

Method Description
GET_NEWAGRMNTVALUEAFTERTAX() Getter for NEWAGREEMENTVALUEAFTERTAX, with configurable defa
ASK_NEWAGRMNTVALUEAFTERTAX() Getter for NEWAGREEMENTVALUEAFTERTAX w/ exceptions if field
HAS_NEWAGRMNTVALUEAFTERTAX() Determine if NEWAGREEMENTVALUEAFTERTAX has a value

expectedCharges

A list of expected charges for the agreement request.

Accessible with the following methods

Method Description
GET_EXPECTEDCHARGES() Getter for EXPECTEDCHARGES, with configurable default
ASK_EXPECTEDCHARGES() Getter for EXPECTEDCHARGES w/ exceptions if field has no val
HAS_EXPECTEDCHARGES() Determine if EXPECTEDCHARGES has a value

estimatedTaxes

Provides an aggregated view of estimated tax information for the agreement.

Accessible with the following methods

Method Description
GET_ESTIMATEDTAXES() Getter for ESTIMATEDTAXES

itemizedCharges

An itemized list of charges for the agreement request.

Accessible with the following methods

Method Description
GET_ITEMIZEDCHARGES() Getter for ITEMIZEDCHARGES, with configurable default
ASK_ITEMIZEDCHARGES() Getter for ITEMIZEDCHARGES w/ exceptions if field has no val
HAS_ITEMIZEDCHARGES() Determine if ITEMIZEDCHARGES has a value

invoicingEntity

The entity responsible for issuing the invoice.

Accessible with the following methods

Method Description
GET_INVOICINGENTITY() Getter for INVOICINGENTITY