ESH_ACTIVITYTYPE_BASIS

DDL: ESH_ACTIVITYTYPE_BASIS SQL: ESHACTIVITYTYPEB Type: view Package: ODATA_ACTIVITY_TYPE_V2

Basis view for ESH ActivityType

ESH_ACTIVITYTYPE_BASIS is a CDS View that provides data about "Basis view for ESH ActivityType" in SAP S/4HANA. It reads from 1 data source (I_CostCenterActivityType) and exposes 32 fields with key fields ControllingArea, CostCtrActivityType, ValidityEndDate. It has 5 associations to related views. Part of development package ODATA_ACTIVITY_TYPE_V2.

Data Sources (1)

SourceAliasJoin Type
I_CostCenterActivityType I_CostCenterActivityType from

Associations (5)

CardinalityTargetAliasCondition
[0..1] ESH_N_USER_USER _EnteredByUser $projection.EnteredByUser = _EnteredByUser.bname
[0..1] I_UnitOfMeasure _CostCtrActyTypeOutpQtyUnit $projection.CostCtrActivityTypeOutpQtyUnit = _CostCtrActyTypeOutpQtyUnit.UnitOfMeasure
[0..*] ESH_N_XFELD_3_XFELD _ActivityTypeIsBlockedText $projection.ActivityTypeIsBlocked = _ActivityTypeIsBlockedText.domvalue_l
[0..1] dd07t _CostCenterActivityTypeCatText $projection.CostCtrActivityTypeCategory = _CostCenterActivityTypeCatText.domvalue_l and _CostCenterActivityTypeCatText.domname = 'LATYP'
[1..1] tka01 _ControllingArea $projection.ControllingArea = _ControllingArea.kokrs

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName ESHACTIVITYTYPEB view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
EndUserText.label Basis view for ESH ActivityType view
Metadata.ignorePropagatedAnnotations true view

Fields (32)

KeyFieldSource TableSource FieldDescription
KEY ControllingArea ControllingArea
KEY CostCtrActivityType CostCtrActivityType
KEY ValidityEndDate ValidityEndDate
ValidityStartDate ValidityStartDate
CostCtrActivityTypeName
CostCtrActivityTypeDesc
CostCtrActivityTypeQtyUnit CostCtrActivityTypeQtyUnit
UnitOfMeasureName
CostCtrActivityTypeValidCat CostCtrActivityTypeValidCat
CostCtrActivityTypeCategory CostCtrActivityTypeCategory
CostCtrActivityTypeCatName
AllocationCostElement AllocationCostElement
ChartOfAccounts _ControllingArea ktopl
CreationDate CreationDate
EnteredByUser EnteredByUser
FullName
PriceAllocationMethod PriceAllocationMethod
ActualPriceAllocationMethod ActualPriceAllocationMethod
ActivityTypeIsBlocked ActivityTypeIsBlocked
ActivityTypeIsBlockedName
CostCtrActivityTypeOutpQtyUnit CostCtrActivityTypeOutpQtyUnit
CostCtrActyTypeOutpQtyUnitName
OutputQuantityFactor OutputQuantityFactor
_Text _Text
_ControllingArea _ControllingArea
_CostCenterCategory _CostCenterCategory
_CostCtrActivityTypeCategory _CostCtrActivityTypeCategory
_CostCenterActivityTypeCatText _CostCenterActivityTypeCatText
_UnitOfMeasure _UnitOfMeasure
_ControllingAreaText _ControllingAreaText
_EnteredByUser _EnteredByUser
_ActivityTypeIsBlockedText _ActivityTypeIsBlockedText
@AbapCatalog.sqlViewName: 'ESHACTIVITYTYPEB'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@ObjectModel.usageType.dataClass: #MASTER
@ObjectModel.usageType.serviceQuality: #C
@ObjectModel.usageType.sizeCategory: #M
@EndUserText.label: 'Basis view for ESH ActivityType'
@Metadata.ignorePropagatedAnnotations: true
define view ESH_ACTIVITYTYPE_BASIS
  as select from I_CostCenterActivityType

  association [0..1] to ESH_N_USER_USER     as _EnteredByUser                 on  $projection.EnteredByUser = _EnteredByUser.bname

  association [0..1] to I_UnitOfMeasure     as _CostCtrActyTypeOutpQtyUnit    on  $projection.CostCtrActivityTypeOutpQtyUnit = _CostCtrActyTypeOutpQtyUnit.UnitOfMeasure

  association [0..*] to ESH_N_XFELD_3_XFELD as _ActivityTypeIsBlockedText     on  $projection.ActivityTypeIsBlocked = _ActivityTypeIsBlockedText.domvalue_l

  association [0..1] to dd07t               as _CostCenterActivityTypeCatText on  $projection.CostCtrActivityTypeCategory = _CostCenterActivityTypeCatText.domvalue_l
                                                                              and _CostCenterActivityTypeCatText.domname  = 'LATYP'

  association [1..1] to tka01               as _ControllingArea               on  $projection.ControllingArea = _ControllingArea.kokrs

{
  key ControllingArea,
  key CostCtrActivityType,
  key ValidityEndDate,
      ValidityStartDate,
      _Text[ 1:Language = $session.system_language ].CostCtrActivityTypeName,
      _Text[1:Language = $session.system_language].CostCtrActivityTypeDesc,
      CostCtrActivityTypeQtyUnit,
      _UnitOfMeasure._Text[1:Language = $session.system_language].UnitOfMeasureName,
      CostCtrActivityTypeValidCat,
      CostCtrActivityTypeCategory,
      _CostCenterActivityTypeCatText[1:ddlanguage = $session.system_language].ddtext             as CostCtrActivityTypeCatName,
      AllocationCostElement,
      _ControllingArea.ktopl                                                                     as ChartOfAccounts,
      CreationDate,
      EnteredByUser,
      _EnteredByUser._TO_USER_NAME.name_text                                                     as FullName,

      PriceAllocationMethod,
      ActualPriceAllocationMethod,
      ActivityTypeIsBlocked,
      _ActivityTypeIsBlockedText[ 1: DOMALANGU = $session.system_language ].VALUE_TEXT           as ActivityTypeIsBlockedName,

      CostCtrActivityTypeOutpQtyUnit,
      _CostCtrActyTypeOutpQtyUnit._Text[1:Language = $session.system_language].UnitOfMeasureName as CostCtrActyTypeOutpQtyUnitName,
      OutputQuantityFactor,

      _Text,
      _ControllingArea,
      _CostCenterCategory,
      _CostCtrActivityTypeCategory,
      _CostCenterActivityTypeCatText,
      _UnitOfMeasure,
      _ControllingAreaText,
      _EnteredByUser,
      _ActivityTypeIsBlockedText
}