C_MaintNotificationChgHistory
Maint. Notification Change History
C_MaintNotificationChgHistory is a Consumption CDS View that provides data about "Maint. Notification Change History" in SAP S/4HANA. It has 4 associations to related views.
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ChangeDocFieldNamesT | _ChangeDocFieldNamesT | $projection.DatabaseTable = _ChangeDocFieldNamesT.DatabaseTable and $projection.ChangeDocDatabaseTableField = _ChangeDocFieldNamesT.Value |
| [0..*] | I_ChangeDocChangeIndT | _ChangeDocChangeIndT | $projection.ChangeDocItemChangeType = _ChangeDocChangeIndT.Value |
| [0..*] | I_MaintObjectChgTypeCodeText | _MaintObjectChgTypeCodeText | $projection.MaintObjectChangeTypeCode = _MaintObjectChgTypeCodeText.MaintObjectChangeTypeCode |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMNOTIFCHNHIST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Maint. Notification Change History | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (26)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChangeDocObject | ChangeDocObject | Object Value | |
| KEY | ChangeDocument | ChangeDocument | Document Number | |
| KEY | DatabaseTable | DatabaseTable | Table Name | |
| KEY | ChangeDocDatabaseTableField | ChangeDocDatabaseTableField | ||
| KEY | ChangeDocItemChangeType | ChangeDocItemChangeType | Activity | |
| KEY | CreationDateTime | |||
| KEY | ChangeDocTableKey | ChangeDocTableKey | ||
| MaintObjectChangeTypeCode | MaintObjectChangeTypeCode | Edit Type | ||
| MaintObjectChangeTypeCodeText | ||||
| NotificationText | Short Description | |||
| CreatedByUser | CreatedByUser | User Name | ||
| UserDescription | _CreatedByUser | UserDescription | Full Name | |
| CreationDate | CreationDate | Time Stamp | ||
| CreationTime | CreationTime | Time of Change | ||
| ChangeDocNewFieldValue | ChangeDocNewFieldValue | |||
| ChangeDocPreviousFieldValue | ChangeDocPreviousFieldValue | |||
| ChangeDocNewFieldValueText | ||||
| ChangeDocPrevFieldValueText | ||||
| ChangeDocObjectClass | ChangeDocObjectClass | Change Doc. Object | ||
| Class | Class | User Group | ||
| StatusName | StatusName | |||
| StatusProfile | StatusProfile | Status Profile | ||
| StatusIsInactive | StatusIsInactive | |||
| _ChangeDocFieldNamesT | _ChangeDocFieldNamesT | |||
| _ChangeDocChangeIndT | _ChangeDocChangeIndT | |||
| _MaintObjectChgTypeCodeText | _MaintObjectChgTypeCodeText |
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 C_MaintNotificationChgHistory.
-- 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: CMNOTIFCHNHIST
CREATE VIEW C_MaintNotificationChgHistory AS
SELECT
ChangeDocObject,
ChangeDocument,
DatabaseTable,
ChangeDocDatabaseTableField,
ChangeDocItemChangeType,
cast (dats_tims_to_tstmp( CreationDate, CreationTime, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL') as tzntstmps preserving type ) AS CreationDateTime,
ChangeDocTableKey,
MaintObjectChangeTypeCode,
_MaintObjectChgTypeCodeText[1:Language = $session.system_language ].MaintObjectChangeTypeCodeText AS MaintObjectChangeTypeCodeText,
cast ( '' as abap.char(200)) AS NotificationText,
CreatedByUser,
_CreatedByUser.UserDescription AS UserDescription,
CreationDate,
CreationTime,
ChangeDocNewFieldValue,
ChangeDocPreviousFieldValue,
cast('' as cdfldvaln) AS ChangeDocNewFieldValueText,
cast('' as cdfldvalo) AS ChangeDocPrevFieldValueText,
ChangeDocObjectClass,
Class,
StatusName,
StatusProfile,
StatusIsInactive
LEFT OUTER JOIN I_ChangeDocFieldNamesT AS _ChangeDocFieldNamesT ON DatabaseTable = _ChangeDocFieldNamesT.DatabaseTable AND ChangeDocDatabaseTableField = _ChangeDocFieldNamesT.Value -- association [0..*]
LEFT OUTER JOIN I_ChangeDocChangeIndT AS _ChangeDocChangeIndT ON ChangeDocItemChangeType = _ChangeDocChangeIndT.Value -- association [0..*]
LEFT OUTER JOIN I_MaintObjectChgTypeCodeText AS _MaintObjectChgTypeCodeText ON MaintObjectChangeTypeCode = _MaintObjectChgTypeCodeText.MaintObjectChangeTypeCode -- association [0..*]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
;
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