ValuationValuationItems

DDL: VALUATIONVALUATIONITEMS Type: view_entity Package: FINS_FI_CLS_VAL_COMMON

Impairment postings

ValuationValuationItems is a CDS View that provides data about "Impairment postings" in SAP S/4HANA. It reads from 2 data sources (VALUATIONACDOCA, VALUATIONWORKLIST) and exposes 130 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. Part of development package FINS_FI_CLS_VAL_COMMON.

Data Sources (2)

SourceAliasJoin Type
VALUATIONACDOCA acdoca from
VALUATIONWORKLIST wl inner

Parameters (1)

NameTypeDefault
p_fiscal_year_period fiscalyearperiod

Annotations (4)

NameValueLevelField
AccessControl.authorizationCheck #NOT_ALLOWED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view

Fields (130)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger VALUATIONACDOCA SourceLedger Source Ledger
KEY CompanyCode VALUATIONACDOCA CompanyCode Receiver Company Code
KEY FiscalYear VALUATIONACDOCA FiscalYear G/L Fiscal Year
KEY AccountingDocument VALUATIONACDOCA AccountingDocument Journal Entry
KEY LedgerGLLineItem VALUATIONACDOCA LedgerGLLineItem Journal Entry Item
KEY Ledger VALUATIONACDOCA Ledger Ledger
p_is_mdc_on VALUATIONACDOCA p_is_mdc_on
glaccount VALUATIONWORKLIST glaccount General Ledger
NetDueDate VALUATIONACDOCA NetDueDate Net Due Date
OriginalGlAccount VALUATIONACDOCA OriginalGlAccount
group_id VALUATIONWORKLIST group_id UUID
PredecessorReferenceDocCntxt VALUATIONACDOCA PredecessorReferenceDocCntxt Predecessor Reference Document Context
PredecessorReferenceDocument VALUATIONACDOCA PredecessorReferenceDocument Predecessor Reference Document
PredecessorReferenceDocItem VALUATIONACDOCA PredecessorReferenceDocItem Prec. Ref. Doc. Item
PrdcssrJournalEntryCompanyCode VALUATIONACDOCA PrdcssrJournalEntryCompanyCode Predecessor Journal Entry Company Code
PrdcssrJournalEntryFiscalYear VALUATIONACDOCA PrdcssrJournalEntryFiscalYear Predecessor Journal Entry Fiscal Year
PredecessorJournalEntry VALUATIONACDOCA PredecessorJournalEntry Predecessor Journal Entry
PredecessorJournalEntryItem VALUATIONACDOCA PredecessorJournalEntryItem Predecessor Journal Entry Item
GLRecordType VALUATIONACDOCA GLRecordType Record Type
CreditRiskClass VALUATIONACDOCA OriginalCreditRiskClass
CreationDateTime VALUATIONACDOCA CreationDateTime Timestamp
postingdate VALUATIONWORKLIST postingdate Posting Date for GR
DocumentDate VALUATIONWORKLIST documentdate Journal Entry Date
OriginalPostingDate VALUATIONACDOCA PostingDate Posting Date for GR
FiscalYearPeriod VALUATIONACDOCA FiscalYearPeriod Period/Year
SubLedgerAcctLineItemType VALUATIONACDOCA SubLedgerAcctLineItemType SLALineItemType
ReferenceDocumentType VALUATIONACDOCA ReferenceDocumentType Reference Document Type
AccountingDocumentCategory VALUATIONACDOCA AccountingDocumentCategory Journal Entry Category
ClearingAccountingDocument VALUATIONACDOCA ClearingAccountingDocument Clearing Journal Entry
ClearingDocFiscalYear VALUATIONACDOCA ClearingDocFiscalYear Fiscal Year of Clearing Journal Entry
ClearingDate VALUATIONACDOCA ClearingDate Clearing Date
IsReversal VALUATIONACDOCA IsReversal Reversal doc.
Jrnlperiodendclosingrunloguuid VALUATIONWORKLIST Jrnlperiodendclosingrunloguuid Closing Run UUID
IsClearedAtKeyDate VALUATIONWORKLIST is_cleared_at_keydate Cleared bef. Key Dte
BusinessTransactionCategory VALUATIONACDOCA BusinessTransactionCategory Business Transaction Category
BalanceTransactionCurrency VALUATIONACDOCA BalanceTransactionCurrency Currency
AmountInBalanceTransacCrcy VALUATIONACDOCA AmountInBalanceTransacCrcy Amount in Balance Transaction Currency
CompanyCodeCurrency VALUATIONACDOCA CompanyCodeCurrency Local Currency
AmountInCompanyCodeCurrency VALUATIONACDOCA AmountInCompanyCodeCurrency Local Crcy Amt
GlobalCurrency VALUATIONACDOCA GlobalCurrency GM Billing Element: Global Currency
AmountInGlobalCurrency VALUATIONACDOCA AmountInGlobalCurrency Amount in Global Currency
FreeDefinedCurrency1 VALUATIONACDOCA FreeDefinedCurrency1 Freely Defined Currency 1
AmountInFreeDefinedCurrency1 VALUATIONACDOCA AmountInFreeDefinedCurrency1 Amount in Freely Defined Currency 1
FreeDefinedCurrency2 VALUATIONACDOCA FreeDefinedCurrency2 Freely Defined Currency 2
AmountInFreeDefinedCurrency2 VALUATIONACDOCA AmountInFreeDefinedCurrency2 Amount in Freely Defined Currency 2
FreeDefinedCurrency3 VALUATIONACDOCA FreeDefinedCurrency3 Freely Defined Currency 3
AmountInFreeDefinedCurrency3 VALUATIONACDOCA AmountInFreeDefinedCurrency3 Amount in Freely Defined Currency 3
FreeDefinedCurrency4 VALUATIONACDOCA FreeDefinedCurrency4 Freely Defined Currency 4
AmountInFreeDefinedCurrency4 VALUATIONACDOCA AmountInFreeDefinedCurrency4 Amount in Freely Defined Currency 4
FreeDefinedCurrency5 VALUATIONACDOCA FreeDefinedCurrency5 Freely Defined Currency 5
AmountInFreeDefinedCurrency5 VALUATIONACDOCA AmountInFreeDefinedCurrency5 Amount in Freely Defined Currency 5
FreeDefinedCurrency6 VALUATIONACDOCA FreeDefinedCurrency6 Freely Defined Currency 6
AmountInFreeDefinedCurrency6 VALUATIONACDOCA AmountInFreeDefinedCurrency6 Amount in Freely Defined Currency 6
FreeDefinedCurrency7 VALUATIONACDOCA FreeDefinedCurrency7 Freely Defined Currency 7
AmountInFreeDefinedCurrency7 VALUATIONACDOCA AmountInFreeDefinedCurrency7 Amount in Freely Defined Currency 7
FreeDefinedCurrency8 VALUATIONACDOCA FreeDefinedCurrency8 Freely Defined Currency 8
AmountInFreeDefinedCurrency8 VALUATIONACDOCA AmountInFreeDefinedCurrency8 Amount in Freely Defined Currency 8
HouseBank VALUATIONACDOCA HouseBank House Bank
HouseBankAccount VALUATIONACDOCA HouseBankAccount House Bank Account
AssignmentReference VALUATIONACDOCA AssignmentReference Assignment Reference
CostCtrActivityType VALUATIONACDOCA CostCtrActivityType Activity Type
WBSElementInternalID VALUATIONACDOCA WBSElementInternalID WBS Internal ID
FinancialTransactionType VALUATIONACDOCA FinancialTransactionType Transact. Type
JointVenture VALUATIONACDOCA JointVenture Joint venture
JointVentureEquityGroup VALUATIONACDOCA JointVentureEquityGroup Joint Venture Equity Group
PartnerVenture VALUATIONACDOCA PartnerVenture PartnerVenture
JointVenturePartner VALUATIONACDOCA JointVenturePartner Joint Venture Partner
JointVentureCostRecoveryCode VALUATIONACDOCA JointVentureCostRecoveryCode Recovery Ind.
JointVentureEquityType VALUATIONACDOCA JointVentureEquityType Joint Venture Equity Type
ProjectNetwork VALUATIONACDOCA ProjectNetwork Order
RelatedNetworkActivity VALUATIONACDOCA RelatedNetworkActivity Netwk activity
OrderID VALUATIONACDOCA OrderID Order ID
BusinessProcess VALUATIONACDOCA BusinessProcess Business Process
SalesOrder VALUATIONACDOCA SalesOrder SD Document
SalesOrderItem VALUATIONACDOCA SalesOrderItem Sales Order Item
CostObject VALUATIONACDOCA CostObject Cost Object
CostCenter VALUATIONACDOCA CostCenter Cost Center
ProfitCenter VALUATIONACDOCA ProfitCenter Profit Center
FunctionalArea VALUATIONACDOCA FunctionalArea Sendr Fctl Area
BusinessArea VALUATIONACDOCA BusinessArea Business Area
ControllingArea VALUATIONACDOCA ControllingArea Controlling Area
Segment VALUATIONACDOCA Segment Segment number
PartnerCostCenter VALUATIONACDOCA PartnerCostCenter Sender Cost Ctr
PartnerProfitCenter VALUATIONACDOCA PartnerProfitCenter Profit Center
PartnerFunctionalArea VALUATIONACDOCA PartnerFunctionalArea Rec. Fntcl Area
PartnerBusinessArea VALUATIONACDOCA PartnerBusinessArea Trdg Part.BA
PartnerCompanyendasPartnerCompany
PartnerSegment VALUATIONACDOCA PartnerSegment Partner Segment
Supplier VALUATIONACDOCA Supplier Supplier
Customer VALUATIONACDOCA Customer Sold-to Party
FinancialValuationObjectType VALUATIONACDOCA FinancialValuationObjectType Type of Fin.Val.Obj.
FinancialValuationObject VALUATIONACDOCA FinancialValuationObject Fin Valuation Object
FinancialValuationSubobject VALUATIONACDOCA FinancialValuationSubobject Fin.Val.Sub.Object
REBusinessEntity VALUATIONACDOCA REBusinessEntity RE Business Entity
RealEstateBuilding VALUATIONACDOCA RealEstateBuilding Building
RealEstateProperty VALUATIONACDOCA RealEstateProperty Land
Fund VALUATIONACDOCA Fund Sender Fund
BudgetPeriod VALUATIONACDOCA BudgetPeriod Budget Period
GrantID VALUATIONACDOCA GrantID Sender Grant
PubSecBudgetAccount VALUATIONACDOCA PubSecBudgetAccount Budget Account
CashLedgerAccount VALUATIONACDOCA CashLedgerAccount Cash Origin Account
SponsoredProgram VALUATIONACDOCA SponsoredProgram Sponsored Program
SponsoredClass VALUATIONACDOCA SponsoredClass Sponsored Class
Plant VALUATIONACDOCA Plant Valuation Area
Product VALUATIONACDOCA Product Product Sold
ShipToParty VALUATIONACDOCA ShipToParty Ship-To Party (obsolete)
WBSElement VALUATIONACDOCA WBSElement WBS Internal ID
PartnerFund VALUATIONACDOCA PartnerFund Receiver Fund
PartnerGrant VALUATIONACDOCA PartnerGrant Receiver Grant
CashLedgerCompanyCode VALUATIONACDOCA CashLedgerCompanyCode Cash Origin CoCode
FundsCenter VALUATIONACDOCA FundsCenter Funds Center
PartnerEquityGroup VALUATIONACDOCA PartnerEquityGroup Partner EG (JVA)
FundedProgram VALUATIONACDOCA FundedProgram Funded Program
PartnerBudgetPeriod VALUATIONACDOCA PartnerBudgetPeriod Partner Budget Period
TaxCode VALUATIONACDOCA TaxCode Tax Code
TaxCountry VALUATIONACDOCA TaxCountry Tax Ctry/Reg.
AccrualObjectType VALUATIONACDOCA AccrualObjectType Accrual Object Type
AccrualObject VALUATIONACDOCA AccrualObject External Reference of Accrual Object
AccrualSubobject VALUATIONACDOCA AccrualSubobject External Reference of Accrual Subobject
AccrualItemType VALUATIONACDOCA AccrualItemType Accrual Item Type
AccrualReferenceObject VALUATIONACDOCA AccrualReferenceObject Acr. Reference ID
AccrualObjectLogicalSystem VALUATIONACDOCA AccrualObjectLogicalSystem Logical System
PubSecBudgetAccountCoCode VALUATIONACDOCA PubSecBudgetAccountCoCode Company Code for Budget Account
ServiceDocument VALUATIONACDOCA ServiceDocument Transaction ID
ServiceDocumentItem VALUATIONACDOCA ServiceDocumentItem Service Document
ServiceDocumentType VALUATIONACDOCA ServiceDocumentType Transaction Type
Material VALUATIONACDOCA Material Vehicle Model
MASTERDATARECNCLNACCT VALUATIONACDOCA MASTERDATARECNCLNACCT
MASTERDATAPARTNERCOMPANY VALUATIONACDOCA MASTERDATAPARTNERCOMPANY
SpecialGLCode VALUATIONACDOCA SpecialGLCode Special G/L Ind

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 ValuationValuationItems.
-- 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.
-- Parameters: p_fiscal_year_period : fiscalyearperiod

