P_AssociatedAnlytlInProcCmpstn
Associated Analytical Compositon with Status In Process
P_AssociatedAnlytlInProcCmpstn is a Consumption CDS View that provides data about "Associated Analytical Compositon with Status In Process" in SAP S/4HANA. It reads from 1 data source (I_ChmlComposition) and exposes 4 fields. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_ChmlComposition | CompositionInProcess | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | P_CChmlCmplConstants | _Constants | _Constants.Constant1 = _Constants.Constant1 |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Associated Analytical Compositon with Status In Process | view | |
| AbapCatalog.sqlViewName | PAAANIPCMPS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| VDM.private | true | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| ChmlCmplncInfoUUID | ||||
| ReleaseDateTime | ||||
| ChmlCompositionTypeasChmlCompositionType | ||||
| ProdCmplncLegalAreaasProdCmplncLegalArea |
@EndUserText.label: 'Associated Analytical Compositon with Status In Process'
@AbapCatalog:
{
-- SQL view name (16 characters)
sqlViewName: 'PAAANIPCMPS',
--If it's true, the filter conditions are compared and, if they match, the associated join expression is evaluated only once
compiler.compareFilter: true
}
--Access Control: Authorizations Checks
@AccessControl:
{
authorizationCheck: #NOT_REQUIRED
}
--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE
--VDM view type
@VDM.viewType: #CONSUMPTION
@VDM.private: true
define view P_AssociatedAnlytlInProcCmpstn
--Select data from basic view 'Composition'
as select from I_ChmlComposition as CompositionInProcess
association [1..1] to P_CChmlCmplConstants as _Constants on _Constants.Constant1 = _Constants.Constant1
{
--UUID of chemical compliance information
key CompositionInProcess.ChmlCmplncInfoUUID,
--UUID of chemical composition released
CompositionInProcess.ChmlCompositionUUID as ChmlCompositionInProcessUUID,
--Status Released
CompositionInProcess.ChmlCompositionStatus as ChmlCmpstnInProcStatus,
-- Release Date and Time
CompositionInProcess.ReleaseDateTime,
--Indicator: Is active entity of chemical composition with status In Process
cast(_Constants[inner].ConstantTrue as sdraft_is_active preserving type ) as ChmlCmpstnInProcIsActiveEntity,
-- Composition Type
CompositionInProcess.ChmlCompositionType as ChmlCompositionType,
-- Legal Area
CompositionInProcess.ProdCmplncLegalArea as ProdCmplncLegalArea,
-- Product Categorization
CompositionInProcess.ChmlCmplncProdCatztnPhrsUUID as ChmlCmplncProdCatztnPhrsUUID
}
where
--Only material-based compositions
CompositionInProcess.ChmlCompositionType = 'ANALYTIC1'
--Only In Process compositions
and CompositionInProcess.ChmlCompositionStatus = 'IP'
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