A_SupplyProtectionTimeBucket
Time Bucket
A_SupplyProtectionTimeBucket is a Consumption CDS View that provides data about "Time Bucket" in SAP S/4HANA. It reads from 1 data source (I_SupplyProtectionTimeBucketTP) and exposes 13 fields with key field SupProtTimeBucketUUID. It is exposed through 1 OData service (API_SUPAVAILYPROTPLAN).
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupplyProtectionTimeBucketTP | I_SupplyProtectionTimeBucketTP | projection |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| ObjectModel.representativeKey | SupProtTimeBucketUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Time Bucket | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_SUPAVAILYPROTPLAN | API_SUPAVAILYPROTPLAN | V4 | C2 | C1 |
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupProtTimeBucketUUID | SupProtTimeBucketUUID | ||
| SupplyProtectionUUID | SupplyProtectionUUID | |||
| SupplyProtectionGroupUUID | SupplyProtectionGroupUUID | |||
| SupProtPeriodStartUTCDateTime | SupProtPeriodStartUTCDateTime | |||
| SupProtPeriodEndUTCDateTime | SupProtPeriodEndUTCDateTime | |||
| UnitOfMeasure | UnitOfMeasure | |||
| SupProtProtectedQuantity | ||||
| SupProtConsumedQuantity | ||||
| SupProtRemainingProtectedQty | ||||
| CreatedByUser | CreatedByUser | |||
| CreationDateTime | CreationDateTime | |||
| LastChangedByUser | LastChangedByUser | |||
| LastChangeDateTime | LastChangeDateTime |
@VDM: {
viewType: #CONSUMPTION,
lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@ObjectModel: {
representativeKey: 'SupProtTimeBucketUUID',
usageType: {
serviceQuality: #C,
sizeCategory: #XL,
dataClass: #MIXED
}
}
@AccessControl.authorizationCheck: #CHECK
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Time Bucket'
define view entity A_SupplyProtectionTimeBucket
as projection on I_SupplyProtectionTimeBucketTP
{
key SupProtTimeBucketUUID,
SupplyProtectionUUID,
SupplyProtectionGroupUUID,
SupProtPeriodStartUTCDateTime,
SupProtPeriodEndUTCDateTime,
@Semantics.unitOfMeasure: true
UnitOfMeasure,
@Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
cast(SupProtProtectedQuantity as sup_protected_quantity preserving type) as SupProtProtectedQuantity,
@Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_ATP_SUP_SADL_EXIT_QTY_CON'
cast(SupProtConsumedQuantity as sup_consumed_quantity preserving type) as SupProtConsumedQuantity,
@Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_ATP_SUP_SADL_EXIT_QTY_CON'
cast(SupProtRemainingProtectedQty as sup_remaining_quantity preserving type ) as SupProtRemainingProtectedQty,
CreatedByUser,
CreationDateTime,
LastChangedByUser,
LastChangeDateTime,
/* Associations */
_SupplyProtectionGroupTP : redirected to parent A_SupplyProtectionGroup,
_SupplyProtectionTP : redirected to A_SupplyProtection
}
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA