C_SupProtRelatedSupProtTP
Supply Protection Related Supply Prot.
C_SupProtRelatedSupProtTP is a Consumption CDS View that provides data about "Supply Protection Related Supply Prot." in SAP S/4HANA. It reads from 1 data source (I_SupProtRelatedSupProtTP) and exposes 26 fields with key field SupplyProtectionUUID.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_SupProtRelatedSupProtTP | I_SupProtRelatedSupProtTP | projection |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | Supply Protection Related Supply Prot. | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupplyProtectionUUID | SupplyProtectionUUID | ||
| SupplyProtectionName | SupplyProtectionName | |||
| Material | Material | |||
| Plant | Plant | |||
| SupProtLifecycleStatus | SupProtLifecycleStatus | |||
| SupProtLifecycleStatusText | SupProtLifecycleStatusText | |||
| Criticality | Criticality | |||
| SupProtPlanningPeriodType | SupProtPlanningPeriodType | |||
| SupProtPlanningPeriodTypeText | SupProtPlanningPeriodTypeText | |||
| SupProtPlanningPeriodStartDate | SupProtPlanningPeriodStartDate | |||
| SupProtPlanningPeriodEndDate | SupProtPlanningPeriodEndDate | |||
| SupProtIsPlanningContextSlsOrd | SupProtIsPlanningContextSlsOrd | |||
| SupProtIsPlanningContextSTO | SupProtIsPlanningContextSTO | |||
| SupProtCoreCharc01Text | SupProtCoreCharc01Text | |||
| SupProtCoreCharc01ValueID | SupProtCoreCharc01ValueID | |||
| SupProtCoreCharc02Text | SupProtCoreCharc02Text | |||
| SupProtCoreCharc02ValueID | SupProtCoreCharc02ValueID | |||
| UnitOfMeasure | UnitOfMeasure | |||
| SupProtProtectedQuantity | ||||
| SupProtConsumedQuantity | ||||
| SupProtRemainingProtectedQty | ||||
| SupProtCnsmpnDateTimeType | SupProtCnsmpnDateTimeType | |||
| SupProtCnsmpnDateTimeTypeTextlocalized | ||||
| CharcValAuthznGroup | CharcValAuthznGroup | |||
| StorageLocation | StorageLocation | |||
| SupProtPlanningLevel | SupProtPlanningLevel |
@VDM: { viewType: #CONSUMPTION,
usage: { type:[#TRANSACTIONAL_PROCESSING_SERVICE] } }
@ObjectModel: { usageType: { serviceQuality: #C,
sizeCategory: #L,
dataClass: #MIXED },
semanticKey: ['SupplyProtectionName', 'Plant', 'Material'] }
@AccessControl: {
authorizationCheck: #MANDATORY
}
@Metadata.allowExtensions: true
@EndUserText.label: 'Supply Protection Related Supply Prot.'
define root view entity C_SupProtRelatedSupProtTP
as projection on I_SupProtRelatedSupProtTP
{
key SupplyProtectionUUID,
SupplyProtectionName,
Material,
Plant,
SupProtLifecycleStatus,
SupProtLifecycleStatusText,
Criticality,
SupProtPlanningPeriodType,
SupProtPlanningPeriodTypeText,
SupProtPlanningPeriodStartDate,
SupProtPlanningPeriodEndDate,
SupProtIsPlanningContextSlsOrd,
SupProtIsPlanningContextSTO,
SupProtCoreCharc01Text,
SupProtCoreCharc01ValueID,
SupProtCoreCharc02Text,
SupProtCoreCharc02ValueID,
@Semantics.unitOfMeasure: true
UnitOfMeasure,
@Semantics.quantity.unitOfMeasure: 'UnitOfMeasure'
@ObjectModel.virtualElement: true
@ObjectModel.virtualElementCalculatedBy: 'ABAP:CL_ATP_SUP_SADL_EXIT_QUANTITY'
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_QUANTITY'
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_QUANTITY'
cast(SupProtRemainingProtectedQty as sup_remaining_quantity preserving type ) as SupProtRemainingProtectedQty,
@ObjectModel.text.element: ['SupProtCnsmpnDateTimeTypeText']
SupProtCnsmpnDateTimeType,
@Consumption.filter.hidden: true
_SupProtCnsmpnDateTimeTypeT.SupProtCnsmpnDateTimeTypeText : localized,
_SupplyProtectionTP : redirected to C_SupplyProtectionTP,
@UI.hidden: true
CharcValAuthznGroup,
StorageLocation,
SupProtPlanningLevel
}
where
SupplyProtectionIsBlocked = ''
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_SUPPROTCNSMPNDATETIMETYPET",
"I_SUPPROTRELATEDSUPPROTTP"
],
"ASSOCIATED":
[
"C_SUPPLYPROTECTIONTP",
"I_SUPPLYPROTECTIONTP"
],
"BASE":
[
"I_SUPPROTRELATEDSUPPROTTP"
],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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