A_SupplyProtectionGroup
Protection Group
A_SupplyProtectionGroup is a Consumption CDS View that provides data about "Protection Group" in SAP S/4HANA. It reads from 1 data source (I_SupplyProtectionGroupTP) and exposes 22 fields with key field SupplyProtectionGroupUUID. It is exposed through 1 OData service (API_SUPAVAILYPROTPLAN). Part of development package ATP_SUP_VDM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupplyProtectionGroupTP | I_SupplyProtectionGroupTP | projection |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| ObjectModel.representativeKey | SupplyProtectionGroupUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Protection Group | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_SUPAVAILYPROTPLAN | API_SUPAVAILYPROTPLAN | V4 | C2 | C1 |
Fields (22)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupplyProtectionGroupUUID | SupplyProtectionGroupUUID | ||
| SupplyProtectionUUID | SupplyProtectionUUID | |||
| SupProtCharc01ValueID | SupProtCharc01ValueID | |||
| SupProtCharc02ValueID | SupProtCharc02ValueID | |||
| SupProtCharc03ValueID | SupProtCharc03ValueID | |||
| SupProtCharc04ValueID | SupProtCharc04ValueID | |||
| SupProtCharc05ValueID | SupProtCharc05ValueID | |||
| SupProtCharc06ValueID | SupProtCharc06ValueID | |||
| SupProtCharc07ValueID | SupProtCharc07ValueID | |||
| SupProtCharc08ValueID | SupProtCharc08ValueID | |||
| SupProtCharc09ValueID | SupProtCharc09ValueID | |||
| SupProtCharc10ValueID | SupProtCharc10ValueID | |||
| SupProtGroupPriorityValue | SupProtGroupPriorityValue | |||
| CreatedByUser | CreatedByUser | |||
| CreationDateTime | CreationDateTime | |||
| LastChangedByUser | LastChangedByUser | |||
| LastChangeDateTime | LastChangeDateTime | |||
| CharcValAuthznGroup | CharcValAuthznGroup | |||
| UnitOfMeasure | UnitOfMeasure | |||
| SupProtProtectedQuantity | ||||
| SupProtConsumedQuantity | ||||
| SupProtRemainingProtectedQty |
@VDM: {
viewType: #CONSUMPTION,
lifecycle.contract.type: #PUBLIC_REMOTE_API
}
@ObjectModel: {
representativeKey: 'SupplyProtectionGroupUUID',
usageType: {
serviceQuality: #C,
sizeCategory: #XL,
dataClass: #MIXED
}
}
@AccessControl.authorizationCheck: #MANDATORY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@EndUserText.label: 'Protection Group'
define view entity A_SupplyProtectionGroup
as projection on I_SupplyProtectionGroupTP
{
key SupplyProtectionGroupUUID,
SupplyProtectionUUID,
SupProtCharc01ValueID,
SupProtCharc02ValueID,
SupProtCharc03ValueID,
SupProtCharc04ValueID,
SupProtCharc05ValueID,
SupProtCharc06ValueID,
SupProtCharc07ValueID,
SupProtCharc08ValueID,
SupProtCharc09ValueID,
SupProtCharc10ValueID,
SupProtGroupPriorityValue,
CreatedByUser,
CreationDateTime,
LastChangedByUser,
LastChangeDateTime,
CharcValAuthznGroup, // required for authorization check
@Semantics.unitOfMeasure: true
UnitOfMeasure,
@Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_ATP_SUP_SADL_EXIT_QTY_GRP'
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_GRP'
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_GRP'
cast(SupProtRemainingProtectedQty as sup_remaining_quantity preserving type ) as SupProtRemainingProtectedQty,
/* Associations */
_SupplyProtectionTP : redirected to parent A_SupplyProtection,
_SupplyProtectionTimeBucketTP : redirected to composition child A_SupplyProtectionTimeBucket
}
where SupplyProtectionGroupIsBlocked = ''
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