P_ChgRecdRefEngBOMVirtual
Private for Eng. BOM Reference (virtual)
P_ChgRecdRefEngBOMVirtual is a Composite CDS View that provides data about "Private for Eng. BOM Reference (virtual)" in SAP S/4HANA. It reads from 1 data source (I_ChgRecdRefEngBOMBsc) and exposes 41 fields with key field ChangeRecordReferenceUUID. Part of development package VDM_PLMB_CR_O.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChgRecdRefEngBOMBsc | I_ChgRecdRefEngBOMBsc | from |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCRREFENGBOMVERV | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.private | true | view | |
| VDM.viewType | #COMPOSITE | view |
Fields (41)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChangeRecordReferenceUUID | ChangeRecordReferenceUUID | UUID | |
| Material | ||||
| Plant | ||||
| BillOfMaterialVariantUsage | ||||
| BillOfMaterialVariant | ||||
| BillOfMaterialVersion | ||||
| ChangeRecordUUID | ChangeRecordUUID | NodeID | ||
| ChangeRecord | ChangeRecord | Char20 | ||
| ChangeRecordReferenceType | ChangeRecordReferenceType | Object Type | ||
| ChangeRecordReferenceSubtype | ChangeRecordReferenceSubtype | Subtype | ||
| ChangeRecordRefObjectUUID | ChangeRecordRefObjectUUID | GUID-Key | ||
| ChangeRecordReference | ChangeRecordReference | Ref. Object ID | ||
| ParentChangeRecordRefUUID | ParentChangeRecordRefUUID | Node ID | ||
| ChgRecdReasonForChange | ChgRecdReasonForChange | Reason for Chge | ||
| ExpdCompltnDte | ExpdCompltnDte | Exp Completion Date | ||
| ChgRecdAuthznGrpText | ChgRecdAuthznGrpText | Authoriz. Group | ||
| ChgRecdNmbrChgSts | ChgRecdNmbrChgSts | Status | ||
| ChangeNumber | ChangeNumber | Change Number | ||
| ChgRecRefInternalKey1 | ChgRecRefInternalKey1 | Key | ||
| ChgRecRefInternalKey2 | ChgRecRefInternalKey2 | Key | ||
| ChgRecRefInternalKey3 | ChgRecRefInternalKey3 | Key | ||
| ChgRecRefInternalKey4 | ChgRecRefInternalKey4 | Key | ||
| ChgRecdDataMigrationStatus | ChgRecdDataMigrationStatus | status value done | ||
| ChangeRecordItemProcgStatus | ChangeRecordItemProcgStatus | Processing Status | ||
| ChgRecdItmTgtSts | ChgRecdItmTgtSts | Tgt Proc. Sts | ||
| ChgRecdItmDSgntr | ChgRecdItmDSgntr | Itm. Dgt. Sign. | ||
| IsMainReference | IsMainReference | Main Reference | ||
| CreatedByUser | CreatedByUser | User Name | ||
| CreationDateTime | CreationDateTime | Timestamp | ||
| LastChangedByUser | LastChangedByUser | User Name | ||
| LastChangeDateTime | LastChangeDateTime | Timestamp | ||
| ChangeRecordItemRelevance | ChangeRecordItemRelevance | Relevance | ||
| ChangeRecordVirtualRefInd | ChangeRecordVirtualRefInd | Virtual Reference | ||
| BillOfMaterialHeaderUUID | ||||
| BillOfMaterialUUID | ||||
| BillOfMaterial | ||||
| BillOfMaterialCategory | ||||
| IsVersionBillOfMaterial | ||||
| BOMVersionStatus | ||||
| BillOfMaterialStatus | ||||
| _ChangeRecord | _ChangeRecord |
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_ChgRecdRefEngBOMVirtual.
-- 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: PCRREFENGBOMVERV
CREATE VIEW P_ChgRecdRefEngBOMVirtual AS
SELECT
ChangeRecordReferenceUUID,
cast(SUBSTRING( ChangeRecordReference, 1, 40) as matnr) AS Material,
cast(SUBSTRING( ChangeRecordReference, 41, 4) as werks_d) AS Plant,
cast(SUBSTRING( ChangeRecordReference, 45, 1) as stlan) AS BillOfMaterialVariantUsage,
cast(SUBSTRING( ChangeRecordReference, 46, 2) as stalt) AS BillOfMaterialVariant,
cast(SUBSTRING( ChangeRecordReference, 48, 4) as cs_versn) AS BillOfMaterialVersion,
ChangeRecordUUID,
ChangeRecord,
ChangeRecordReferenceType,
ChangeRecordReferenceSubtype,
ChangeRecordRefObjectUUID,
ChangeRecordReference,
ParentChangeRecordRefUUID,
ChgRecdReasonForChange,
ExpdCompltnDte,
ChgRecdAuthznGrpText,
ChgRecdNmbrChgSts,
ChangeNumber,
ChgRecRefInternalKey1,
ChgRecRefInternalKey2,
ChgRecRefInternalKey3,
ChgRecRefInternalKey4,
ChgRecdDataMigrationStatus,
ChangeRecordItemProcgStatus,
ChgRecdItmTgtSts,
ChgRecdItmDSgntr,
IsMainReference,
CreatedByUser,
CreationDateTime,
LastChangedByUser,
LastChangeDateTime,
ChangeRecordItemRelevance,
ChangeRecordVirtualRefInd,
cast( hextobin('00000000000000000000000000000000') as cs_guidb) AS BillOfMaterialHeaderUUID,
'' AS BillOfMaterialUUID,
cast('' as stnum) AS BillOfMaterial,
cast('' as stlty) AS BillOfMaterialCategory,
cast('' as cs_versnind) AS IsVersionBillOfMaterial,
cast('' as cs_versnst) AS BOMVersionStatus,
cast('' as stlst) AS BillOfMaterialStatus
FROM I_ChgRecdRefEngBOMBsc
;
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