P_SpecValAssgmtWithHeader
Private view for Specification VA with VA header
P_SpecValAssgmtWithHeader is a Composite CDS View that provides data about "Private view for Specification VA with VA header" in SAP S/4HANA. It reads from 2 data sources (I_SpecValAssgmtHeader, I_SpecValAssgmt) and exposes 24 fields with key fields SpecValAssgmtHdr, SpecValAssgmt. Part of development package VDM_PLMB_SPC_VA.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_SpecValAssgmtHeader | header | from |
| I_SpecValAssgmt | va | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | sydate |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSPECVAHDR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.lifecycle.contract.type | #NONE | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SpecValAssgmtHdr | I_SpecValAssgmtHeader | SpecValAssgmtHdr | Unique ID No. |
| KEY | SpecValAssgmt | I_SpecValAssgmt | SpecValAssgmt | Unique ID No. |
| SpecificationInternalID | I_SpecValAssgmtHeader | SpecificationInternalID | Specification | |
| SpecValAssgmtType | I_SpecValAssgmtHeader | SpecValAssgmtType | Val. Asst Type | |
| SpecValAssgmtHdrIsDeleted | I_SpecValAssgmtHeader | SpecValAssgmtHdrIsDeleted | DID | |
| SpecValAssgmtChangeState | I_SpecValAssgmt | SpecValAssgmtChangeState | GUID number | |
| SpecValAssgmtValidityStartDate | I_SpecValAssgmt | SpecValAssgmtValidityStartDate | Valid From | |
| SpecValAssgmtValidityEndDate | I_SpecValAssgmt | SpecValAssgmtValidityEndDate | Valid To | |
| SpecValAssgmtChangeNumber | I_SpecValAssgmt | SpecValAssgmtChangeNumber | Change Number | |
| SpecValAssgmtCreationDate | I_SpecValAssgmt | SpecValAssgmtCreationDate | Generation Time | |
| SpecValAssgmtCreatedByUser | I_SpecValAssgmt | SpecValAssgmtCreatedByUser | Requester | |
| SpecValAssgmtLastChangeDate | I_SpecValAssgmt | SpecValAssgmtLastChangeDate | Changed On | |
| SpecValAssgmtLastChangedByUser | I_SpecValAssgmt | SpecValAssgmtLastChangedByUser | User Name | |
| SpecValAssgmtSortSequence | I_SpecValAssgmt | SpecValAssgmtSortSequence | Sort Order | |
| SpecValAssgmtUnitRefDimension | I_SpecValAssgmt | SpecValAssgmtUnitRefDimension | Reference Value | |
| SpecValAssgmtIsInhtncSource | I_SpecValAssgmt | SpecValAssgmtIsInhtncSource | Truth Value | |
| InhtdSpecValAssgmtIsTmpChgd | I_SpecValAssgmt | InhtdSpecValAssgmtIsTmpChgd | Truth Value | |
| InhtdSpecValAssgmtIsPermChgd | I_SpecValAssgmt | InhtdSpecValAssgmtIsPermChgd | Truth Value | |
| SpecInheritanceTemplate | I_SpecValAssgmt | SpecInheritanceTemplate | Record number | |
| SpecValAssgmtInheritanceParent | I_SpecValAssgmt | SpecValAssgmtInheritanceParent | Record number | |
| SpecValAssgmtInheritanceRoot | I_SpecValAssgmt | SpecValAssgmtInheritanceRoot | Record number | |
| SpecValAssgmtRootSpecIntID | I_SpecValAssgmt | SpecValAssgmtRootSpecIntID | Record number | |
| SpecValAssgmtIsDeleted | I_SpecValAssgmt | SpecValAssgmtIsDeleted | DID | |
| _ValueAssignmentType | _ValueAssignmentType |
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 P_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: PSPECVAHDR
-- Parameters: P_KeyDate : sydate
CREATE VIEW P_SpecValAssgmtWithHeader AS
SELECT
header.SpecValAssgmtHdr AS SpecValAssgmtHdr,
va.SpecValAssgmt AS SpecValAssgmt,
header.SpecificationInternalID AS SpecificationInternalID,
header.SpecValAssgmtType AS SpecValAssgmtType,
header.SpecValAssgmtHdrIsDeleted AS SpecValAssgmtHdrIsDeleted,
va.SpecValAssgmtChangeState AS SpecValAssgmtChangeState,
va.SpecValAssgmtValidityStartDate AS SpecValAssgmtValidityStartDate,
va.SpecValAssgmtValidityEndDate AS SpecValAssgmtValidityEndDate,
va.SpecValAssgmtChangeNumber AS SpecValAssgmtChangeNumber,
va.SpecValAssgmtCreationDate AS SpecValAssgmtCreationDate,
va.SpecValAssgmtCreatedByUser AS SpecValAssgmtCreatedByUser,
va.SpecValAssgmtLastChangeDate AS SpecValAssgmtLastChangeDate,
va.SpecValAssgmtLastChangedByUser AS SpecValAssgmtLastChangedByUser,
va.SpecValAssgmtSortSequence AS SpecValAssgmtSortSequence,
va.SpecValAssgmtUnitRefDimension AS SpecValAssgmtUnitRefDimension,
va.SpecValAssgmtIsInhtncSource AS SpecValAssgmtIsInhtncSource,
va.InhtdSpecValAssgmtIsTmpChgd AS InhtdSpecValAssgmtIsTmpChgd,
va.InhtdSpecValAssgmtIsPermChgd AS InhtdSpecValAssgmtIsPermChgd,
va.SpecInheritanceTemplate AS SpecInheritanceTemplate,
va.SpecValAssgmtInheritanceParent AS SpecValAssgmtInheritanceParent,
va.SpecValAssgmtInheritanceRoot AS SpecValAssgmtInheritanceRoot,
va.SpecValAssgmtRootSpecIntID AS SpecValAssgmtRootSpecIntID,
va.SpecValAssgmtIsDeleted AS SpecValAssgmtIsDeleted
FROM I_SpecValAssgmtHeader AS header
INNER JOIN I_SpecValAssgmt AS va ON /* join condition not captured in parsed metadata */
;
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