I_ChangeMstrObMgReDocInfoRecd

DDL: I_CHANGEMSTROBMGREDOCINFORECD SQL: IECNOMRDIR Type: view COMPOSITE

Change Number ObMaRe of Doc Info Record

I_ChangeMstrObMgReDocInfoRecd (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

R&D Engineering

I_ChangeMstrObMgReDocInfoRecd is a Composite CDS View that provides data about "Change Number ObMaRe of Doc Info Record" in SAP S/4HANA. It reads from 1 data source (I_ChangeMstrObjectMgmtRecord) and exposes 23 fields with key fields ChangeNumber, DocumentType, DocumentInfoRecord, DocumentPart, DocumentVersion. It has 1 association to related views.

SAP Help Documentation

CategoryChange Number
StatusReleased
Purpose
This CDS view provides the prerequisites for answering the following business questions: Which documents are controlled by a change master? If a document was changed using a change master, who initiated these changes and when?

Prerequisites
Users who want to run reports using this CDS view must have display rights for the following authorization objects: C_AENR_BGR C_AENR_ERW

Structure
Object types This view is built on the following object types: Change master Document info record Main CDS parameters and filters The main filters are: Change number ( ChangeNumber ) Document type ( DocumentType ) Document number ( DocumentInfoRecord ) Document part ( DocumentPart ) Document version ( DocumentVersion ) Object management record creator ( ObjMgmtRecdCreatedBy ) Object management record creation date ( ObjMgmtRecdCreationDate )

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessR&D Engineering
Application ComponentPLM-WUI-OBJ-ECN
CapabilitiesAssociation Target for Defining CDS Entities, Data Source for Defining CDS Entities, Data Source in SQL Select
PackageR&D Engineering for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li><p>Which documents are controlled by a change master?</p></li> <li><p>If a document was changed using a change master, who initiated these changes and when?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_ChangeMstrObjectMgmtRecord I_ChangeMstrObjectMgmtRecord from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_DocumentInfoRecord _DocumentInfoRecord $projection.DocumentType = _DocumentInfoRecord.DocumentInfoRecordDocType and $projection.DocumentInfoRecord = _DocumentInfoRecord.DocumentInfoRecordDocNumber and $projection.DocumentPart = _DocumentInfoRecord.DocumentInfoRecordDocPart and $projection.DocumentVersion = _DocumentInfoRecord.DocumentInfoRecordDocVersion

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IECNOMRDIR view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Change Number ObMaRe of Doc Info Record view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY ChangeNumber ChangeNumber Change Number
KEY DocumentType Document Type
KEY DocumentInfoRecord Document number
KEY DocumentPart Document Part
KEY DocumentVersion Document Version
ObjMgmtRecdObject ObjMgmtRecdObject Change object (internal use)
ObjMgmtRecdObjectInternalID ObjMgmtRecdObjectInternalID Identification of object to be changed
ChgNmbrAlternativeDateCounter ChgNmbrAlternativeDateCounter Engineering change management: alternative date counter
ObjMgmtRecdDescription ObjMgmtRecdDescription Object management record description
ObjMgmtRecdItemUUID ObjMgmtRecdItemUUID Object Management Record Item GUID
ObjMgmtRecdLastChangedAt ObjMgmtRecdLastChangedAt Date of Last Change
ObjMgmtRecdLastChangedBy ObjMgmtRecdLastChangedBy Name of person who changed object
ObjMgmtRecdCreationDate ObjMgmtRecdCreationDate Date record created on
ObjMgmtRecdCreatedBy ObjMgmtRecdCreatedBy User who created record
ObjMgmtRecdObjLastChangedAt ObjMgmtRecdObjLastChangedAt Date on which the object was last changed
ObjMgmtRecdObjLastChangedBy ObjMgmtRecdObjLastChangedBy User who last changed the object
ObjMgmtRecdObjIsLockedForChg ObjMgmtRecdObjIsLockedForChg Indicator: Object locked for changes
ObjMgmtRecdObjIsBaselined ObjMgmtRecdObjIsBaselined Baselining for object was performed
ObjMgmtRecdChangeType ObjMgmtRecdChangeType Change Type for Object
ObjMgmtRecdObjIsPlanned ObjMgmtRecdObjIsPlanned Indicator: planned record
ObjMgmtRecdObjRevisionLevel ObjMgmtRecdObjRevisionLevel Revision Level without Conversion Exit
_ChangeMaster _ChangeMaster
_ChangeMasterAltDate _ChangeMasterAltDate

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_ChangeMstrObMgReDocInfoRecd.
-- 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: IECNOMRDIR

CREATE VIEW I_ChangeMstrObMgReDocInfoRecd AS
SELECT
  ChangeNumber,
  cast(substring(ObjMgmtRecdObject, 1, 3) as dokar) AS DocumentType,
  cast(substring(ObjMgmtRecdObject, 4, 25) as doknr) AS DocumentInfoRecord,
  cast(substring(ObjMgmtRecdObject, 29, 3) as doktl_d) AS DocumentPart,
  cast(substring(ObjMgmtRecdObject, 32, 2) as dokvr) AS DocumentVersion,
  ObjMgmtRecdObject,
  ObjMgmtRecdObjectInternalID,
  ChgNmbrAlternativeDateCounter,
  ObjMgmtRecdDescription,
  ObjMgmtRecdItemUUID,
  ObjMgmtRecdLastChangedAt,
  ObjMgmtRecdLastChangedBy,
  ObjMgmtRecdCreationDate,
  ObjMgmtRecdCreatedBy,
  ObjMgmtRecdObjLastChangedAt,
  ObjMgmtRecdObjLastChangedBy,
  ObjMgmtRecdObjIsLockedForChg,
  ObjMgmtRecdObjIsBaselined,
  ObjMgmtRecdChangeType,
  ObjMgmtRecdObjIsPlanned,
  ObjMgmtRecdObjRevisionLevel
FROM I_ChangeMstrObjectMgmtRecord
LEFT OUTER JOIN I_DocumentInfoRecord AS _DocumentInfoRecord ON DocumentType = _DocumentInfoRecord.DocumentInfoRecordDocType AND DocumentInfoRecord = _DocumentInfoRecord.DocumentInfoRecordDocNumber AND DocumentPart = _DocumentInfoRecord.DocumentInfoRecordDocPart AND DocumentVersion = _DocumentInfoRecord.DocumentInfoRecordDocVersion  -- association [0..1]
;