C_BalanceSheetValuation
Balance Sheet Valuation Results
C_BalanceSheetValuation is a Consumption CDS View that provides data about "Balance Sheet Valuation Results" in SAP S/4HANA. It reads from 1 data source (I_BalanceSheetValuation) and exposes 123 fields with key fields ValuationPriceCategory, FiscalYear, FiscalPeriod, CurrencyRole, CostEstimate. It has 7 associations to related views. Part of development package ODATA_INV_BAL_SHEET_VAL_MNG.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_BalanceSheetValuation | I_BalanceSheetValuation | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_ProductValuation | _ProductValuation | $projection.Material = _ProductValuation.Product and $projection.ValuationArea = _ProductValuation.ValuationArea and $projection.InventoryValuationType = _ProductValuation.ValuationType |
| [0..*] | I_Matlvaluationclasstext | _Matlvaluationclasstext | $projection.MaterialValuationClass = _Matlvaluationclasstext.MaterialValuationClass |
| [0..*] | I_MaterialPriceControlName | _MaterialPriceControlName | $projection.MaterialPriceControl = _MaterialPriceControlName.MaterialPriceControl |
| [0..*] | C_BalShtValuationObjPgHistory | _BalShtValuationObjPgHistory | $projection.ValuationPriceCategory = _BalShtValuationObjPgHistory.ValuationPriceCategory and $projection.CurrencyRole = _BalShtValuationObjPgHistory.CurrencyRole and $projection.CostEstimate = _BalShtValuationObjPgHistory.CostEstimate |
| [0..*] | C_BalShtValuationObjPgHistory | _BalShtValuationObjPgCategory | $projection.FiscalYear = _BalShtValuationObjPgCategory.FiscalYear and $projection.FiscalPeriod = _BalShtValuationObjPgCategory.FiscalPeriod and $projection.CurrencyRole = _BalShtValuationObjPgCategory.CurrencyRole and $projection.CostEstimate = _BalShtValuationObjPgCategory.CostEstimate |
| [0..*] | C_BalShtValnObjPgAlternative | _BalShtValnObjPgAlternative | $projection.ValuationPriceCategory = _BalShtValnObjPgAlternative.ValuationPriceCategory and $projection.FiscalYear = _BalShtValnObjPgAlternative.FiscalYear and $projection.FiscalPeriod = _BalShtValnObjPgAlternative.FiscalPeriod and $projection.CurrencyRole = _BalShtValnObjPgAlternative.CurrencyRole and $projection.CostEstimate = _BalShtValnObjPgAlternative.CostEstimate |
| [0..*] | C_BalShtValnObjPgAlternative | _BalShtValnObjPgAltChart | $projection.ValuationPriceCategory = _BalShtValnObjPgAltChart.ValuationPriceCategory and $projection.FiscalYear = _BalShtValnObjPgAltChart.FiscalYear and $projection.FiscalPeriod = _BalShtValnObjPgAltChart.FiscalPeriod and $projection.CurrencyRole = _BalShtValnObjPgAltChart.CurrencyRole and $projection.CostEstimate = _BalShtValnObjPgAltChart.CostEstimate and _BalShtValnObjPgAltChart.BalSheetValuationIsCalculated = 'X' |
Annotations (18)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Balance Sheet Valuation Results | view | |
| AbapCatalog.sqlViewName | CBALSHTVAL | view | |
| VDM.viewType | #CONSUMPTION | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Search.searchable | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.auditFilter | #ENABLED | view | |
| ObjectModel.representativeKey | CostEstimate | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| UI.headerInfo.typeName | Inventory Balance Sheet Valuation | view | |
| UI.headerInfo.typeNamePlural | Inventory Balance Sheet Valuations | view | |
| UI.headerInfo.title.type | #STANDARD | view | |
| UI.headerInfo.title.value | Material | view | |
| UI.headerInfo.description.type | #STANDARD | view | |
| UI.headerInfo.description.value | MaterialName | view |
Fields (123)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ValuationPriceCategory | ValuationPriceCategory | ||
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | FiscalPeriod | FiscalPeriod | Tax period | |
| KEY | CurrencyRole | CurrencyRole | Curr./Val. Type | |
| KEY | CostEstimate | CostEstimate | Cost EstimateNo | |
| Material | Material | Vehicle Model | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| FiscalYearPeriod | ||||
| Ledger | Ledger | Ledger | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Plant | Plant | Valuation Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| Segment | Segment | Segment number | ||
| PlantName | _Plant | PlantName | Plant Name | |
| BalanceSheetValuationLevel | BalanceSheetValuationLevel | |||
| DevaluationDeterminationLevel | DevaluationDeterminationLevel | |||
| BalanceSheetValuationProcedure | BalanceSheetValuationProcedure | |||
| AccountingValuationViewName | ||||
| MaterialType | MaterialType | Material Type | ||
| MaterialTypeName | ||||
| MatlAccountingDataAgeInPeriods | MatlAccountingDataAgeInPeriods | |||
| ChartOfAccounts | ChartOfAccounts | Node Class | ||
| GLAccount | GLAccount | General Ledger | ||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| OriginalReferenceDocument | OriginalReferenceDocument | Reference Key | ||
| OriginalReferenceDocumentType | OriginalReferenceDocumentType | |||
| AccountingDocument | AccountingDocument | Journal Entry | ||
| AccountingDocumentPostgStatus | AccountingDocumentPostgStatus | |||
| ReverseDocument | ReverseDocument | Reversed With | ||
| ReverseDocumentFiscalYear | ReverseDocumentFiscalYear | Year | ||
| ValuationQuantityUnit | ValuationQuantityUnit | |||
| Currency | Currency | Valuation Crcy | ||
| MaterialPriceUnitQty | MaterialPriceUnitQty | Price unit | ||
| MaterialName | ||||
| MaterialValuationClass | _ProductValuation | ValuationClass | Valuation Class | |
| ValuationClassDescription | ||||
| MaterialPriceControl | _ProductValuation | InventoryValuationProcedure | Price Control | |
| InventoryPrice | InventoryPrice | Price | ||
| ValuationPriceNumeratorAmount | ValuationPriceNumeratorAmount | |||
| ValuationPriceDenominatorQty | ValuationPriceDenominatorQty | |||
| TotalValuatedStockAmount | ||||
| TotalVltdStockQuantity | TotalVltdStockQuantity | |||
| BalanceSheetValuationPrice | BalanceSheetValuationPrice | |||
| BalSheetValuationTotalAmount | BalSheetValuationTotalAmount | |||
| WgtdConsumptionAverageQuantity | WgtdConsumptionAverageQuantity | |||
| WgtdConsumptionTotalQuantity | WgtdConsumptionTotalQuantity | |||
| WeightedStockAverageQuantity | WeightedStockAverageQuantity | |||
| WeightedReceiptTotalQuantity | WeightedReceiptTotalQuantity | |||
| CoverageRangePeriods | CoverageRangePeriods | |||
| DevaluationPercent | DevaluationPercent | |||
| DevaluationAmount | DevaluationAmount | |||
| ValnPriceCategoryDetermination | ValnPriceCategoryDetermination | |||
| BaseValuationPriceCategory | BaseValuationPriceCategory | |||
| BalanceSheetValuationBasePrice | BalanceSheetValuationBasePrice | |||
| CnsmpnQtyThresholdPercent | CnsmpnQtyThresholdPercent | |||
| ReceiptQtyThresholdPercent | ReceiptQtyThresholdPercent | |||
| DevaluationYearCount | DevaluationYearCount | |||
| FutureNumberOfDevaluationYears | FutureNumberOfDevaluationYears | |||
| InventoryMovementRateInPercent | InventoryMovementRateInPercent | |||
| DevaluationExclusionReason | DevaluationExclusionReason | |||
| CnsmpnMovementRateInPercent | CnsmpnMovementRateInPercent | |||
| ReceiptMovementRateInPercent | ReceiptMovementRateInPercent | |||
| MatlAcctgDataProcgCutoffDate | MatlAcctgDataProcgCutoffDate | |||
| DevaluationKeyFigureFiscalYear | DevaluationKeyFigureFiscalYear | |||
| DevaluationKeyFigFiscalPeriod | DevaluationKeyFigFiscalPeriod | |||
| MovementRateKeyFigIsReleased | MovementRateKeyFigIsReleased | |||
| InventoryAmountIsConsidered | InventoryAmountIsConsidered | |||
| AlternativeValnPriceCategory1 | AlternativeValnPriceCategory1 | |||
| AlternativeValnPriceCat1Amount | AlternativeValnPriceCat1Amount | |||
| AlternativeValnPriceCategory2 | AlternativeValnPriceCategory2 | |||
| AlternativeValnPriceCat2Amount | AlternativeValnPriceCat2Amount | |||
| AlternativeValnPriceCategory3 | AlternativeValnPriceCategory3 | |||
| AlternativeValnPriceCat3Amount | AlternativeValnPriceCat3Amount | |||
| AlternativeValnPriceCategory4 | AlternativeValnPriceCategory4 | |||
| AlternativeValnPriceCat4Amount | AlternativeValnPriceCat4Amount | |||
| AlternativeValnPriceCategory5 | AlternativeValnPriceCategory5 | |||
| AlternativeValnPriceCat5Amount | AlternativeValnPriceCat5Amount | |||
| MinimumValueValuationPriceCat | MinimumValueValuationPriceCat | |||
| MinimumValueValuationPrCatAmt | MinimumValueValuationPrCatAmt | |||
| ApplicationLogObject | ||||
| LogHandle | LogHandle | LogsHandle | ||
| ExecutionRunDateTime | ||||
| CreatedByUser | ||||
| ApplicationLog | ||||
| InventoryGLAccount | InventoryGLAccount | |||
| RevaluationGLAccount | RevaluationGLAccount | |||
| PostingExecutionRunDateTime | ||||
| PostingCreatedByUser | ||||
| PostingApplicationLog | ||||
| PostingApplicationLogHandle | PostingApplicationLogHandle | |||
| _BalShtValuationObjPgHistory | _BalShtValuationObjPgHistory | |||
| _BalShtValuationObjPgCategory | _BalShtValuationObjPgCategory | |||
| _BalShtValnObjPgAltChart | _BalShtValnObjPgAltChart | |||
| _CompanyCode | _CompanyCode | |||
| _CurrencyRoleText | _CurrencyRoleText | |||
| _BalSheetValuationLevelText | _BalSheetValuationLevelText | |||
| _Plant | _Plant | |||
| _Ledger | _Ledger | |||
| _ChartOfAccounts | _ChartOfAccounts | |||
| _LedgerText | _LedgerText | |||
| _Material | _Material | |||
| _MaterialText | _MaterialText | |||
| _MaterialType | _MaterialType | |||
| _MaterialTypeText | _MaterialTypeText | |||
| _Matlvaluationclasstext | _Matlvaluationclasstext | |||
| _MaterialPriceControlName | _MaterialPriceControlName | |||
| _GLAccountText | _GLAccountText | |||
| _DevaluationExclsnReasonText | _DevaluationExclsnReasonText | |||
| _DevaluationDetnLvlTxt | _DevaluationDetnLvlTxt | |||
| _ValuationPriceCategoryText | _ValuationPriceCategoryText | |||
| _BaseValnPriceCategoryText | _BaseValnPriceCategoryText | |||
| _ValnPrCatDeterminationText | _ValnPrCatDeterminationText | |||
| _BalShtValuationProcedureText | _BalShtValuationProcedureText | |||
| _AlternativeValnPriceCat1Text | _AlternativeValnPriceCat1Text | |||
| _AlternativeValnPriceCat2Text | _AlternativeValnPriceCat2Text | |||
| _AlternativeValnPriceCat3Text | _AlternativeValnPriceCat3Text | |||
| _AlternativeValnPriceCat4Text | _AlternativeValnPriceCat4Text | |||
| _AlternativeValnPriceCat5Text | _AlternativeValnPriceCat5Text | |||
| _MinValueValuationPriceCatText | _MinValueValuationPriceCatText | |||
| _BalShtValnObjPgAlternative | _BalShtValnObjPgAlternative | |||
| _AcctgDocumentPostgStatusText | _AcctgDocumentPostgStatusText | |||
| _ReferenceDocumentTypeText | _ReferenceDocumentTypeText |
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_BalanceSheetValuation.
-- 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: CBALSHTVAL
CREATE VIEW C_BalanceSheetValuation AS
SELECT
ValuationPriceCategory,
FiscalYear,
FiscalPeriod,
CurrencyRole,
CostEstimate,
Material,
ValuationArea,
InventoryValuationType,
cast(cast(concat(FiscalYear,FiscalPeriod) as char07 preserving type) as fins_fyearperiod) AS FiscalYearPeriod,
Ledger,
CompanyCode,
Plant,
ProfitCenter,
Segment,
_Plant.PlantName AS PlantName,
BalanceSheetValuationLevel,
DevaluationDeterminationLevel,
BalanceSheetValuationProcedure,
cast( AccountingValuationViewName as fml_umip_valuviewname preserving type ) AS AccountingValuationViewName,
MaterialType,
cast( _MaterialType._Text[1:Language = $session.system_language ].MaterialTypeName as mtbez preserving type ) AS MaterialTypeName,
MatlAccountingDataAgeInPeriods,
ChartOfAccounts,
GLAccount,
ReferenceDocument,
OriginalReferenceDocument,
OriginalReferenceDocumentType,
AccountingDocument,
AccountingDocumentPostgStatus,
ReverseDocument,
ReverseDocumentFiscalYear,
ValuationQuantityUnit,
Currency,
MaterialPriceUnitQty,
cast( _Material._Text[1:Language = $session.system_language ].ProductName as maktx preserving type ) AS MaterialName,
_ProductValuation.ValuationClass AS MaterialValuationClass,
cast( _ProductValuation._ValuationClassText[1:Language = $session.system_language ].ValuationClassDescription as fml_valuation_class_txt preserving type ) AS ValuationClassDescription,
_ProductValuation.InventoryValuationProcedure AS MaterialPriceControl,
InventoryPrice,
ValuationPriceNumeratorAmount,
ValuationPriceDenominatorQty,
cast (TotalValuatedStockAmount as fml_salk3) AS TotalValuatedStockAmount,
TotalVltdStockQuantity,
BalanceSheetValuationPrice,
BalSheetValuationTotalAmount,
WgtdConsumptionAverageQuantity,
WgtdConsumptionTotalQuantity,
WeightedStockAverageQuantity,
WeightedReceiptTotalQuantity,
CoverageRangePeriods,
DevaluationPercent,
DevaluationAmount,
ValnPriceCategoryDetermination,
BaseValuationPriceCategory,
BalanceSheetValuationBasePrice,
CnsmpnQtyThresholdPercent,
ReceiptQtyThresholdPercent,
DevaluationYearCount,
FutureNumberOfDevaluationYears,
InventoryMovementRateInPercent,
DevaluationExclusionReason,
CnsmpnMovementRateInPercent,
ReceiptMovementRateInPercent,
MatlAcctgDataProcgCutoffDate,
DevaluationKeyFigureFiscalYear,
DevaluationKeyFigFiscalPeriod,
MovementRateKeyFigIsReleased,
InventoryAmountIsConsidered,
AlternativeValnPriceCategory1,
AlternativeValnPriceCat1Amount,
AlternativeValnPriceCategory2,
AlternativeValnPriceCat2Amount,
AlternativeValnPriceCategory3,
AlternativeValnPriceCat3Amount,
AlternativeValnPriceCategory4,
AlternativeValnPriceCat4Amount,
AlternativeValnPriceCategory5,
AlternativeValnPriceCat5Amount,
MinimumValueValuationPriceCat,
MinimumValueValuationPrCatAmt,
'MMMY' AS ApplicationLogObject,
LogHandle,
cast( 0 as fbv_created_date_time ) AS ExecutionRunDateTime,
cast( ' ' as fbv_created_by preserving type) AS CreatedByUser,
cast( ' ' as balognr preserving type) AS ApplicationLog,
InventoryGLAccount,
RevaluationGLAccount,
cast( 0 as fbv_posting_created_date_time ) AS PostingExecutionRunDateTime,
cast( ' ' as fbv_posting_created_by preserving type) AS PostingCreatedByUser,
cast( ' ' as fbv_posting_log_number preserving type) AS PostingApplicationLog,
PostingApplicationLogHandle
FROM I_BalanceSheetValuation
LEFT OUTER JOIN I_ProductValuation AS _ProductValuation ON Material = _ProductValuation.Product AND ValuationArea = _ProductValuation.ValuationArea AND InventoryValuationType = _ProductValuation.ValuationType -- association [0..1]
LEFT OUTER JOIN I_Matlvaluationclasstext AS _Matlvaluationclasstext ON MaterialValuationClass = _Matlvaluationclasstext.MaterialValuationClass -- association [0..*]
LEFT OUTER JOIN I_MaterialPriceControlName AS _MaterialPriceControlName ON MaterialPriceControl = _MaterialPriceControlName.MaterialPriceControl -- association [0..*]
LEFT OUTER JOIN C_BalShtValuationObjPgHistory AS _BalShtValuationObjPgHistory ON ValuationPriceCategory = _BalShtValuationObjPgHistory.ValuationPriceCategory AND CurrencyRole = _BalShtValuationObjPgHistory.CurrencyRole AND CostEstimate = _BalShtValuationObjPgHistory.CostEstimate -- association [0..*]
LEFT OUTER JOIN C_BalShtValuationObjPgHistory AS _BalShtValuationObjPgCategory ON FiscalYear = _BalShtValuationObjPgCategory.FiscalYear AND FiscalPeriod = _BalShtValuationObjPgCategory.FiscalPeriod AND CurrencyRole = _BalShtValuationObjPgCategory.CurrencyRole AND CostEstimate = _BalShtValuationObjPgCategory.CostEstimate -- association [0..*]
LEFT OUTER JOIN C_BalShtValnObjPgAlternative AS _BalShtValnObjPgAlternative ON ValuationPriceCategory = _BalShtValnObjPgAlternative.ValuationPriceCategory AND FiscalYear = _BalShtValnObjPgAlternative.FiscalYear AND FiscalPeriod = _BalShtValnObjPgAlternative.FiscalPeriod AND CurrencyRole = _BalShtValnObjPgAlternative.CurrencyRole AND CostEstimate = _BalShtValnObjPgAlternative.CostEstimate -- association [0..*]
LEFT OUTER JOIN C_BalShtValnObjPgAlternative AS _BalShtValnObjPgAltChart ON ValuationPriceCategory = _BalShtValnObjPgAltChart.ValuationPriceCategory AND FiscalYear = _BalShtValnObjPgAltChart.FiscalYear AND FiscalPeriod = _BalShtValnObjPgAltChart.FiscalPeriod AND CurrencyRole = _BalShtValnObjPgAltChart.CurrencyRole AND CostEstimate = _BalShtValnObjPgAltChart.CostEstimate AND _BalShtValnObjPgAltChart.BalSheetValuationIsCalculated = 'X' -- association [0..*]
;
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