P_AssociatedTrdSecretProc

DDL: P_ASSOCIATEDTRDSECRETPROC Type: view_entity CONSUMPTION Package: EHFND_CNS_CCI

Associated trade secret with status in process

P_AssociatedTrdSecretProc is a Consumption CDS View that provides data about "Associated trade secret with status in process" in SAP S/4HANA. It reads from 1 data source (I_ChmlComposition) and exposes 3 fields with key field ProdCmplncLegalArea. It has 1 association to related views. Part of development package EHFND_CNS_CCI.

Data Sources (1)

SourceAliasJoin Type
I_ChmlComposition TradeSecretInProcess from

Associations (1)

CardinalityTargetAliasCondition
[1..1] P_CChmlCmplConstants _Constants _Constants.Constant1 = _Constants.Constant1

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (3)

KeyFieldSource TableSource FieldDescription
ChmlCmplncInfoUUID
ChmlCompositionType
KEY ProdCmplncLegalArea I_ChmlComposition ProdCmplncLegalArea
--Access Control: Authorizations Checks
@AccessControl:
{
   authorizationCheck: #NOT_REQUIRED
}

--VDM view type
@VDM.viewType: #CONSUMPTION
@VDM.private: true

define view entity P_AssociatedTrdSecretProc
  --Select data from basic view 'Composition'
  as select from I_ChmlComposition as TradeSecretInProcess
  association [1..1] to P_CChmlCmplConstants as _Constants on _Constants.Constant1 = _Constants.Constant1

{
      --UUID of chemical compliance information
  key TradeSecretInProcess.ChmlCmplncInfoUUID,

      --Composition type
  key TradeSecretInProcess.ChmlCompositionType,

  key TradeSecretInProcess.ProdCmplncLegalArea,

      --UUID of chemical composition released
      TradeSecretInProcess.ChmlCompositionUUID                                   as ChmlCompositionInProcessUUID,

      --Status Released
      TradeSecretInProcess.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
  --Only legal compositions
      TradeSecretInProcess.ChmlCompositionType   = 'TS'
  --Only In Process compositions
  and TradeSecretInProcess.ChmlCompositionStatus = 'IP'