Exploring the Allowance Lifecycle

Objectives

After completing this lesson, you will be able to:
  • Describe the allowance lifecycle.
  • Explore the allowance lifecycle process steps.

Allowance Lifecycle

Allowance objects follow a lifecycle in the system. The lifecycle starts with the creation of the object. An allowance that is created does not necessarily have to be active. It is possible to create an allowance that has a start date in the future.

The validity period of an allowance spans from the allowance's start date to the allowance's end date. During this validity period, the allowance is considered as active and consumption with a consumption date in the bounds of the validity period can be processed by it.

Once the allowance’s end date is reached, the allowance is expired. Expired allowances cannot be used anymore. They remain in the system available for rerating-processes but cannot be consumed by regular rating operations.

The retention period defines the number of days an allowance is kept in the system after it expired, so that it is available for rerating. After the retention period, the allowance is available for purging. A purging run can be triggered to delete all allowances that are not needed anymore.

The figure illustrates the lifecycle of an Allowance.

Except for the purge operation, all steps along the lifecycle allow for the creation of billable items. When an allowance balance is not used completely by the customer, it is common to also expire any balance left in the allowance. The billable item can therefore report any leftover balance as expired, and therefore posted as revenue.

The following table provides an overview of the steps along the allowance’s lifecycle. An example for a custom logic for each step and the billable item types used in the training landscape for these steps.

The Allowance Lifecycle Process Steps

Allowance Process Steps in Lifecycle

Overview of the Allowance process Steps

Allowance StepDescriptionCustom Logic Example

BIT Types in the Training Landscape

Creation

Created by the Charging / Refilling process as a provider contract data.

Allowance has the inactive state.

Initializing the bucketPA01 Allowance Create
Activation

Start of the validity period

Allowance has the active state.

Generating a notification for the customerPA02 Allowance Activate
UseUsed by the Charging / Refilling process within the validity periodDebiting the bucketPA03 Allowance Use
Expiration

End of the validity period

The Allowance has the expired (inactive) state.

Reporting the lost credit

PA04 Allowance Expiration

PurgeRemoval of the expired allowances from the provider contract exceeding a given retention periodn/an/a

Purging can be done manually using the core tool or by configuring the so called "purge scheduler" in the SAP Convergent Charging system. When the scheduler is configured and enabled, it will regularly delete all allowances that are qualified for purging. This makes sure that the database tables only contain data that is still subject to business processes, and thus supports system performance.

The following parameters control the purge process behavior:

  • ALLOWANCES_PURGE_RETENTION_PERIOD: Number of days that expired allowances are kept in the system.
  • ALLOWANCES_PURGE_SCHEDULER_RECURRENCE: Recurrence rule of the purge scheduler.

Log in to track your progress & complete quizzes