Skip to content

/AWS1/CL_PTBCREDITDETAILS

Contains information about credit-based benefit fulfillment, including AWS promotional credits.

CONSTRUCTOR

IMPORTING

Required arguments:

io_allocatedamount TYPE REF TO /AWS1/CL_PTBMONETARYVALUE /AWS1/CL_PTBMONETARYVALUE

The total amount of credits that have been allocated for this benefit.

io_issuedamount TYPE REF TO /AWS1/CL_PTBMONETARYVALUE /AWS1/CL_PTBMONETARYVALUE

The amount of credits that have actually been issued and are available for use.

it_codes TYPE /AWS1/CL_PTBCREDITCODE=>TT_CREDITCODES TT_CREDITCODES

A list of credit codes that have been generated for this benefit allocation.


Queryable Attributes

AllocatedAmount

The total amount of credits that have been allocated for this benefit.

Accessible with the following methods

Method Description
GET_ALLOCATEDAMOUNT() Getter for ALLOCATEDAMOUNT

IssuedAmount

The amount of credits that have actually been issued and are available for use.

Accessible with the following methods

Method Description
GET_ISSUEDAMOUNT() Getter for ISSUEDAMOUNT

Codes

A list of credit codes that have been generated for this benefit allocation.

Accessible with the following methods

Method Description
GET_CODES() Getter for CODES, with configurable default
ASK_CODES() Getter for CODES w/ exceptions if field has no value
HAS_CODES() Determine if CODES has a value