C_CmmdtyHdgMigrtnReqChgDoc
Migration Request Change Document
C_CmmdtyHdgMigrtnReqChgDoc is a Consumption CDS View that provides data about "Migration Request Change Document" in SAP S/4HANA. It reads from 1 data source (I_CmmdtyHdgMigrtnReqChgDocItem) and exposes 13 fields with key fields ChangeDocObject, ChangeDocObjectClass, ChangeDocument, DatabaseTable, ChangeDocTableKey. It has 2 associations to related views. It is exposed through 1 OData service (UI_CMMDTYHDGMIGRATIONREQ). It is used in 1 Fiori application: Manage Migration Request.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CmmdtyHdgMigrtnReqChgDocItem | I_CmmdtyHdgMigrtnReqChgDocItem | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CmmdtyHdgMigrtnReqChgDocItem | _MigrationReqChgDocReason | $projection.ChangeDocObjectClass = _MigrationReqChgDocReason.ChangeDocObjectClass and $projection.DatabaseTable = _MigrationReqChgDocReason.DatabaseTable and $projection.ChangeDocTableKey = _MigrationReqChgDocReason.ChangeDocTableKey and $projection.ChangeDocItemChangeType = _MigrationReqChgDocReason.ChangeDocItemChangeType and $projection.ChangeDocObject = _MigrationReqChgDocReason.ChangeDocObject and $projection.ChangeDocument = _MigrationReqChgDocReason.ChangeDocument and _MigrationReqChgDocReason.ChangeDocDatabaseTableField = 'MIGRATION_STSCHNG_REASON' |
| [0..1] | I_User | _CreatedBy | $projection.CreatedByUser = _CreatedBy.UserID |
Annotations (13)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CMMHDGMRCHGDOC | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| UI.headerInfo.typeName | Status History | view | |
| UI.headerInfo.typeNamePlural | Items | view | |
| EndUserText.label | Migration Request Change Document | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_CMMDTYHDGMIGRATIONREQ | UI_CMMDTYHDGMIGRATIONREQ | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F5668 | Manage Migration Request | Transactional |
Manage Migration Request
Business Role: Commodity Risk Manager - Hedge Accounting
With this Fiori app (ID F5668), you create migration requests for commodity financial trades that need to be designated retroactively. The app automatically determines and displays dependent/related counterdeals, offsetting intercompany trades, intercompany trades, and FX transactions.
Fields (13)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChangeDocObject | ChangeDocObject | Object Value | |
| KEY | ChangeDocObjectClass | ChangeDocObjectClass | Change Doc. Object | |
| KEY | ChangeDocument | ChangeDocument | Document Number | |
| KEY | DatabaseTable | DatabaseTable | Table Name | |
| KEY | ChangeDocTableKey | ChangeDocTableKey | ||
| KEY | ChangeDocDatabaseTableField | ChangeDocDatabaseTableField | ||
| KEY | ChangeDocItemChangeType | ChangeDocItemChangeType | ||
| ChangeDocNewFieldValue | ChangeDocNewFieldValue | |||
| MigrationRequestStatusText | ||||
| ChgDocumentNewFieldValueReason | _MigrationReqChgDocReason | ChangeDocNewFieldValue | ||
| CreatedByUser | CreatedByUser | User Name | ||
| UserDescription | _CreatedBy | UserDescription | Full Name | |
| MigrtnReqChgDocCrtnDateTime | MigrtnReqChgDocumentDateTime |
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_CmmdtyHdgMigrtnReqChgDoc.
-- 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: CMMHDGMRCHGDOC
CREATE VIEW C_CmmdtyHdgMigrtnReqChgDoc AS
SELECT
ChangeDocObject,
ChangeDocObjectClass,
ChangeDocument,
DatabaseTable,
ChangeDocTableKey,
ChangeDocDatabaseTableField,
ChangeDocItemChangeType,
ChangeDocNewFieldValue,
_MigrtnReqStatusText[1:Language = $session.system_language ].MigrationRequestStatusText AS MigrationRequestStatusText,
_MigrationReqChgDocReason.ChangeDocNewFieldValue AS ChgDocumentNewFieldValueReason,
CreatedByUser,
_CreatedBy.UserDescription AS UserDescription,
MigrtnReqChgDocumentDateTime AS MigrtnReqChgDocCrtnDateTime
FROM I_CmmdtyHdgMigrtnReqChgDocItem
LEFT OUTER JOIN I_CmmdtyHdgMigrtnReqChgDocItem AS _MigrationReqChgDocReason ON ChangeDocObjectClass = _MigrationReqChgDocReason.ChangeDocObjectClass AND DatabaseTable = _MigrationReqChgDocReason.DatabaseTable AND ChangeDocTableKey = _MigrationReqChgDocReason.ChangeDocTableKey AND ChangeDocItemChangeType = _MigrationReqChgDocReason.ChangeDocItemChangeType AND ChangeDocObject = _MigrationReqChgDocReason.ChangeDocObject AND ChangeDocument = _MigrationReqChgDocReason.ChangeDocument AND _MigrationReqChgDocReason.ChangeDocDatabaseTableField = 'MIGRATION_STSCHNG_REASON' -- association [0..1]
LEFT OUTER JOIN I_User AS _CreatedBy ON CreatedByUser = _CreatedBy.UserID -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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