I_SpecValAssgmtWithHeader
Specification Value Assignment Instance with Header
I_SpecValAssgmtWithHeader is a Composite CDS View that provides data about "Specification Value Assignment Instance with Header" in SAP S/4HANA. It reads from 2 data sources (P_SpecValAssgmtInstanceNormal, I_SpecValAssgmtUsage) and exposes 31 fields with key fields SpecValAssgmtHdr, SpecValAssgmt, SpecValAssgmtUsageInternalID. It has 3 associations to related views. Part of development package VDM_PLMB_SPC_VA.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| P_SpecValAssgmtInstanceNormal | P_SpecValAssgmtInstanceNormal | from |
| I_SpecValAssgmtUsage | usg | left_outer |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_SpecRating | _Rating | $projection.SpecificationRating = _Rating.SpecificationRating |
| [0..1] | I_SpecValidityArea | _ValidityArea | $projection.SpecificationValidityArea = _ValidityArea.SpecificationValidityArea |
| [0..1] | I_SpecificationForKeyDate | _SpecificationForKeyDate | $projection.SpecificationInternalID = _SpecificationForKeyDate.SpecificationInternalID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ISPECVAWHDR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| VDM.viewType | #COMPOSITE | view | |
| EndUserText.label | Specification Value Assignment Instance with Header | view |
Fields (31)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SpecValAssgmtHdr | SpecValAssgmtHdr | ||
| KEY | SpecValAssgmt | SpecValAssgmt | ||
| KEY | SpecValAssgmtUsageInternalID | I_SpecValAssgmtUsage | SpecValAssgmtUsageInternalID | |
| SpecificationInternalID | header | SpecificationInternalID | Specification | |
| SpecValAssgmtType | SpecValAssgmtType | Val. Asst Type | ||
| SpecValAssgmtHdrIsDeleted | SpecValAssgmtHdrIsDeleted | |||
| SpecValAssgmtChangeState | SpecValAssgmtChangeState | |||
| SpecValAssgmtValidityStartDate | SpecValAssgmtValidityStartDate | |||
| SpecValAssgmtValidityEndDate | SpecValAssgmtValidityEndDate | |||
| SpecValAssgmtChangeNumber | SpecValAssgmtChangeNumber | |||
| SpecValAssgmtCreationDate | SpecValAssgmtCreationDate | |||
| SpecValAssgmtCreatedByUser | SpecValAssgmtCreatedByUser | |||
| SpecValAssgmtLastChangeDate | SpecValAssgmtLastChangeDate | |||
| SpecValAssgmtLastChangedByUser | SpecValAssgmtLastChangedByUser | |||
| SpecValAssgmtSortSequence | SpecValAssgmtSortSequence | |||
| SpecValAssgmtUnitRefDimension | SpecValAssgmtUnitRefDimension | |||
| SpecValAssgmtIsInhtncSource | SpecValAssgmtIsInhtncSource | |||
| InhtdSpecValAssgmtIsTmpChgd | InhtdSpecValAssgmtIsTmpChgd | |||
| InhtdSpecValAssgmtIsPermChgd | InhtdSpecValAssgmtIsPermChgd | |||
| SpecInheritanceTemplate | SpecInheritanceTemplate | |||
| SpecValAssgmtInheritanceParent | SpecValAssgmtInheritanceParent | |||
| SpecValAssgmtInheritanceRoot | SpecValAssgmtInheritanceRoot | |||
| SpecValAssgmtRootSpecIntID | SpecValAssgmtRootSpecIntID | Specification | ||
| SpecValAssgmtIsDeleted | SpecValAssgmtIsDeleted | |||
| SpecificationRating | I_SpecValAssgmtUsage | SpecificationRating | Rating | |
| SpecificationValidityArea | I_SpecValAssgmtUsage | SpecificationValidityArea | Validity Area | |
| SpecValAssgmtUsageIsExcluded | I_SpecValAssgmtUsage | SpecValAssgmtUsageIsExcluded | ||
| SpecValAssgmtUsageIsActive | I_SpecValAssgmtUsage | SpecValAssgmtUsageIsActive | ||
| SpecValAssgmtUsageIsRelevant | I_SpecValAssgmtUsage | SpecValAssgmtUsageIsRelevant | ||
| _ValueAssignmentType | _ValueAssignmentType | |||
| _SpecificationForKeyDate | _SpecificationForKeyDate |
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_SpecValAssgmtWithHeader.
-- 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: ISPECVAWHDR
-- Parameters: P_KeyDate : sydate
CREATE VIEW I_SpecValAssgmtWithHeader AS
SELECT
SpecValAssgmtHdr,
SpecValAssgmt,
usg.SpecValAssgmtUsageInternalID AS SpecValAssgmtUsageInternalID,
header.SpecificationInternalID AS SpecificationInternalID,
SpecValAssgmtType,
SpecValAssgmtHdrIsDeleted,
SpecValAssgmtChangeState,
SpecValAssgmtValidityStartDate,
SpecValAssgmtValidityEndDate,
SpecValAssgmtChangeNumber,
SpecValAssgmtCreationDate,
SpecValAssgmtCreatedByUser,
SpecValAssgmtLastChangeDate,
SpecValAssgmtLastChangedByUser,
SpecValAssgmtSortSequence,
SpecValAssgmtUnitRefDimension,
SpecValAssgmtIsInhtncSource,
InhtdSpecValAssgmtIsTmpChgd,
InhtdSpecValAssgmtIsPermChgd,
SpecInheritanceTemplate,
SpecValAssgmtInheritanceParent,
SpecValAssgmtInheritanceRoot,
SpecValAssgmtRootSpecIntID,
SpecValAssgmtIsDeleted,
usg.SpecificationRating AS SpecificationRating,
usg.SpecificationValidityArea AS SpecificationValidityArea,
usg.SpecValAssgmtUsageIsExcluded AS SpecValAssgmtUsageIsExcluded,
usg.SpecValAssgmtUsageIsActive AS SpecValAssgmtUsageIsActive,
usg.SpecValAssgmtUsageIsRelevant AS SpecValAssgmtUsageIsRelevant
FROM P_SpecValAssgmtInstanceNormal
LEFT OUTER JOIN I_SpecValAssgmtUsage AS usg ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SpecRating AS _Rating ON SpecificationRating = _Rating.SpecificationRating -- association [0..1]
LEFT OUTER JOIN I_SpecValidityArea AS _ValidityArea ON SpecificationValidityArea = _ValidityArea.SpecificationValidityArea -- association [0..1]
LEFT OUTER JOIN I_SpecificationForKeyDate AS _SpecificationForKeyDate ON SpecificationInternalID = _SpecificationForKeyDate.SpecificationInternalID -- association [0..1]
;
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