I_WBSElementBasicData
WBS Element Basic Data
I_WBSElementBasicData (Basic)
Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.
R&D Engineering
I_WBSElementBasicData is a Basic CDS View (Dimension) that provides data about "WBS Element Basic Data" in SAP S/4HANA. It reads from 1 data source (prps) and exposes 60 fields with key field WBSElementInternalID. It has 15 associations to related views.
SAP Help Documentation
| Category | Project |
|---|---|
| Data Category | Dimension |
| Status | Released |
Purpose
This CDS view provides the prerequisites for answering the following business questions: What are relevant master data, status, and dates for selected WBS element(s)? What are the key objects associated with the WBS element? It is enabled for use in SAP S/4HANA cloud.
Structure
Business Objects This view is built on the business object WBSElement . Measures and attributes Some important attributes are WBSElementID and internal ID, including other organizational data such as controlling area, company code, and profit center.
This CDS view provides the prerequisites for answering the following business questions: What are relevant master data, status, and dates for selected WBS element(s)? What are the key objects associated with the WBS element? It is enabled for use in SAP S/4HANA cloud.
Structure
Business Objects This view is built on the business object WBSElement . Measures and attributes Some important attributes are WBSElementID and internal ID, including other organizational data such as controlling area, company code, and profit center.
SAP API Hub
| State | C1 |
|---|---|
| Line of Business | R&D Engineering |
| Application Component | PS-ST |
| Capabilities | Data Source in SQL Select, Data Source for Defining CDS Entities, Association Target for Defining CDS Entities, Analytical Dimension |
| Package | R&D Engineering for SAP S/4HANA Cloud Private Edition |
Documentation
- Analytics with CDS Views — Build Analytics for S/4HANA Cloud Private Edition ABAP CDS views replicated to SAP Cloud Platform
- CDS Views on SAP Business Accelerator Hub — Explore SAP S/4HANA Cloud Private Edition Private Edition CDS Views on SAP Business Accelerator Hub
- Create CDS View as API — Create CDS views in SAP S/4HANA Cloud Private Edition and consume them as APIs
- Custom CDS Views — Access data using a Custom Core Data Service view (Custom CDS view)
- Key User Extensibility Tools — The Key User Extensibility Tools of S/4HANA
- SAP Extensibility Explorer for SAP S/4HANA Cloud Private Edition — Explore SAP S/4HANA Cloud Private Edition Extensibility options by leveraging the sample scenarios from SAP
- SAP S/4HANA Extensibility — SAP S/4HANA Extensibility Tutorial
- VDM View Types — The Virtual Data Model in SAP S/4HANA Cloud Private Edition
- View Browser — Search, browse and tag CDS Views
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| prps | prps | from |
Associations (15)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | prte | _prte | prps.pspnr = _prte.posnr and prps.psphi = _prte.psphi |
| [1..1] | I_ProjectBasicData | _Project | $projection.ProjectInternalID = _Project.ProjectInternalID |
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..1] | I_FunctionalArea | _FunctionalArea | $projection.FunctionalArea = _FunctionalArea.FunctionalArea |
| [0..*] | I_ProfitCenter | _ProfitCenter | $projection.ControllingArea = _ProfitCenter.ControllingArea and $projection.ProfitCenter = _ProfitCenter.ProfitCenter |
| [0..*] | I_CostCenter | _ResponsibleCostCenter | $projection.ControllingArea = _ResponsibleCostCenter.ControllingArea and $projection.ResponsibleCostCenter = _ResponsibleCostCenter.CostCenter |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
| [0..1] | I_FactoryCalendar | _FactoryCalendar | $projection.FactoryCalendar = _FactoryCalendar.FactoryCalendar |
| [0..*] | I_CostCenter | _CostCenter | $projection.ControllingArea = _CostCenter.ControllingArea and $projection.CostCenter = _CostCenter.CostCenter |
| [0..1] | I_Projecttype | _ProjectType | $projection.ProjectType = _ProjectType.ProjectType |
| [0..*] | I_Projecttypetext | _ProjectTypeText | $projection.ProjectType = _ProjectTypeText.ProjectType |
| [0..1] | I_ResultsAnalysisKeyValueHelp | _RaKeyVH | $projection.ResultAnalysisInternalID = _RaKeyVH.ResultAnalysisInternalID ---Extension |
| [1..1] | E_WBSElement_2 | _Extension | $projection.WBSElementInternalID = _Extension.WBSElementInternalID |
| [0..1] | I_ProjectObjectShortText | _WBSElementShortText | _WBSElementShortText.Language = $session.system_language and _WBSElementShortText.ProjectApplicationIdentifier = 'PS' and _WBSElementShortText.ProjectObjectType = 'PR' and $projection.WBSElementObject = _WBSElementShortText.ProjectObjectNode |
Annotations (15)
| Name | Value | Level | Field |
|---|---|---|---|
| Analytics.dataCategory | #DIMENSION | view | |
| Analytics.technicalName | IWBSELMNTBSCDATA | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | WBS Element Basic Data | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| Metadata.allowExtensions | true | view | |
| ObjectModel.representativeKey | WBSElementInternalID | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AbapCatalog.extensibility.extensible | true | view | |
| AbapCatalog.extensibility.elementSuffix | wbs | view | |
| AbapCatalog.extensibility.quota.maximumFields | 1000 | view | |
| AbapCatalog.extensibility.quota.maximumBytes | 1000 | view |
Fields (60)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WBSElementInternalID | WBS Element | ||
| WBSElementExternalID | prps | posid_edit | Work Breakdown Structure Element (WBS Element) Edited | |
| WBSElement | prps | posid | Work Breakdown Structure Element (WBS Element) | |
| WBSElementShortID | prps | poski | WBS element short identification | |
| WBSDescription | Work Breakdown Structure Element Name | |||
| CompanyCode | Company Code | |||
| ControllingArea | Controlling Area | |||
| FunctionalArea | Functional Area | |||
| ProfitCenter | prps | prctr | Profit Centers | |
| ResponsibleCostCenter | Responsible Cost Center | |||
| Plant | prps | werks | Receiving Plant | |
| FactoryCalendar | Calendar | |||
| CostingSheet | prps | kalsm | Search Proced. | |
| CostCenter | Cost center to which costs are actually posted | |||
| ProjectInternalID | Current number of the appropriate project | |||
| WBSElementIsBillingElement | Indicator: Billing element | |||
| WBSElementObject | prps | objnr | Val. Obj. No. | |
| InvestmentProfile | prps | imprf | Investment Measure Profile | |
| WBSIsStatisticalWBSElement | prps | xstat | Statistical WBS element | |
| WBSIsAccountAssignmentElement | Indicator: Account assignment element | |||
| ProjectType | prps | prart | Project Type | |
| JointVenture | prps | vname | Volatility Name | |
| JointVentureCostRecoveryCode | prps | recid | Statistical Key Figure Item | |
| JointVentureEquityType | prps | etype | RDS Entity Type | |
| JntVntrProjectType | prps | otype | Joint Venture Object Type | |
| JntIntrstBillgClass | prps | jibcl | JIB/JIBE Class | |
| JntIntrstBillgSubClass | prps | jibsa | JIB/JIBE Subclass A | |
| Location | prps | stort | Location | |
| ResultAnalysisInternalID | prps | abgsl | Results analysis key | |
| Fund | prps | rfund | Fund | |
| GrantID | prps | rgrant_nbr | Grant | |
| FundIsFixAssigned | prps | fund_fix_assign | Indicator for Fund with Fixed Assignment | |
| FunctionalAreaIsFixAssigned | prps | func_area_fix_assigned | Indicator for Functional Area with Fixed Assignment | |
| GrantIsFixAssigned | prps | grant_fix_assigned | Indicator for Grant with Fixed Assignment | |
| SponsoredProgram | prps | sponsoredprog | Sponsored Program | |
| TaxJurisdiction | prps | txjcd | Tax Jurisdiction | |
| FunctionalLocation | prps | tplnr | Functional Location | |
| CreatedByUser | prps | ernam | Name of Person Responsible for Creating the Object | |
| CreationDate | prps | erdat | Record Created On | |
| LastChangedByUser | prps | aenam | Name of Person Who Changed Object | |
| LastChangeDate | prps | aedat | Date on which object was last changed | |
| RespCostCenterControllingArea | prps | fkokr | Responsible Cost Center Controlling Area | |
| LeadingSalesOrderItem | prps | posnr_prps | Sales Document Item | |
| LeadingSalesOrder | prps | vbeln_prps | Sales Document | |
| EntProjectSettlementElement | prps | settlementelement | Enterprise Project Settlement Element | |
| EntProjIsSettlmtRuleInherited | prps | settlmtruleinherited | Enterprise Project Settlement Rule Inherited | |
| ResultAnalysisDescription | _RaKeyVH | ResultAnalysisDescription | Result Analysis Description | |
| _Project | _Project | |||
| _CompanyCode | _CompanyCode | |||
| _ControllingArea | _ControllingArea | |||
| _FunctionalArea | _FunctionalArea | |||
| _ProfitCenter | _ProfitCenter | |||
| _ResponsibleCostCenter | _ResponsibleCostCenter | |||
| _Plant | _Plant | |||
| _FactoryCalendar | _FactoryCalendar | |||
| _CostCenter | _CostCenter | |||
| _ProjectType | _ProjectType | |||
| _ProjectTypeText | _ProjectTypeText | |||
| _RaKeyVH | _RaKeyVH | |||
| _WBSElementShortText | _WBSElementShortText |
Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.
-- Derived SQL interpretation of CDS view I_WBSElementBasicData.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
CREATE VIEW I_WBSElementBasicData AS
SELECT
cast ( prps.pspnr as ps_s4_pspnr preserving type ) AS WBSElementInternalID,
prps.posid_edit AS WBSElementExternalID,
prps.posid AS WBSElement,
prps.poski AS WBSElementShortID,
cast ( prps.post1 as ps_s4_post1 preserving type ) AS WBSDescription,
cast ( prps.pbukr as bukrs preserving type ) AS CompanyCode,
cast ( prps.pkokr as ps_s4_kokrs preserving type ) AS ControllingArea,
cast ( prps.func_area as fkber preserving type ) AS FunctionalArea,
prps.prctr AS ProfitCenter,
cast ( prps.fkstl as ps_s4_fkstl preserving type ) AS ResponsibleCostCenter,
prps.werks AS Plant,
cast ( prps.fabkl as stkal preserving type ) AS FactoryCalendar,
prps.kalsm AS CostingSheet,
cast ( prps.kostl as ps_kostl preserving type ) AS CostCenter,
cast ( prps.psphi as ps_psphi preserving type ) AS ProjectInternalID,
cast ( prps.fakkz as ps_fakkz preserving type ) AS WBSElementIsBillingElement,
prps.objnr AS WBSElementObject,
prps.imprf AS InvestmentProfile,
prps.xstat AS WBSIsStatisticalWBSElement,
cast ( prps.belkz as ps_s4_belkz preserving type ) AS WBSIsAccountAssignmentElement,
prps.prart AS ProjectType,
prps.vname AS JointVenture,
prps.recid AS JointVentureCostRecoveryCode,
prps.etype AS JointVentureEquityType,
prps.otype AS JntVntrProjectType,
prps.jibcl AS JntIntrstBillgClass,
prps.jibsa AS JntIntrstBillgSubClass,
prps.stort AS Location,
prps.abgsl AS ResultAnalysisInternalID,
prps.rfund AS Fund,
prps.rgrant_nbr AS GrantID,
prps.fund_fix_assign AS FundIsFixAssigned,
prps.func_area_fix_assigned AS FunctionalAreaIsFixAssigned,
prps.grant_fix_assigned AS GrantIsFixAssigned,
prps.sponsoredprog AS SponsoredProgram,
prps.txjcd AS TaxJurisdiction,
prps.tplnr AS FunctionalLocation,
prps.ernam AS CreatedByUser,
prps.erdat AS CreationDate,
prps.aenam AS LastChangedByUser,
prps.aedat AS LastChangeDate,
prps.fkokr AS RespCostCenterControllingArea,
prps.posnr_prps AS LeadingSalesOrderItem,
prps.vbeln_prps AS LeadingSalesOrder,
prps.settlementelement AS EntProjectSettlementElement,
prps.settlmtruleinherited AS EntProjIsSettlmtRuleInherited,
_RaKeyVH.ResultAnalysisDescription AS ResultAnalysisDescription
FROM prps
LEFT OUTER JOIN prte AS _prte ON prps.pspnr = _prte.posnr AND prps.psphi = _prte.psphi -- association [0..1]
LEFT OUTER JOIN I_ProjectBasicData AS _Project ON ProjectInternalID = _Project.ProjectInternalID -- association [1..1]
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ControllingArea = _ProfitCenter.ControllingArea AND ProfitCenter = _ProfitCenter.ProfitCenter -- association [0..*]
LEFT OUTER JOIN I_CostCenter AS _ResponsibleCostCenter ON ControllingArea = _ResponsibleCostCenter.ControllingArea AND ResponsibleCostCenter = _ResponsibleCostCenter.CostCenter -- association [0..*]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant -- association [0..1]
LEFT OUTER JOIN I_FactoryCalendar AS _FactoryCalendar ON FactoryCalendar = _FactoryCalendar.FactoryCalendar -- association [0..1]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON ControllingArea = _CostCenter.ControllingArea AND CostCenter = _CostCenter.CostCenter -- association [0..*]
LEFT OUTER JOIN I_Projecttype AS _ProjectType ON ProjectType = _ProjectType.ProjectType -- association [0..1]
LEFT OUTER JOIN I_Projecttypetext AS _ProjectTypeText ON ProjectType = _ProjectTypeText.ProjectType -- association [0..*]
LEFT OUTER JOIN I_ResultsAnalysisKeyValueHelp AS _RaKeyVH ON ResultAnalysisInternalID = _RaKeyVH.ResultAnalysisInternalID -- association [0..1]
LEFT OUTER JOIN E_WBSElement_2 AS _Extension ON WBSElementInternalID = _Extension.WBSElementInternalID -- association [1..1]
LEFT OUTER JOIN I_ProjectObjectShortText AS _WBSElementShortText ON _WBSElementShortText.Language = $session.system_language AND _WBSElementShortText.ProjectApplicationIdentifier = 'PS' AND _WBSElementShortText.ProjectObjectType = 'PR' AND WBSElementObject = _WBSElementShortText.ProjectObjectNode -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA