Associated legal Compositon with Status In Process
P_AssociatedSubstLglProcCmpstn is a Consumption CDS View that provides data about "Associated legal Compositon with Status In Process" in SAP S/4HANA. It reads from 1 data source (I_ChmlComposition) and exposes 2 fields. It has 1 association to related views.
Associated legal Compositon with Status In Process
view
AbapCatalog.sqlViewName
PAASLNIPCMPS
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 (2)
Key
Field
Source Table
Source Field
Description
ChmlCmplncInfoUUID
ChmlCompositionType
@EndUserText.label: 'Associated legal Compositon with Status In Process'
@AbapCatalog:
{
-- SQL view name (16 characters)
sqlViewName: 'PAASLNIPCMPS',
--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: truedefineview P_AssociatedSubstLglProcCmpstn
--Select data from basic view 'Composition'
asselectfrom 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,
--Composition type
key CompositionInProcess.ChmlCompositionType,
--UUID of chemical composition released
CompositionInProcess.ChmlCompositionUUID as ChmlCompositionInProcessUUID,
--Status Released
CompositionInProcess.ChmlCompositionStatus as ChmlCmpstnInProcStatus,
--Indicator: Is active entity of chemical composition with status In Process
cast( _Constants[inner].ConstantTrue as sdraft_is_active preserving type ) as ChmlCmpstnInProcIsActiveEntity
}
where
CompositionInProcess.ChmlCompositionType <> 'ANALYTIC1'
and CompositionInProcess.ChmlCompositionType <> 'MATLBSD1'
and CompositionInProcess.ChmlCompositionType <> 'MATLBSD2'
and CompositionInProcess.ChmlCompositionType <> 'TS'
and CompositionInProcess.ChmlCompositionType <> 'POLYMER'
--Only In Process compositions
and CompositionInProcess.ChmlCompositionStatus = 'IP'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CHMLCOMPOSITION",
"P_CCHMLCMPLCONSTANTS"
],
"ASSOCIATED":
[
"P_CCHMLCMPLCONSTANTS"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/