P_BalanceSheetValuation
Balance Sheet Valuation Results
P_BalanceSheetValuation is a Basic CDS View that provides data about "Balance Sheet Valuation Results" in SAP S/4HANA. It reads from 1 data source (P_FBV_RESULT) and exposes 76 fields with key fields ValuationPriceCategory, FiscalYear, FiscalPeriod, CurrencyRole, CostEstimate. It has 1 association to related views. Part of development package ODATA_INV_BAL_SHEET_VAL_MNG.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_FBV_RESULT | P_FBV_RESULT | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PBALSHTVAL | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| Search.searchable | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | CostEstimate | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (76)
| 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 | |
| Ledger | Ledger | Ledger | ||
| Material | Material | Vehicle Model | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| InventoryValuationType | InventoryValuationType | Valuation Type | ||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| Plant | Plant | Valuation Area | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| Segment | Segment | Segment number | ||
| BalanceSheetValuationLevel | BalanceSheetValuationLevel | Valuation Level | ||
| DevaluationDeterminationLevel | DevaluationDeterminationLevel | Deval. Level Code | ||
| BalanceSheetValuationProcedure | BalanceSheetValuationProcedure | Procedure ID | ||
| AccountingValuationView | AccountingValuationView | Valuation Views | ||
| AccountingValuationViewName | vt | name | Zone name | |
| MatlAccountingDataAgeInPeriods | MatlAccountingDataAgeInPeriods | Material Acct. Age | ||
| MaterialType | MaterialType | Material Type | ||
| ChartOfAccounts | _CompanyCode | ChartOfAccounts | Node Class | |
| GLAccount | GLAccount | General Ledger | ||
| OriginalReferenceDocument | OriginalReferenceDocument | Reference Key | ||
| ReferenceDocument | ReferenceDocument | Reference Document | ||
| OriginalReferenceDocumentType | OriginalReferenceDocumentType | |||
| AccountingDocument | AccountingDocument | Journal Entry | ||
| ReverseDocument | ReverseDocument | Reversed With | ||
| ReverseDocumentFiscalYear | ReverseDocumentFiscalYear | Year | ||
| AccountingDocumentPostgStatus | AccountingDocumentPostgStatus | Posting State | ||
| ValuationQuantityUnit | ValuationQuantityUnit | Valuation Unit | ||
| Currency | Currency | Valuation Crcy | ||
| MaterialPriceUnitQty | MaterialPriceUnitQty | Price unit | ||
| InventoryPrice | InventoryPrice | Price | ||
| ValuationPriceNumeratorAmount | ValuationPriceNumeratorAmount | Price Value | ||
| ValuationPriceDenominatorQty | ValuationPriceDenominatorQty | Price Quantity | ||
| TotalValuatedStockAmount | TotalValuatedStockAmount | Total Value | ||
| TotalVltdStockQuantity | TotalVltdStockQuantity | Valuated stock | ||
| WgtdConsumptionTotalQuantity | WgtdConsumptionTotalQuantity | Consumption Quantity | ||
| WgtdConsumptionAverageQuantity | WgtdConsumptionAverageQuantity | Avg. Wgtd Cnsmpn Qty | ||
| WeightedStockAverageQuantity | WeightedStockAverageQuantity | Avg. Wgtd Stock Qty | ||
| WeightedReceiptTotalQuantity | WeightedReceiptTotalQuantity | Receipt Quantity | ||
| CoverageRangePeriods | CoverageRangePeriods | Range of Coverage | ||
| DevaluationPercent | DevaluationPercent | Devaluation Percent | ||
| ValnPriceCategoryDetermination | ValnPriceCategoryDetermination | Price Selection ID | ||
| BaseValuationPriceCategory | BaseValuationPriceCategory | Sel. Val. Alt. | ||
| BalanceSheetValuationBasePrice | BalanceSheetValuationBasePrice | Base Price | ||
| CnsmpnQtyThresholdPercent | CnsmpnQtyThresholdPercent | Thresh. Consumption | ||
| ReceiptQtyThresholdPercent | ReceiptQtyThresholdPercent | Threshold Receipt | ||
| DevaluationYearCount | DevaluationYearCount | Old Devalution Cnt. | ||
| FutureNumberOfDevaluationYears | FutureNumberOfDevaluationYears | New Devalution Cnt. | ||
| InventoryMovementRateInPercent | InventoryMovementRateInPercent | Movement Rate | ||
| DevaluationExclusionReason | DevaluationExclusionReason | Exclusion Reason | ||
| CnsmpnMovementRateInPercent | CnsmpnMovementRateInPercent | Cons. Movement Rate | ||
| ReceiptMovementRateInPercent | ReceiptMovementRateInPercent | Receipt Mov. Rate | ||
| DevaluationKeyFigureFiscalYear | DevaluationKeyFigureFiscalYear | Deval. Ref. Year | ||
| DevaluationKeyFigFiscalPeriod | DevaluationKeyFigFiscalPeriod | Deval. Ref. Period | ||
| MatlAcctgDataProcgCutoffDate | MatlAcctgDataProcgCutoffDate | Mat. Acc. Excl. Date | ||
| MovementRateKeyFigIsReleased | MovementRateKeyFigIsReleased | Release Deval. Cnt. | ||
| InventoryAmountIsConsidered | InventoryAmountIsConsidered | Consider Inv. Value | ||
| AlternativeValnPriceCategory1 | AlternativeValnPriceCategory1 | 1. Consid. Val. Alt. | ||
| AlternativeValnPriceCat1Amount | AlternativeValnPriceCat1Amount | 1.Consid Val Alt Val | ||
| AlternativeValnPriceCategory2 | AlternativeValnPriceCategory2 | 2. Consid. Val. Alt. | ||
| AlternativeValnPriceCat2Amount | AlternativeValnPriceCat2Amount | 2.Consid Val Alt Val | ||
| AlternativeValnPriceCategory3 | AlternativeValnPriceCategory3 | 3. Consid. Val. Alt. | ||
| AlternativeValnPriceCat3Amount | AlternativeValnPriceCat3Amount | 3.Consid Val Alt Val | ||
| AlternativeValnPriceCategory4 | AlternativeValnPriceCategory4 | 4. Consid. Val. Alt. | ||
| AlternativeValnPriceCat4Amount | AlternativeValnPriceCat4Amount | 4.Consid Val Alt Val | ||
| AlternativeValnPriceCategory5 | AlternativeValnPriceCategory5 | 5. Consid. Val. Alt. | ||
| AlternativeValnPriceCat5Amount | AlternativeValnPriceCat5Amount | 5.Consid Val Alt Val | ||
| MinimumValueValuationPriceCat | MinimumValueValuationPriceCat | Minimum Val. Alt. | ||
| MinimumValueValuationPrCatAmt | MinimumValueValuationPrCatAmt | Minimum Value | ||
| LogHandle | LogHandle | LogsHandle | ||
| DevaluationAmtIsCrcyConverted | DevaluationAmtIsCrcyConverted | Conv Currency Types | ||
| InventoryGLAccount | ||||
| RevaluationGLAccount | ||||
| _CompanyCode | _CompanyCode |
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 P_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: PBALSHTVAL
CREATE VIEW P_BalanceSheetValuation AS
SELECT
ValuationPriceCategory,
FiscalYear,
FiscalPeriod,
CurrencyRole,
CostEstimate,
Ledger,
Material,
ValuationArea,
InventoryValuationType,
CompanyCode,
Plant,
ProfitCenter,
Segment,
BalanceSheetValuationLevel,
DevaluationDeterminationLevel,
BalanceSheetValuationProcedure,
AccountingValuationView,
vt.name AS AccountingValuationViewName,
MatlAccountingDataAgeInPeriods,
MaterialType,
_CompanyCode.ChartOfAccounts AS ChartOfAccounts,
GLAccount,
OriginalReferenceDocument,
ReferenceDocument,
OriginalReferenceDocumentType,
AccountingDocument,
ReverseDocument,
ReverseDocumentFiscalYear,
AccountingDocumentPostgStatus,
ValuationQuantityUnit,
Currency,
MaterialPriceUnitQty,
InventoryPrice,
ValuationPriceNumeratorAmount,
ValuationPriceDenominatorQty,
TotalValuatedStockAmount,
TotalVltdStockQuantity,
WgtdConsumptionTotalQuantity,
WgtdConsumptionAverageQuantity,
WeightedStockAverageQuantity,
WeightedReceiptTotalQuantity,
CoverageRangePeriods,
DevaluationPercent,
ValnPriceCategoryDetermination,
BaseValuationPriceCategory,
BalanceSheetValuationBasePrice,
CnsmpnQtyThresholdPercent,
ReceiptQtyThresholdPercent,
DevaluationYearCount,
FutureNumberOfDevaluationYears,
InventoryMovementRateInPercent,
DevaluationExclusionReason,
CnsmpnMovementRateInPercent,
ReceiptMovementRateInPercent,
DevaluationKeyFigureFiscalYear,
DevaluationKeyFigFiscalPeriod,
MatlAcctgDataProcgCutoffDate,
MovementRateKeyFigIsReleased,
InventoryAmountIsConsidered,
AlternativeValnPriceCategory1,
AlternativeValnPriceCat1Amount,
AlternativeValnPriceCategory2,
AlternativeValnPriceCat2Amount,
AlternativeValnPriceCategory3,
AlternativeValnPriceCat3Amount,
AlternativeValnPriceCategory4,
AlternativeValnPriceCat4Amount,
AlternativeValnPriceCategory5,
AlternativeValnPriceCat5Amount,
MinimumValueValuationPriceCat,
MinimumValueValuationPrCatAmt,
LogHandle,
DevaluationAmtIsCrcyConverted,
cast( my.konto as fbv_inventory_adjmt_account ) AS InventoryGLAccount,
cast( my.offset_acc_h as fbv_revaluation_adjmt_account ) AS RevaluationGLAccount
FROM P_FBV_RESULT
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- 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