I_CostBreakdownStructure

DDL: I_COSTBREAKDOWNSTRUCTURE Type: view_entity BASIC

Cost Breakdown Structure

I_CostBreakdownStructure is a Basic CDS View that provides data about "Cost Breakdown Structure" in SAP S/4HANA. It reads from 1 data source (P_FUCBC_CC_STRUC) and exposes 3 fields with key field CostBreakdownStructure. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Inventory Accounting
Data CategoryDimension
Purpose
This CDS view is designed to provide a structured representation of cost breakdowns within an organization. It serves as a dimension in analytical scenarios, allowing users to analyze and categorize costs based on predefined structures and types. The view is primarily used for customizing purposes and supports various capabilities such as analytical dimension modeling and data sourcing. This CDS view provides the data to answer the following business questions: What are the different cost breakdown structures available within the organization? What are the associated types of a breakdown structure (for example, production cost breakdown or origin cost breakdown)? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description CostBreakdownStructure Cost breakdown structure CostBreakdownType Cost breakdown type

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
P_FUCBC_CC_STRUC P_FUCBC_CC_STRUC from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CostBreakdownStructureText _Text $projection.CostBreakdownStructure = _Text.CostBreakdownStructure

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Cost Breakdown Structure view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.representativeKey CostBreakdownStructure view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #BASIC view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CostBreakdownStructure CostBreakdownStructure Cost Comp. Structure
CostBreakdownType CostBreakdownType
_Text _Text

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_CostBreakdownStructure.
-- 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_CostBreakdownStructure AS
SELECT
  CostBreakdownStructure,
  CostBreakdownType
FROM P_FUCBC_CC_STRUC
LEFT OUTER JOIN I_CostBreakdownStructureText AS _Text ON CostBreakdownStructure = _Text.CostBreakdownStructure  -- association [0..*]
;