CREATE VIEW ValuationValuationItems AS
SELECT
  acdoca.SourceLedger AS SourceLedger,
  acdoca.CompanyCode AS CompanyCode,
  acdoca.FiscalYear AS FiscalYear,
  acdoca.AccountingDocument AS AccountingDocument,
  acdoca.LedgerGLLineItem AS LedgerGLLineItem,
  acdoca.Ledger AS Ledger,
  acdoca.p_is_mdc_on AS p_is_mdc_on,
  wl.glaccount AS glaccount,
  acdoca.NetDueDate AS NetDueDate,
  acdoca.OriginalGlAccount AS OriginalGlAccount,
  wl.group_id AS group_id,
  acdoca.PredecessorReferenceDocCntxt AS PredecessorReferenceDocCntxt,
  acdoca.PredecessorReferenceDocument AS PredecessorReferenceDocument,
  acdoca.PredecessorReferenceDocItem AS PredecessorReferenceDocItem,
  acdoca.PrdcssrJournalEntryCompanyCode AS PrdcssrJournalEntryCompanyCode,
  acdoca.PrdcssrJournalEntryFiscalYear AS PrdcssrJournalEntryFiscalYear,
  acdoca.PredecessorJournalEntry AS PredecessorJournalEntry,
  acdoca.PredecessorJournalEntryItem AS PredecessorJournalEntryItem,
  acdoca.GLRecordType AS GLRecordType,
  acdoca.OriginalCreditRiskClass AS CreditRiskClass,
  acdoca.CreationDateTime AS CreationDateTime,
  wl.postingdate AS postingdate,
  wl.documentdate AS DocumentDate,
  acdoca.PostingDate AS OriginalPostingDate,
  acdoca.FiscalYearPeriod AS FiscalYearPeriod,
  acdoca.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
  acdoca.ReferenceDocumentType AS ReferenceDocumentType,
  acdoca.AccountingDocumentCategory AS AccountingDocumentCategory,
  acdoca.ClearingAccountingDocument AS ClearingAccountingDocument,
  acdoca.ClearingDocFiscalYear AS ClearingDocFiscalYear,
  acdoca.ClearingDate AS ClearingDate,
  acdoca.IsReversal AS IsReversal,
  wl.Jrnlperiodendclosingrunloguuid AS Jrnlperiodendclosingrunloguuid,
  wl.is_cleared_at_keydate AS IsClearedAtKeyDate,
  acdoca.BusinessTransactionCategory AS BusinessTransactionCategory,
  acdoca.BalanceTransactionCurrency AS BalanceTransactionCurrency,
  acdoca.AmountInBalanceTransacCrcy AS AmountInBalanceTransacCrcy,
  acdoca.CompanyCodeCurrency AS CompanyCodeCurrency,
  acdoca.AmountInCompanyCodeCurrency AS AmountInCompanyCodeCurrency,
  acdoca.GlobalCurrency AS GlobalCurrency,
  acdoca.AmountInGlobalCurrency AS AmountInGlobalCurrency,
  acdoca.FreeDefinedCurrency1 AS FreeDefinedCurrency1,
  acdoca.AmountInFreeDefinedCurrency1 AS AmountInFreeDefinedCurrency1,
  acdoca.FreeDefinedCurrency2 AS FreeDefinedCurrency2,
  acdoca.AmountInFreeDefinedCurrency2 AS AmountInFreeDefinedCurrency2,
  acdoca.FreeDefinedCurrency3 AS FreeDefinedCurrency3,
  acdoca.AmountInFreeDefinedCurrency3 AS AmountInFreeDefinedCurrency3,
  acdoca.FreeDefinedCurrency4 AS FreeDefinedCurrency4,
  acdoca.AmountInFreeDefinedCurrency4 AS AmountInFreeDefinedCurrency4,
  acdoca.FreeDefinedCurrency5 AS FreeDefinedCurrency5,
  acdoca.AmountInFreeDefinedCurrency5 AS AmountInFreeDefinedCurrency5,
  acdoca.FreeDefinedCurrency6 AS FreeDefinedCurrency6,
  acdoca.AmountInFreeDefinedCurrency6 AS AmountInFreeDefinedCurrency6,
  acdoca.FreeDefinedCurrency7 AS FreeDefinedCurrency7,
  acdoca.AmountInFreeDefinedCurrency7 AS AmountInFreeDefinedCurrency7,
  acdoca.FreeDefinedCurrency8 AS FreeDefinedCurrency8,
  acdoca.AmountInFreeDefinedCurrency8 AS AmountInFreeDefinedCurrency8,
  acdoca.HouseBank AS HouseBank,
  acdoca.HouseBankAccount AS HouseBankAccount,
  acdoca.AssignmentReference AS AssignmentReference,
  acdoca.CostCtrActivityType AS CostCtrActivityType,
  acdoca.WBSElementInternalID AS WBSElementInternalID,
  acdoca.FinancialTransactionType AS FinancialTransactionType,
  acdoca.JointVenture AS JointVenture,
  acdoca.JointVentureEquityGroup AS JointVentureEquityGroup,
  acdoca.PartnerVenture AS PartnerVenture,
  acdoca.JointVenturePartner AS JointVenturePartner,
  acdoca.JointVentureCostRecoveryCode AS JointVentureCostRecoveryCode,
  acdoca.JointVentureEquityType AS JointVentureEquityType,
  acdoca.ProjectNetwork AS ProjectNetwork,
  acdoca.RelatedNetworkActivity AS RelatedNetworkActivity,
  acdoca.OrderID AS OrderID,
  acdoca.BusinessProcess AS BusinessProcess,
  acdoca.SalesOrder AS SalesOrder,
  acdoca.SalesOrderItem AS SalesOrderItem,
  acdoca.CostObject AS CostObject,
  acdoca.CostCenter AS CostCenter,
  acdoca.ProfitCenter AS ProfitCenter,
  acdoca.FunctionalArea AS FunctionalArea,
  acdoca.BusinessArea AS BusinessArea,
  acdoca.ControllingArea AS ControllingArea,
  acdoca.Segment AS Segment,
  acdoca.PartnerCostCenter AS PartnerCostCenter,
  acdoca.PartnerProfitCenter AS PartnerProfitCenter,
  acdoca.PartnerFunctionalArea AS PartnerFunctionalArea,
  acdoca.PartnerBusinessArea AS PartnerBusinessArea,
  case when acdoca.p_is_mdc_on = 'X' then wl.partnercompany else acdoca.PartnerCompany end as PartnerCompany AS PartnerCompanyendasPartnerCompany,
  acdoca.PartnerSegment AS PartnerSegment,
  acdoca.Supplier AS Supplier,
  acdoca.Customer AS Customer,
  acdoca.FinancialValuationObjectType AS FinancialValuationObjectType,
  acdoca.FinancialValuationObject AS FinancialValuationObject,
  acdoca.FinancialValuationSubobject AS FinancialValuationSubobject,
  acdoca.REBusinessEntity AS REBusinessEntity,
  acdoca.RealEstateBuilding AS RealEstateBuilding,
  acdoca.RealEstateProperty AS RealEstateProperty,
  acdoca.Fund AS Fund,
  acdoca.BudgetPeriod AS BudgetPeriod,
  acdoca.GrantID AS GrantID,
  acdoca.PubSecBudgetAccount AS PubSecBudgetAccount,
  acdoca.CashLedgerAccount AS CashLedgerAccount,
  acdoca.SponsoredProgram AS SponsoredProgram,
  acdoca.SponsoredClass AS SponsoredClass,
  acdoca.Plant AS Plant,
  acdoca.Product AS Product,
  acdoca.ShipToParty AS ShipToParty,
  acdoca.WBSElement AS WBSElement,
  acdoca.PartnerFund AS PartnerFund,
  acdoca.PartnerGrant AS PartnerGrant,
  acdoca.CashLedgerCompanyCode AS CashLedgerCompanyCode,
  acdoca.FundsCenter AS FundsCenter,
  acdoca.PartnerEquityGroup AS PartnerEquityGroup,
  acdoca.FundedProgram AS FundedProgram,
  acdoca.PartnerBudgetPeriod AS PartnerBudgetPeriod,
  acdoca.TaxCode AS TaxCode,
  acdoca.TaxCountry AS TaxCountry,
  acdoca.AccrualObjectType AS AccrualObjectType,
  acdoca.AccrualObject AS AccrualObject,
  acdoca.AccrualSubobject AS AccrualSubobject,
  acdoca.AccrualItemType AS AccrualItemType,
  acdoca.AccrualReferenceObject AS AccrualReferenceObject,
  acdoca.AccrualObjectLogicalSystem AS AccrualObjectLogicalSystem,
  acdoca.PubSecBudgetAccountCoCode AS PubSecBudgetAccountCoCode,
  acdoca.ServiceDocument AS ServiceDocument,
  acdoca.ServiceDocumentItem AS ServiceDocumentItem,
  acdoca.ServiceDocumentType AS ServiceDocumentType,
  acdoca.Material AS Material,
  acdoca.MASTERDATARECNCLNACCT AS MASTERDATARECNCLNACCT,
  acdoca.MASTERDATAPARTNERCOMPANY AS MASTERDATAPARTNERCOMPANY,
  acdoca.SpecialGLCode AS SpecialGLCode
FROM VALUATIONACDOCA AS acdoca
INNER JOIN VALUATIONWORKLIST AS wl ON /* join condition not captured in parsed metadata */
;