C_AssetWBSElement
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)
| Source | Alias | Join Type |
|---|---|---|
| I_WBSElementBasicData | I_WBSElementBasicData | from |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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
}
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