I_RESPONSIBLEUNIT

CDS View

Responsible Unit

I_RESPONSIBLEUNIT is a CDS View in S/4HANA. Responsible Unit. 5 CDS views read from this table.

CDS Views using this table (5)

ViewTypeJoinVDMDescription
C_ChmlCmplncRespUnitProductVH view from CONSUMPTION Value Help for Responsible Units for Unpackaged Product
C_RawChmlCmplncRespUnitProdVH view from CONSUMPTION Value Help for Responsible Units for Raw Materials
I_RespUnitDngrsGdsVH view from COMPOSITE Value Help for Responsible Units Used in Dangerous Goods
I_RespUnitProdStewardshipVH view from COMPOSITE Value Help for Responsible Units Used in Product Stewardship
I_RespUnitSubstanceVH view from COMPOSITE Value Help for Responsible Units Used in Substance
--Label of view
@EndUserText.label: 'Responsible Unit'

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

  --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 // as view only reads customizing values

}

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

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

@ObjectModel:
{
  --Performance Annotations
  usageType:
  {
    dataClass: #CUSTOMIZING,
    sizeCategory: #S,
    serviceQuality: #B
  },
  representativeKey: 'ResponsibleUnit'
}

define view I_ResponsibleUnit
  --Select data from customizing table 'Responsible Unit'
  as select from ehfndc_respunit as ResponsibleUnit

  --Text association
  association [0..*] to I_ResponsibleUnitText as _Text on $projection.ResponsibleUnit = _Text.ResponsibleUnit
{
      --Responsible Unit
      @ObjectModel.text.association: '_Text'
  key ResponsibleUnit.responsible_unit as ResponsibleUnit,

      --Indicator: Responsible Unit is used in Product Stewardhip
      ResponsibleUnit.used_in_pss      as IsUsedInProductStewardship,

      --Indicator: Responsible Unit is used in Dangerous Goods
      ResponsibleUnit.used_in_dg       as IsUsedInDangerousGoods,

      --Indicator: Responsible Unit is used in Substance
      ResponsibleUnit.used_in_sub      as IsUsedInSubstance,

      --Authorization Group of Specification
      ResponsibleUnit.authgrp          as SpecificationAuthznGroup,
                                       
      /*Association*/
      _Text
}