I_SpecificationForKeyDate
Specification on a Key Date
I_SpecificationForKeyDate is a Composite CDS View that provides data about "Specification on a Key Date" in SAP S/4HANA. It reads from 1 data source (I_Specification) and exposes 32 fields with key field SpecificationInternalID. It has 4 associations to related views. Part of development package VDM_PLMB_SPC_BAS.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_Specification | spec | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_SpecIdentifierForKeyDate | _SpecIdentifierForKeyDate | $projection.SpecificationInternalID = _SpecIdentifierForKeyDate.SpecificationInternalID |
| [0..*] | I_SpecAssignedMatlForKeyDate | _SpecAssignedMatlForKeyDate | $projection.SpecificationInternalID = _SpecAssignedMatlForKeyDate.SpecificationInternalID |
| [0..*] | I_SpecValAssgmtInstanceWthComp | _SpecValAssgmtInstanceWthComp | $projection.SpecificationInternalID = _SpecValAssgmtInstanceWthComp.SpecificationInternalID |
| [0..*] | I_SpecAssignedStatus | _SpecAssignedStatus | $projection.SpecificationInternalID = _SpecAssignedStatus.SpecificationInternalID |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.sqlViewName | ISPECFORKDATE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Specification on a Key Date | view |
Fields (32)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SpecificationInternalID | SpecificationInternalID | ||
| SpecificationChangeState | SpecificationChangeState | |||
| Specification | Specification | |||
| SpecificationValidityStartDate | SpecificationValidityStartDate | |||
| SpecificationValidityEndDate | SpecificationValidityEndDate | |||
| SpecificationChangeNumber | SpecificationChangeNumber | |||
| SpecificationIsDeleted | SpecificationIsDeleted | |||
| SpecificationCreationDate | SpecificationCreationDate | |||
| SpecificationCreatedByUser | SpecificationCreatedByUser | |||
| SpecificationLastChangeDate | SpecificationLastChangeDate | |||
| SpecificationLastChangedByUser | SpecificationLastChangedByUser | |||
| SpecificationType | SpecificationType | |||
| SpecificationSubstanceNatr | SpecificationSubstanceNatr | |||
| SpecificationAuthznGroup | SpecificationAuthznGroup | |||
| SpecificationNote | SpecificationNote | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _SpecificationAuthGroup | _SpecificationAuthGroup | |||
| _SpecificationType | _SpecificationType | |||
| _SubstanceNature | _SubstanceNature | |||
| _AssignedHeaderStatus | _AssignedHeaderStatus | |||
| _SpecIdentifierForKeyDate | _SpecIdentifierForKeyDate | |||
| _ChangeMaster | _ChangeMaster | |||
| _SpecAssignedMatlForKeyDate | _SpecAssignedMatlForKeyDate | |||
| _SpecValAssgmtInstanceWthComp | _SpecValAssgmtInstanceWthComp | |||
| _SpecAssignedMaterial | _SpecAssignedMaterial | |||
| _DocumentInfoRecordObjectLink | _DocumentInfoRecordObjectLink | |||
| _RecipeFormulaItem | _RecipeFormulaItem | |||
| _SpecAssignedStatus | _SpecAssignedStatus | |||
| _LogAccMObjectTypeActive | _LogAccMObjectTypeActive | |||
| _LogAccMObjectUserAuthzn | _LogAccMObjectUserAuthzn | |||
| _LogAccMObjSecureIDAssgmt | _LogAccMObjSecureIDAssgmt |
@AbapCatalog.preserveKey: true
@AbapCatalog.sqlViewName: 'ISPECFORKDATE'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.serviceQuality: #A
@ObjectModel.usageType.dataClass: #MASTER
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API
@VDM.viewType: #COMPOSITE
@EndUserText.label: 'Specification on a Key Date'
define view I_SpecificationForKeyDate
with parameters
@Environment.systemField: #SYSTEM_DATE
P_KeyDate : sydate
as select from I_Specification as spec
association [0..*] to I_SpecIdentifierForKeyDate as _SpecIdentifierForKeyDate on $projection.SpecificationInternalID = _SpecIdentifierForKeyDate.SpecificationInternalID
association [0..*] to I_SpecAssignedMatlForKeyDate as _SpecAssignedMatlForKeyDate on $projection.SpecificationInternalID = _SpecAssignedMatlForKeyDate.SpecificationInternalID
association [0..*] to I_SpecValAssgmtInstanceWthComp as _SpecValAssgmtInstanceWthComp on $projection.SpecificationInternalID = _SpecValAssgmtInstanceWthComp.SpecificationInternalID
association [0..*] to I_SpecAssignedStatus as _SpecAssignedStatus on $projection.SpecificationInternalID = _SpecAssignedStatus.SpecificationInternalID
{
key SpecificationInternalID,
SpecificationChangeState,
Specification,
SpecificationValidityStartDate,
SpecificationValidityEndDate,
SpecificationChangeNumber,
SpecificationIsDeleted,
SpecificationCreationDate,
SpecificationCreatedByUser,
SpecificationLastChangeDate,
SpecificationLastChangedByUser,
SpecificationType,
SpecificationSubstanceNatr,
SpecificationAuthznGroup,
SpecificationNote,
/* Associations */
_CreatedByUser,
_LastChangedByUser,
_SpecificationAuthGroup,
_SpecificationType,
_SubstanceNature,
_AssignedHeaderStatus,
_SpecIdentifierForKeyDate,
_ChangeMaster,
_SpecAssignedMatlForKeyDate,
_SpecValAssgmtInstanceWthComp,
_SpecAssignedMaterial,
_DocumentInfoRecordObjectLink,
_RecipeFormulaItem,
_SpecAssignedStatus,
_LogAccMObjectTypeActive,
_LogAccMObjectUserAuthzn,
_LogAccMObjSecureIDAssgmt
}
where
SpecificationValidityStartDate <= $parameters.P_KeyDate
and SpecificationValidityEndDate >= $parameters.P_KeyDate
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