I_CostingType

DDL: I_COSTINGTYPE Type: view BASIC

Costing Type

I_CostingType (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Private Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_CostingType is a Basic CDS View (Dimension) that provides data about "Costing Type" in SAP S/4HANA. It reads from 1 data source (tck01) and exposes 7 fields with key field CostingType. It has 3 associations to related views.

SAP Help Documentation

CategoryCDS Views for Product Cost Controlling
Data CategoryDIMENSION
Purpose
This CDS view provides information about settings for the Costing Type in Product Cost Planning. 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 .

Structure
Parameters Further Important Fields Important fields in I_CostingType include the following: Field Name Description Comment CostingType Costing type in product costing Defines the purpose of a product cost estimate. ControllingValuationType Valuation view CostingReferenceObject Reference object in product costing Object for which the cost estimate is carried out (such as a material, sales order/quotation, etc.) Ledger Ledger in General Ledger Accounting Determines from which ledger prices for raw materials and activities are used during costing. If the ledger is initial, the leading ledger is used. Important fields in I_CostingTypeText include the following: Field Name Description CostingType Costing type Language Language key CostingTypeName Description of costing type

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessAccounting and Financial Close
Application ComponentCO-PC-PCP
CapabilitiesAnalytical Dimension, Association Target for Defining CDS Entities, Data Source for Search
PackageAccounting and Financial Close for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view provides information about settings for the Costing Type in Product Cost Planning. </p> <p>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.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
tck01 tck01 from

Associations (3)

CardinalityTargetAliasCondition
[0..*] I_CostingTypeText _CostingTypeText $projection.CostingType = _CostingTypeText.CostingType
[0..1] I_Ledger _Ledger $projection.Ledger = _Ledger.Ledger
[0..*] I_LedgerText _LedgerText $projection.Ledger = _LedgerText.Ledger

Annotations (17)

NameValueLevelField
AbapCatalog.sqlViewName IFICOSTINGTYPE view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #DIMENSION view
Analytics.internalName #LOCAL view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.representativeKey CostingType view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
Metadata.ignorePropagatedAnnotations true view
Search.searchable true view
EndUserText.label Costing Type view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY CostingType kalka Costing Type
ControllingValuationType valuation Valuation View (for Transfer Prices)
CostingReferenceObject bzobj Reference Object
Ledger rldnr Ledger in General Ledger Accounting
_CostingTypeText _CostingTypeText
_Ledger _Ledger
_LedgerText _LedgerText

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_CostingType.
-- 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_CostingType AS
SELECT
  kalka AS CostingType,
  valuation AS ControllingValuationType,
  bzobj AS CostingReferenceObject,
  rldnr AS Ledger
FROM tck01
LEFT OUTER JOIN I_CostingTypeText AS _CostingTypeText ON CostingType = _CostingTypeText.CostingType  -- association [0..*]
LEFT OUTER JOIN I_Ledger AS _Ledger ON Ledger = _Ledger.Ledger  -- association [0..1]
LEFT OUTER JOIN I_LedgerText AS _LedgerText ON Ledger = _LedgerText.Ledger  -- association [0..*]
;