I_ECRAttr
Engineering Record Attributes
I_ECRAttr is a Basic CDS View that provides data about "Engineering Record Attributes" in SAP S/4HANA. It reads from 2 data sources (I_CaseAttribute, /plmi/ecr_hdr) and exposes 17 fields with key field EngineeringRecordUUID.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| I_CaseAttribute | CaseMgtAttribute | inner |
| /plmi/ecr_hdr | EngRecordHeader | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IECRATTR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| VDM.viewType | #BASIC | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Engineering Record Attributes | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | EngineeringRecordUUID | /plmi/ecr_hdr | case_guid | UUID |
| EngineeringRecord | ecr_id | Eng. Record | ||
| CustomerReferenceNumber | cust_change_no | Reference Number | ||
| ChangeCoordinator | change_coord | Change Coordinator | ||
| ReleaseCoordinator | release_coord | Release Coordinator | ||
| EngineeringRecordType | Upper/Lowercase | |||
| CreatedByUser | CaseCreatedBy | Created By | ||
| CreationDateTime | Created At | |||
| LastChangedByUser | CaseLastChangedBy | Changed By | ||
| LastChangeDateTime | Last Changed At | |||
| ClosedByUser | CaseClosedBy | Closed By | ||
| CloseDateTime | Closed At | |||
| PriorityCode | CasePriority | Priority | ||
| Status | Status | |||
| ChangeReason | Reason | |||
| EngineeringRecordDescription | CaseTitle | Case Title | ||
| StatusProfile | CaseStatusProfile | Status Profile |
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_ECRAttr.
-- 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: IECRATTR
CREATE VIEW I_ECRAttr AS
SELECT
EngRecordHeader.case_guid AS EngineeringRecordUUID,
ecr_id AS EngineeringRecord,
cust_change_no AS CustomerReferenceNumber,
change_coord AS ChangeCoordinator,
release_coord AS ReleaseCoordinator,
cast( CaseType as /plmb/ecr_type preserving type ) AS EngineeringRecordType,
CaseCreatedBy AS CreatedByUser,
cast( CaseCreatedOn as tzntstmps preserving type ) AS CreationDateTime,
CaseLastChangedBy AS LastChangedByUser,
cast( CaseLastChangedOn as tzntstmps preserving type ) AS LastChangeDateTime,
CaseClosedBy AS ClosedByUser,
cast( CaseClosedTime as tzntstmps preserving type ) AS CloseDateTime,
CasePriority AS PriorityCode,
cast( CaseStatus as /plmb/ecr_hdr_status ) AS Status,
cast( CaseReason as /plmb/ecr_change_reason ) AS ChangeReason,
CaseTitle AS EngineeringRecordDescription,
CaseStatusProfile AS StatusProfile
FROM /plmi/ecr_hdr AS EngRecordHeader
INNER JOIN I_CaseAttribute AS CaseMgtAttribute 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