Skip to content

/AWS1/CL_CRMACCESSBUDGETDETS

Detailed information about an access budget including time bounds, budget allocation, and configuration settings.

CONSTRUCTOR

IMPORTING

Required arguments:

iv_starttime TYPE /AWS1/CRMTIMESTAMP /AWS1/CRMTIMESTAMP

The start time for the access budget period.

iv_remainingbudget TYPE /AWS1/CRMREMAININGBUDGET /AWS1/CRMREMAININGBUDGET

The remaining budget amount available for use within this access budget.

iv_budget TYPE /AWS1/CRMBUDGET /AWS1/CRMBUDGET

The total budget allocation amount for this access budget.

iv_budgettype TYPE /AWS1/CRMACCESSBUDGETTYPE /AWS1/CRMACCESSBUDGETTYPE

Specifies the time period for limiting table usage in queries and jobs. For calendar-based periods, the budget can renew if auto refresh is enabled. For lifetime budgets, the limit applies to the total usage throughout the collaboration. Valid values are:

CALENDAR_DAY - Limit table usage per day.

CALENDAR_WEEK - Limit table usage per week.

CALENDAR_MONTH - Limit table usage per month.

LIFETIME - Limit total table usage for the collaboration duration.

Optional arguments:

iv_endtime TYPE /AWS1/CRMTIMESTAMP /AWS1/CRMTIMESTAMP

The end time for the access budget period.

iv_autorefresh TYPE /AWS1/CRMAUTOREFRESHMODE /AWS1/CRMAUTOREFRESHMODE

Indicates whether the budget automatically refreshes for each time period specified in budgetType. Valid values are:

ENABLED - The budget refreshes automatically at the start of each period.

DISABLED - The budget must be refreshed manually.

NULL - The value is null when budgetType is set to LIFETIME.


Queryable Attributes

startTime

The start time for the access budget period.

Accessible with the following methods

Method Description
GET_STARTTIME() Getter for STARTTIME, with configurable default
ASK_STARTTIME() Getter for STARTTIME w/ exceptions if field has no value
HAS_STARTTIME() Determine if STARTTIME has a value

endTime

The end time for the access budget period.

Accessible with the following methods

Method Description
GET_ENDTIME() Getter for ENDTIME, with configurable default
ASK_ENDTIME() Getter for ENDTIME w/ exceptions if field has no value
HAS_ENDTIME() Determine if ENDTIME has a value

remainingBudget

The remaining budget amount available for use within this access budget.

Accessible with the following methods

Method Description
GET_REMAININGBUDGET() Getter for REMAININGBUDGET, with configurable default
ASK_REMAININGBUDGET() Getter for REMAININGBUDGET w/ exceptions if field has no val
HAS_REMAININGBUDGET() Determine if REMAININGBUDGET has a value

budget

The total budget allocation amount for this access budget.

Accessible with the following methods

Method Description
GET_BUDGET() Getter for BUDGET, with configurable default
ASK_BUDGET() Getter for BUDGET w/ exceptions if field has no value
HAS_BUDGET() Determine if BUDGET has a value

budgetType

Specifies the time period for limiting table usage in queries and jobs. For calendar-based periods, the budget can renew if auto refresh is enabled. For lifetime budgets, the limit applies to the total usage throughout the collaboration. Valid values are:

CALENDAR_DAY - Limit table usage per day.

CALENDAR_WEEK - Limit table usage per week.

CALENDAR_MONTH - Limit table usage per month.

LIFETIME - Limit total table usage for the collaboration duration.

Accessible with the following methods

Method Description
GET_BUDGETTYPE() Getter for BUDGETTYPE, with configurable default
ASK_BUDGETTYPE() Getter for BUDGETTYPE w/ exceptions if field has no value
HAS_BUDGETTYPE() Determine if BUDGETTYPE has a value

autoRefresh

Indicates whether the budget automatically refreshes for each time period specified in budgetType. Valid values are:

ENABLED - The budget refreshes automatically at the start of each period.

DISABLED - The budget must be refreshed manually.

NULL - The value is null when budgetType is set to LIFETIME.

Accessible with the following methods

Method Description
GET_AUTOREFRESH() Getter for AUTOREFRESH, with configurable default
ASK_AUTOREFRESH() Getter for AUTOREFRESH w/ exceptions if field has no value
HAS_AUTOREFRESH() Determine if AUTOREFRESH 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_ACCESSBUDGETDETAILSLIST

TYPES TT_ACCESSBUDGETDETAILSLIST TYPE STANDARD TABLE OF REF TO /AWS1/CL_CRMACCESSBUDGETDETS WITH DEFAULT KEY
.