I_ResponsibleUnit

DDL: I_RESPONSIBLEUNIT Type: view BASIC

Responsible Unit

I_ResponsibleUnit is a Basic CDS View that provides data about "Responsible Unit" in SAP S/4HANA. It reads from 1 data source (ehfndc_respunit) and exposes 6 fields. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
ehfndc_respunit ResponsibleUnit from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_ResponsibleUnitText _Text $projection.ResponsibleUnit = _Text.ResponsibleUnit

Annotations (10)

NameValueLevelField
EndUserText.label Responsible Unit view
AbapCatalog.sqlViewName IRESPUN view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.representativeKey ResponsibleUnit view

Fields (6)

KeyFieldSource TableSource FieldDescription
responsible_unitasResponsibleUnit
used_in_pssasIsUsedInProductStewardship
used_in_dgasIsUsedInDangerousGoods
used_in_subasIsUsedInSubstance
authgrpasSpecificationAuthznGroup
_Text _Text
--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
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EHFNDC_RESPUNIT"
],
"ASSOCIATED":
[
"I_RESPONSIBLEUNITTEXT"
],
"BASE":
[],
"VERSION":0
}
}*/