C_WBSElementBasicInfo
WBS Element Basic Information
C_WBSElementBasicInfo is a Consumption CDS View that provides data about "WBS Element Basic Information" in SAP S/4HANA. It reads from 1 data source (I_WBSElementWithVersion) and exposes 56 fields with key fields WBSElement, Version. It has 4 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_WBSElementWithVersion | WBSElement | from |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | C_ProjectStsObjActiveSts | _Status | _Status.StatusObject = $projection.WBSElementObject |
| [0..1] | I_ProjectResponsiblePerson | _ResponsiblePerson | $projection.ResponsiblePerson = _ResponsiblePerson.ResponsiblePerson |
| [0..1] | I_ProjectApplicant | _ProjectApplicant | $projection.ApplicantCode = _ProjectApplicant.ApplicantCode |
| [0..1] | I_UserAccByObjBsdAuthzn | _UsrByObjBsdAuthzn | $projection.WBSElementObject = _UsrByObjBsdAuthzn.ProjectObject and _UsrByObjBsdAuthzn.ObjectBasedAuthorizationUser = $session.user and _UsrByObjBsdAuthzn.AuthorizationTypeValue > 1 |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CWBSBSCINFO | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #BLOCKED_DATA_EXCLUDED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| EndUserText.label | WBS Element Basic Information | view |
Fields (56)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WBSElement | I_WBSElementWithVersion | WBSElementWithCodingMask | |
| KEY | Version | I_WBSElementWithVersion | Version | XML Vers. |
| WBSElementWithCodingMask | I_WBSElementWithVersion | WBSElementWithCodingMask | ||
| WBSElementObject | I_WBSElementWithVersion | WBSElementObject | Object number | |
| WBSElementInternalID | I_WBSElementWithVersion | WBSElementInternalID | WBS Internal ID | |
| ProjectInternalID | I_WBSElementWithVersion | ProjectInternalID | Project Def. | |
| Project | I_WBSElementWithVersion | Project | WBS Element | |
| IsMarkedForDeletion | I_WBSElementWithVersion | IsMarkedForDeletion | Purch.org. data | |
| WBSDescriptionendasWBSDescription | WBS Element Name | |||
| CompanyCode | I_WBSElementWithVersion | CompanyCode | Receiver Company Code | |
| CompanyCodeName | ||||
| ResponsiblePerson | I_WBSElementWithVersion | ResponsiblePerson | Person Responsible Number | |
| ResponsiblePersonName | I_WBSElementWithVersion | ResponsiblePersonName | User | |
| BasicStartDate | I_WBSElementWithVersion | BasicStartDate | ||
| BasicEndDate | I_WBSElementWithVersion | BasicEndDate | ||
| WBSElementHierarchyLevel | I_WBSElementWithVersion | WBSElementHierarchyLevel | ||
| ApplicantCode | I_WBSElementWithVersion | ApplicantCode | ||
| ApplicantName | I_WBSElementWithVersion | ApplicantName | ||
| ProjectType | I_WBSElementWithVersion | ProjectType | Project Type | |
| ProjectTypeName | ||||
| PriorityCode | I_WBSElementWithVersion | PriorityCode | Priority | |
| PriorityCodeName | ||||
| ControllingObjectClass | I_WBSElementWithVersion | ControllingObjectClass | Object Class | |
| ControllingObjectClassName | ||||
| ControllingArea | I_WBSElementWithVersion | ControllingArea | Controlling Area | |
| ControllingAreaName | ||||
| BusinessArea | I_WBSElementWithVersion | BusinessArea | Business Area | |
| BusinessAreaName | ||||
| ProfitCenter | I_WBSElementWithVersion | ProfitCenter | Profit Center | |
| ProfitCenterName | ||||
| ResponsibleCostCenter | I_WBSElementWithVersion | ResponsibleCostCenter | Responsible Cost Center | |
| RequestingCostCenter | I_WBSElementWithVersion | RequestingCostCenter | Req.cost center | |
| RespCostCenterControllingArea | I_WBSElementWithVersion | RespCostCenterControllingArea | ||
| Plant | I_WBSElementWithVersion | Plant | Valuation Area | |
| PlantName | ||||
| ActualStartDate | I_WBSElementWithVersion | ActualStartDate | Actual Start | |
| ActualEndDate | I_WBSElementWithVersion | ActualEndDate | Actual Finish | |
| SchedldBasicEarliestStartDate | I_WBSElementWithVersion | SchedldBasicEarliestStartDate | ||
| SchedldBasicEarliestEndDate | I_WBSElementWithVersion | SchedldBasicEarliestEndDate | ||
| SchedldBasicLatestStartDate | I_WBSElementWithVersion | SchedldBasicLatestStartDate | ||
| ScheduledBasicLatestEndDate | I_WBSElementWithVersion | ScheduledBasicLatestEndDate | ||
| WBSIsAccountAssignmentElement | I_WBSElementWithVersion | WBSIsAccountAssignmentElement | ||
| WBSElementIsPlanningElement | I_WBSElementWithVersion | WBSElementIsPlanningElement | ||
| WBSElementIsBillingElement | I_WBSElementWithVersion | WBSElementIsBillingElement | Billing elem. | |
| ResultAnalysisInternalID | I_WBSElementWithVersion | ResultAnalysisInternalID | Results Analysis Key | |
| CostingSheet | I_WBSElementWithVersion | CostingSheet | Costing Sheet | |
| OverheadCode | I_WBSElementWithVersion | OverheadCode | Overhead Key | |
| CreatedByUser | I_WBSElementWithVersion | CreatedByUser | User Name | |
| CreationDate | I_WBSElementWithVersion | CreationDate | Time Stamp | |
| LastChangedByUser | I_WBSElementWithVersion | LastChangedByUser | User Name | |
| LastChangeDate | I_WBSElementWithVersion | LastChangeDate | Time Stamp | |
| _Status | _Status | |||
| _ResponsiblePerson | _ResponsiblePerson | |||
| _ProjectApplicant | _ProjectApplicant | |||
| _WBSElementShortText | I_WBSElementWithVersion | _WBSElementShortText | ||
| ObjBasedAuthorizationIsActive | _Project | ObjBasedAuthorizationIsActive |
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 C_WBSElementBasicInfo.
-- 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.
-- SQL view name: CWBSBSCINFO
CREATE VIEW C_WBSElementBasicInfo AS
SELECT
WBSElement.WBSElementWithCodingMask AS WBSElement,
WBSElement.Version AS Version,
WBSElement.WBSElementWithCodingMask AS WBSElementWithCodingMask,
WBSElement.WBSElementObject AS WBSElementObject,
WBSElement.WBSElementInternalID AS WBSElementInternalID,
WBSElement.ProjectInternalID AS ProjectInternalID,
WBSElement.Project AS Project,
WBSElement.IsMarkedForDeletion AS IsMarkedForDeletion,
case when WBSElement._WBSElementShortText.LanguageBasedShortText is not initial then WBSElement._WBSElementShortText.LanguageBasedShortText else WBSElement.WBSDescription end as WBSDescription AS WBSDescriptionendasWBSDescription,
WBSElement.CompanyCode AS CompanyCode,
cast( WBSElement._CompanyCode.CompanyCodeName as ps_s4_butxt preserving type ) AS CompanyCodeName,
WBSElement.ResponsiblePerson AS ResponsiblePerson,
WBSElement.ResponsiblePersonName AS ResponsiblePersonName,
WBSElement.BasicStartDate AS BasicStartDate,
WBSElement.BasicEndDate AS BasicEndDate,
WBSElement.WBSElementHierarchyLevel AS WBSElementHierarchyLevel,
WBSElement.ApplicantCode AS ApplicantCode,
WBSElement.ApplicantName AS ApplicantName,
WBSElement.ProjectType AS ProjectType,
cast( WBSElement._ProjectType._Text[1: Language = $session.system_language ].ProjectTypeName as ps_s4_pratx preserving type ) AS ProjectTypeName,
WBSElement.PriorityCode AS PriorityCode,
cast( WBSElement._PriorityCode._Text[1: Language = $session.system_language ].PriorityCodeName as ps_s4_priotext preserving type ) AS PriorityCodeName,
WBSElement.ControllingObjectClass AS ControllingObjectClass,
cast( WBSElement._ControllingObjectClass._Text[1: Language = $session.system_language ].ControllingObjectClassName as ps_s4_scope_cvtext ) AS ControllingObjectClassName,
WBSElement.ControllingArea AS ControllingArea,
cast( WBSElement._ControllingArea.ControllingAreaName as ps_s4_bezei preserving type ) AS ControllingAreaName,
WBSElement.BusinessArea AS BusinessArea,
cast( WBSElement._BusinessArea._Text[1: Language = $session.system_language ].BusinessAreaName as fis_gtext preserving type) AS BusinessAreaName,
WBSElement.ProfitCenter AS ProfitCenter,
WBSElement._ProfitCenter[1: ValidityEndDate >= $session.system_date and ValidityStartDate <= $session.system_date ]._Text[1: Language = $session.system_language ].ProfitCenterName AS ProfitCenterName,
WBSElement.ResponsibleCostCenter AS ResponsibleCostCenter,
WBSElement.RequestingCostCenter AS RequestingCostCenter,
WBSElement.RespCostCenterControllingArea AS RespCostCenterControllingArea,
WBSElement.Plant AS Plant,
WBSElement._Plant.PlantName AS PlantName,
WBSElement.ActualStartDate AS ActualStartDate,
WBSElement.ActualEndDate AS ActualEndDate,
WBSElement.SchedldBasicEarliestStartDate AS SchedldBasicEarliestStartDate,
WBSElement.SchedldBasicEarliestEndDate AS SchedldBasicEarliestEndDate,
WBSElement.SchedldBasicLatestStartDate AS SchedldBasicLatestStartDate,
WBSElement.ScheduledBasicLatestEndDate AS ScheduledBasicLatestEndDate,
WBSElement.WBSIsAccountAssignmentElement AS WBSIsAccountAssignmentElement,
WBSElement.WBSElementIsPlanningElement AS WBSElementIsPlanningElement,
WBSElement.WBSElementIsBillingElement AS WBSElementIsBillingElement,
WBSElement.ResultAnalysisInternalID AS ResultAnalysisInternalID,
WBSElement.CostingSheet AS CostingSheet,
WBSElement.OverheadCode AS OverheadCode,
WBSElement.CreatedByUser AS CreatedByUser,
WBSElement.CreationDate AS CreationDate,
WBSElement.LastChangedByUser AS LastChangedByUser,
WBSElement.LastChangeDate AS LastChangeDate,
WBSElement._WBSElementShortText AS _WBSElementShortText,
_Project.ObjBasedAuthorizationIsActive AS ObjBasedAuthorizationIsActive
FROM I_WBSElementWithVersion AS WBSElement
LEFT OUTER JOIN C_ProjectStsObjActiveSts AS _Status ON _Status.StatusObject = WBSElementObject -- association [0..*]
LEFT OUTER JOIN I_ProjectResponsiblePerson AS _ResponsiblePerson ON ResponsiblePerson = _ResponsiblePerson.ResponsiblePerson -- association [0..1]
LEFT OUTER JOIN I_ProjectApplicant AS _ProjectApplicant ON ApplicantCode = _ProjectApplicant.ApplicantCode -- association [0..1]
LEFT OUTER JOIN I_UserAccByObjBsdAuthzn AS _UsrByObjBsdAuthzn ON WBSElementObject = _UsrByObjBsdAuthzn.ProjectObject AND _UsrByObjBsdAuthzn.ObjectBasedAuthorizationUser = $session.user AND _UsrByObjBsdAuthzn.AuthorizationTypeValue > 1 -- 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