P_ChmlCmplncInfoMigration
P_ChmlCmplncInfoMigration is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_ChmlCmplncInfo) and exposes 4 fields.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlCmplncInfo | I_ChmlCmplncInfo | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCCMPLCNINFOMIG | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_ALLOWED | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| mandt | I_ChmlCmplncInfo | mandt | ||
| ChmlCmplncInfoUUID | I_ChmlCmplncInfo | ChmlCmplncInfoUUID | ||
| ChmlCmplncInternalName | I_ChmlCmplncInfo | ChmlCmplncInternalName | ||
| StatusField |
@AbapCatalog.sqlViewName: 'PCCMPLCNINFOMIG'
@AbapCatalog.compiler.compareFilter: true
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_ALLOWED
@ObjectModel:
{
usageType:
{
dataClass: #MASTER,
sizeCategory: #M,
serviceQuality: #B
}
}
@VDM.viewType: #COMPOSITE
@VDM.private: true
-- View for the silent data migration for physical-chemical properties of ChmlCmplncInfo objects
-- It selects all ChmlCmplncInfo objects that do not have the necessary physical-chemical root objects
-------------------------------------------------------------
-- IMPORTANT: View may not be changed after initial delivery!
-------------------------------------------------------------
define view P_ChmlCmplncInfoMigration
as select from I_ChmlCmplncInfo
left outer to one join I_PhysicalChemicalProperty as PhysicalChemicalProperty on I_ChmlCmplncInfo.ChmlCmplncInfoUUID = PhysicalChemicalProperty.ChmlCmplncInfoUUID
{
I_ChmlCmplncInfo.mandt,
I_ChmlCmplncInfo.ChmlCmplncInfoUUID,
I_ChmlCmplncInfo.ChmlCmplncInternalName,
'00' as StatusField
}
where
PhysicalChemicalProperty.PhysChmlPrptyUUID is null
// ChmlCmplncInfo must be an unpackaged product
and I_ChmlCmplncInfo.ChmlCmplncInfoType = 'BU'
and(
I_ChmlCmplncInfo.MaterialIsProduced = 'X'
or I_ChmlCmplncInfo.MaterialIsSold = 'X'
or I_ChmlCmplncInfo.MaterialIsTransported = 'X'
)
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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