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 | Specification | |
| SpecificationChangeState | SpecificationChangeState | GUID number | ||
| Specification | Specification | Specification | ||
| SpecificationValidityStartDate | SpecificationValidityStartDate | Valid From | ||
| SpecificationValidityEndDate | SpecificationValidityEndDate | Valid To | ||
| SpecificationChangeNumber | SpecificationChangeNumber | |||
| SpecificationIsDeleted | SpecificationIsDeleted | DID | ||
| SpecificationCreationDate | SpecificationCreationDate | |||
| SpecificationCreatedByUser | SpecificationCreatedByUser | |||
| SpecificationLastChangeDate | SpecificationLastChangeDate | |||
| SpecificationLastChangedByUser | SpecificationLastChangedByUser | |||
| SpecificationType | SpecificationType | |||
| SpecificationSubstanceNatr | SpecificationSubstanceNatr | |||
| SpecificationAuthznGroup | SpecificationAuthznGroup | |||
| SpecificationNote | SpecificationNote | Note | ||
| _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 |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_SpecificationForKeyDate.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: ISPECFORKDATE
-- Parameters: P_KeyDate : sydate
CREATE VIEW I_SpecificationForKeyDate AS
SELECT
SpecificationInternalID,
SpecificationChangeState,
Specification,
SpecificationValidityStartDate,
SpecificationValidityEndDate,
SpecificationChangeNumber,
SpecificationIsDeleted,
SpecificationCreationDate,
SpecificationCreatedByUser,
SpecificationLastChangeDate,
SpecificationLastChangedByUser,
SpecificationType,
SpecificationSubstanceNatr,
SpecificationAuthznGroup,
SpecificationNote
FROM I_Specification AS spec
LEFT OUTER JOIN I_SpecIdentifierForKeyDate AS _SpecIdentifierForKeyDate ON SpecificationInternalID = _SpecIdentifierForKeyDate.SpecificationInternalID -- association [0..*]
LEFT OUTER JOIN I_SpecAssignedMatlForKeyDate AS _SpecAssignedMatlForKeyDate ON SpecificationInternalID = _SpecAssignedMatlForKeyDate.SpecificationInternalID -- association [0..*]
LEFT OUTER JOIN I_SpecValAssgmtInstanceWthComp AS _SpecValAssgmtInstanceWthComp ON SpecificationInternalID = _SpecValAssgmtInstanceWthComp.SpecificationInternalID -- association [0..*]
LEFT OUTER JOIN I_SpecAssignedStatus AS _SpecAssignedStatus ON SpecificationInternalID = _SpecAssignedStatus.SpecificationInternalID -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA