I_ResponsibleUnit
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)
| Source | Alias | Join Type |
|---|---|---|
| ehfndc_respunit | ResponsibleUnit | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ResponsibleUnitText | _Text | $projection.ResponsibleUnit = _Text.ResponsibleUnit |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
}*/
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA