C_AssetWBSElement

DDL: C_ASSETWBSELEMENT SQL: CASTWBSELEMENT Type: view CONSUMPTION Package: FINS_FAA_MD_BOPF

WBS Element in Asset

C_AssetWBSElement is a Consumption CDS View that provides data about "WBS Element in Asset" in SAP S/4HANA. It reads from 1 data source (I_WBSElementBasicData) and exposes 12 fields with key field WBSElementInternalID. Part of development package FINS_FAA_MD_BOPF.

Data Sources (1)

SourceAliasJoin Type
I_WBSElementBasicData I_WBSElementBasicData from

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CASTWBSELEMENT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label WBS Element in Asset view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
Metadata.ignorePropagatedAnnotations true view
Metadata.allowExtensions false view
ObjectModel.representativeKey WBSElementInternalID view
ObjectModel.dataCategory #VALUE_HELP view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY WBSElementInternalID WBSElementInternalID
WBSElementExternalID WBSElementExternalID
WBSDescription WBSDescription
ControllingArea ControllingArea
ProfitCenter ProfitCenter
CompanyCode CompanyCode
ResponsibleCostCenter ResponsibleCostCenter
Plant Plant
ProjectType ProjectType
FunctionalArea FunctionalArea
ProjectInternalID
_Project _Project
@AbapCatalog.sqlViewName: 'CASTWBSELEMENT'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'WBS Element in Asset'
@VDM.viewType: #CONSUMPTION
//@VDM.viewType: #DERIVATION_FUNCTION

@ClientHandling.algorithm: #SESSION_VARIABLE
@Metadata.ignorePropagatedAnnotations:true
@Metadata.allowExtensions: false

@ObjectModel: {
    representativeKey: 'WBSElementInternalID',
    dataCategory: #VALUE_HELP,
    usageType: {
        serviceQuality: #B,
        sizeCategory : #XL,
        dataClass: #TRANSACTIONAL
    }
}

//Only for asset association usage and support for the WBS element in filter

define view C_AssetWBSElement
  as select from I_WBSElementBasicData
{
      @UI.hidden: true
  key WBSElementInternalID,
      @ObjectModel.text.element: 'WBSDescription'
      @Consumption.filter.hidden: true
      WBSElementExternalID,
      @Consumption.filter.hidden: true
      @Semantics.text: true
      WBSDescription,
      @Consumption.hidden: true
      ControllingArea,
      @Consumption.hidden: true
      ProfitCenter,
      @Consumption.hidden: true
      CompanyCode,
      @Consumption.hidden: true
      ResponsibleCostCenter,
      @Consumption.hidden: true
      Plant,
      @Consumption.hidden: true
      ProjectType,
      @Consumption.hidden: true
      FunctionalArea,
      @Consumption.hidden: true
      cast (ProjectInternalID as ps_s4_proj_pspnr preserving type ) as  ProjectInternalID,
      @Consumption.hidden: true
      _Project
      
}