I_ECRAttr

DDL: I_ECRATTR SQL: IECRATTR Type: view BASIC

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)

SourceAliasJoin Type
I_CaseAttribute CaseMgtAttribute inner
/plmi/ecr_hdr EngRecordHeader from

Annotations (9)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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 */
;