I_ChangeMasterObjTypeAssgmt

DDL: I_CHANGEMASTEROBJTYPEASSGMT SQL: IECNOBJASGMT Type: view BASIC

Change Number Object Type Assignment

I_ChangeMasterObjTypeAssgmt (Basic)

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_ChangeMasterObjTypeAssgmt is a Basic CDS View that provides data about "Change Number Object Type Assignment" in SAP S/4HANA. It reads from 1 data source (aenv) and exposes 16 fields with key fields ChangeNumber, ChangeNumberObjectType. It has 3 associations to related views.

SAP Help Documentation

CategoryChange Number
StatusReleased
Purpose
This CDS view provides the prerequisites for answering the following business questions: To which business object types (for example material, document, characteristics) can a certain change master be assigned? Which change masters can be assigned to a certain object type? Are there any change masters for which the assignment of a specific object type is locked? Who has activated the assignment of a certain business object to a certain change master?

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 type: Change master Main CDS parameters and filters The main filters are: Object type locked for changes ( IsLockedForChanges ) Object type active for change number ( IsActiveForChangeNumber )

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessR&D Engineering
Application ComponentPLM-WUI-OBJ-ECN
CapabilitiesData Source for Defining CDS Entities, Data Source in SQL Select, Association Target for Defining CDS Entities
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>To which business object types (for example material, document, characteristics) can a certain change master be assigned?</p></li> <li><p>Which change masters can be assigned to a certain object type?</p></li> <li><p>Are there any change masters for which the assignment of a specific object type is locked?</p></li> <li><p>Who has activated the assignment of a certain business object to a certain change master?</p></li> </ul>

Documentation

Data Sources (1)

SourceAliasJoin Type
aenv aenv from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_ChangeMasterObjectType _ChangeNumberObjectType $projection.ChangeNumberObjectType = _ChangeNumberObjectType.ChangeNumberObjectType
[1..1] I_ChangeMaster _ChangeMaster $projection.ChangeNumber = _ChangeMaster.ChangeNumber
[0..*] I_ChangeMstrObjTypeRevisionLvl _ChangeMstrObjTypeRevisionLvl $projection.ChangeNumberObjectType = _ChangeMstrObjTypeRevisionLvl.ChangeNumberObjectType

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName IECNOBJASGMT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey ChangeNumberObjectType view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.dataClass #MASTER view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label Change Number Object Type Assignment view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY ChangeNumber aennr Change Number
KEY ChangeNumberObjectType aetyp Object Category
IsActiveForChangeNumber Object Type Active for Change Number
IsLockedForChanges aensp Indicator: Object type locked for changes
IsPartiallyDisplayed tobja Indicator: display partial objects for object
ObjMgmtRecdIsRequired Management Record Is Required for Each Object
ObjMgmtRecdIsGenerated Object Management Record Was Generated
ObjMgmtRecdIsAutomlyCrted Mgmt Record Generated Automatically Only for New Objects
ObjMgmtRecdIsAutomlyCrtedByDlg Automatic Generation with Dialog Box
ObjectTypeCreationDate andat Date record created on
ObjectTypeCreatedByUser annam User who created record
ObjectTypeLastChangedDate aedat Date of Last Change
ObjectTypeLastChangedByUser aenam Name of person who changed object
_ChangeNumberObjectType _ChangeNumberObjectType
_ChangeMaster _ChangeMaster
_ChangeMstrObjTypeRevisionLvl _ChangeMstrObjTypeRevisionLvl

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_ChangeMasterObjTypeAssgmt.
-- 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: IECNOBJASGMT

CREATE VIEW I_ChangeMasterObjTypeAssgmt AS
SELECT
  aennr AS ChangeNumber,
  aetyp AS ChangeNumberObjectType,
  cast ( aeerl as /plmb/aeerl ) AS IsActiveForChangeNumber,
  aensp AS IsLockedForChanges,
  tobja AS IsPartiallyDisplayed,
  cast ( indfl as /plmb/cc_indfl ) AS ObjMgmtRecdIsRequired,
  cast ( oigen as /plmb/oigen ) AS ObjMgmtRecdIsGenerated,
  cast ( genan as /plmb/genan ) AS ObjMgmtRecdIsAutomlyCrted,
  cast ( gendi as /plmb/gendi ) AS ObjMgmtRecdIsAutomlyCrtedByDlg,
  andat AS ObjectTypeCreationDate,
  annam AS ObjectTypeCreatedByUser,
  aedat AS ObjectTypeLastChangedDate,
  aenam AS ObjectTypeLastChangedByUser
FROM aenv
LEFT OUTER JOIN I_ChangeMasterObjectType AS _ChangeNumberObjectType ON ChangeNumberObjectType = _ChangeNumberObjectType.ChangeNumberObjectType  -- association [0..1]
LEFT OUTER JOIN I_ChangeMaster AS _ChangeMaster ON ChangeNumber = _ChangeMaster.ChangeNumber  -- association [1..1]
LEFT OUTER JOIN I_ChangeMstrObjTypeRevisionLvl AS _ChangeMstrObjTypeRevisionLvl ON ChangeNumberObjectType = _ChangeMstrObjTypeRevisionLvl.ChangeNumberObjectType  -- association [0..*]
;