I_ChmlCmplncSuplrForRawMatl

DDL: I_CHMLCMPLNCSUPLRFORRAWMATL Type: view COMPOSITE Package: EHFND_BO_CCI

Raw Material Data via Supplier Material Assignment

I_ChmlCmplncSuplrForRawMatl is a Composite CDS View that provides data about "Raw Material Data via Supplier Material Assignment" in SAP S/4HANA. It has 1 association to related views. Part of development package EHFND_BO_CCI.

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_ChmlCmplncInfo _ChmlCmplncInfo ActiveDraftCCI.ActiveChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID

Annotations (10)

NameValueLevelField
EndUserText.label Raw Material Data via Supplier Material Assignment view
AbapCatalog.sqlViewName ICCSMRMATL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view

Fields (8)

KeyFieldSource TableSource FieldDescription
ChmlSuplrMatlUUID
ChmlCmplncInfoUUID
ActiveChmlCmplncInfoUUID
ChmlCmplncInfoIsActiveEntity
ChmlSuplrMatlSuplrSts
_SupplierStatus _SupplierStatus
_ChmlCmplncInfo _ChmlCmplncInfo
_SupplierMaterial SupplierMaterialAssignment _SupplierMaterial
--Label of view
-- e.g. display as filter name in the consumption
@EndUserText.label: 'Raw Material Data via Supplier Material Assignment'

@AbapCatalog:
{
  -- SQL view name (16 characters)
  sqlViewName: 'ICCSMRMATL',

  --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: #CHECK,
  // blocking required for supplier

  personalData.blocking: #REQUIRED
}

--Client Handling of the view
@ClientHandling.algorithm: #SESSION_VARIABLE

--VDM view type
@VDM.viewType: #COMPOSITE


@ObjectModel:
{
  usageType:
  {
    dataClass: #MIXED,
    sizeCategory: #L,
    serviceQuality: #C
  }
}

define view I_ChmlCmplncSuplrForRawMatl
  --Select data from basic view of supplier material assignment
  as select distinct from  I_ChmlCmplncSuplrMatlAssgmt as SupplierMaterialAssignment

  --join data for active or draft chemical compliance information
    left outer to one join I_ChmlCmplncInfoActiveDraft as ActiveDraftCCI on SupplierMaterialAssignment.ChmlCmplncInfoUUID = ActiveDraftCCI.ActiveChmlCmplncInfoUUID

  --Link Chemical Compliance Information => needed for DCL
  association [1..1] to I_ChmlCmplncInfo as _ChmlCmplncInfo on ActiveDraftCCI.ActiveChmlCmplncInfoUUID = _ChmlCmplncInfo.ChmlCmplncInfoUUID
{
      --UUID of Supplier Material
  key SupplierMaterialAssignment.ChmlSuplrMatlUUID,

      --Active or Draft UUID of Chemical Compliance Information
  key ActiveDraftCCI.ChmlCmplncInfoUUID,

      --Active UUID of Chemical Compliance Information
      ActiveDraftCCI.ActiveChmlCmplncInfoUUID,

      --Indicator: Is Active Entity
      ActiveDraftCCI.ChmlCmplncInfoIsActiveEntity,

      --Supplier Status
      SupplierMaterialAssignment.ChmlSuplrMatlSuplrSts,
      
      /*Associations*/
      _SupplierStatus,
      _ChmlCmplncInfo,
      // needed for DCL

      SupplierMaterialAssignment._SupplierMaterial
}