I_WORKCENTERCAPACITYTEXT

CDS View

Capacity Description

I_WORKCENTERCAPACITYTEXT is a CDS View in S/4HANA. Capacity Description. It contains 7 fields. 1 CDS views read from this table.

CDS Views using this table (1)

ViewTypeJoinVDMDescription
R_WorkCenterCapacityTextTP view_entity from TRANSACTIONAL Work Center Capacity Text

Fields (7)

KeyField CDS FieldsUsed in Views
KEY CapacityCategoryAllocation CapacityCategoryAllocation 1
KEY CapacityInternalID CapacityInternalID 1
KEY Language Language 1
KEY WorkCenterInternalID WorkCenterInternalID 1
KEY WorkCenterTypeCode WorkCenterTypeCode 1
CapacityLastChangeDateTime CapacityLastChangeDateTime 1
CapacityText CapacityText 1
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Capacity Description'
@ObjectModel.usageType: { serviceQuality: #C, sizeCategory: #M, dataClass: #MASTER }
@VDM.viewType: #COMPOSITE
define view entity I_WorkCenterCapacityText
  as select from I_CapacityText         as _CapText
    inner join   I_WorkCenterCapacity_2 as _Capacity on _CapText.CapacityInternalID = _Capacity.CapacityInternalID
{
  key _Capacity.WorkCenterInternalID                  as WorkCenterInternalID,
  key _Capacity.WorkCenterTypeCode                    as WorkCenterTypeCode,
  key _Capacity.CapacityCategoryAllocation            as CapacityCategoryAllocation,
  key _CapText.CapacityInternalID                     as CapacityInternalID,
  key _CapText.Language,

      @Semantics.text: true
      _CapText.CapacityText,

      case when _Capacity.CapacityLastChangeDateTime is null then
        cast('20190101120000' as kap_lastchange_datetime)
        else _Capacity.CapacityLastChangeDateTime end as CapacityLastChangeDateTime

}