P_GLAcctLineItemCompBreakdown

DDL: P_GLACCTLINEITEMCOMPBREAKDOWN Type: view_entity BASIC

P_GLAcctLineItemCompBreakdown is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (R_ComponentBreakdown, I_GLAccountLineItemRawData) and exposes 63 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem.

Data Sources (2)

SourceAliasJoin Type
R_ComponentBreakdown cb inner
I_GLAccountLineItemRawData li from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.private true view
VDM.viewType #BASIC view

Fields (63)

KeyFieldSource TableSource FieldDescription
KEY SourceLedger I_GLAccountLineItemRawData SourceLedger Source Ledger
KEY CompanyCode I_GLAccountLineItemRawData CompanyCode Receiver Company Code
KEY FiscalYear I_GLAccountLineItemRawData FiscalYear G/L Fiscal Year
KEY AccountingDocument I_GLAccountLineItemRawData AccountingDocument Journal Entry
KEY LedgerGLLineItem I_GLAccountLineItemRawData LedgerGLLineItem Journal Entry Item
KEY ComponentBreakdown R_ComponentBreakdown ComponentBreakdown
KEY ComponentBreakdownMethod R_ComponentBreakdown ComponentBreakdownMethod
KEY ComponentBreakdownComponent R_ComponentBreakdown ComponentBreakdownComponent
ComponentBreakdownMethodType
CostBreakdownStructure R_ComponentBreakdown CostBreakdownStructure
CostBreakdownComponent R_ComponentBreakdown CostBreakdownComponent
QuantityBreakdownStructure R_ComponentBreakdown QuantityBreakdownStructure
QuantityBreakdownComponent R_ComponentBreakdown QuantityBreakdownComponent
LedgerFiscalYear I_GLAccountLineItemRawData LedgerFiscalYear Ref. Year1
ChartOfAccounts I_GLAccountLineItemRawData ChartOfAccounts Node Class
ControllingArea I_GLAccountLineItemRawData ControllingArea Controlling Area
FiscalPeriod I_GLAccountLineItemRawData FiscalPeriod Tax period
FiscalYearPeriod I_GLAccountLineItemRawData FiscalYearPeriod Period/Year
PostingDate I_GLAccountLineItemRawData PostingDate Posting Date for GR
FiscalYearVariant I_GLAccountLineItemRawData FiscalYearVariant FY Variant
AccountingDocumentType I_GLAccountLineItemRawData AccountingDocumentType Journal Entry Type
ReferenceDocument I_GLAccountLineItemRawData ReferenceDocument Reference Document
BusinessTransactionCategory I_GLAccountLineItemRawData BusinessTransactionCategory Business Transaction Category
SubLedgerAcctLineItemType I_GLAccountLineItemRawData SubLedgerAcctLineItemType SLALineItemType
GLAccount I_GLAccountLineItemRawData GLAccount General Ledger
FinancialAccountType I_GLAccountLineItemRawData FinancialAccountType Fin. Account Type
Plant I_GLAccountLineItemRawData Plant Valuation Area
Product I_GLAccountLineItemRawData Product Product Sold
CostEstimate I_GLAccountLineItemRawData CostEstimate Cost EstimateNo
ValuationArea I_GLAccountLineItemRawData ValuationArea Valuation Area
ControllingDebitCreditCode
AccountAssignmentType I_GLAccountLineItemRawData AccountAssignmentType Sndr AcctAssgmt Type
AccountAssignment I_GLAccountLineItemRawData AccountAssignment Sender Acct Assgmt
CostCenter I_GLAccountLineItemRawData CostCenter Cost Center
CostCtrActivityType I_GLAccountLineItemRawData CostCtrActivityType Activity Type
OriginCostCenter I_GLAccountLineItemRawData OriginCostCenter OrigCCtr
OriginCostCtrActivityType I_GLAccountLineItemRawData OriginCostCtrActivityType OrigAct.
OrderID I_GLAccountLineItemRawData OrderID Order ID
OrderItem I_GLAccountLineItemRawData OrderItem Order item no.
OrderCategory I_GLAccountLineItemRawData OrderCategory Order Category
BusinessArea I_GLAccountLineItemRawData BusinessArea Business Area
FunctionalArea I_GLAccountLineItemRawData FunctionalArea Sendr Fctl Area
Segment I_GLAccountLineItemRawData Segment Segment number
SalesDocument I_GLAccountLineItemRawData SalesDocument SD Document
SalesOrganization I_GLAccountLineItemRawData SalesOrganization Sales Organization
SalesDistrict I_GLAccountLineItemRawData SalesDistrict Sales District
ShipToParty I_GLAccountLineItemRawData ShipToParty Ship-To Party (obsolete)
BillToParty I_GLAccountLineItemRawData BillToParty Inv. Recipient
DistributionChannel I_GLAccountLineItemRawData DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision I_GLAccountLineItemRawData OrganizationDivision Org. Division
ProfitCenter I_GLAccountLineItemRawData ProfitCenter Profit Center
SoldProduct I_GLAccountLineItemRawData SoldProduct Product Sold
SoldProductGroup I_GLAccountLineItemRawData SoldProductGroup Product Sold Group
Customer I_GLAccountLineItemRawData Customer Sold-to Party
CustomerGroup I_GLAccountLineItemRawData CustomerGroup Customer Group
QuantityUnit R_ComponentBreakdown QuantityUnit Unit of measure
CompanyCodeCurrency
GlobalCurrency
_ComponentBreakdownMethod R_ComponentBreakdown _ComponentBreakdownMethod
_CostBreakdownStructure R_ComponentBreakdown _CostBreakdownStructure
_CostBreakdownComponent R_ComponentBreakdown _CostBreakdownComponent
_QtyBreakdownStructure R_ComponentBreakdown _QtyBreakdownStructure
_QtyBreakdownComponent R_ComponentBreakdown _QtyBreakdownComponent

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_GLAcctLineItemCompBreakdown.
-- 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 P_GLAcctLineItemCompBreakdown AS
SELECT
  li.SourceLedger AS SourceLedger,
  li.CompanyCode AS CompanyCode,
  li.FiscalYear AS FiscalYear,
  li.AccountingDocument AS AccountingDocument,
  li.LedgerGLLineItem AS LedgerGLLineItem,
  cb.ComponentBreakdown AS ComponentBreakdown,
  cb.ComponentBreakdownMethod AS ComponentBreakdownMethod,
  cb.ComponentBreakdownComponent AS ComponentBreakdownComponent,
  cb._ComponentBreakdownMethod.ComponentBreakdownMethodType AS ComponentBreakdownMethodType,
  cb.CostBreakdownStructure AS CostBreakdownStructure,
  cb.CostBreakdownComponent AS CostBreakdownComponent,
  cb.QuantityBreakdownStructure AS QuantityBreakdownStructure,
  cb.QuantityBreakdownComponent AS QuantityBreakdownComponent,
  li.LedgerFiscalYear AS LedgerFiscalYear,
  li.ChartOfAccounts AS ChartOfAccounts,
  li.ControllingArea AS ControllingArea,
  li.FiscalPeriod AS FiscalPeriod,
  li.FiscalYearPeriod AS FiscalYearPeriod,
  li.PostingDate AS PostingDate,
  li.FiscalYearVariant AS FiscalYearVariant,
  li.AccountingDocumentType AS AccountingDocumentType,
  li.ReferenceDocument AS ReferenceDocument,
  li.BusinessTransactionCategory AS BusinessTransactionCategory,
  li.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
  li.GLAccount AS GLAccount,
  li.FinancialAccountType AS FinancialAccountType,
  li.Plant AS Plant,
  li.Product AS Product,
  li.CostEstimate AS CostEstimate,
  li.ValuationArea AS ValuationArea,
  cast( li.ControllingDebitCreditCode as fis_co_belkz_no_conv preserving type ) AS ControllingDebitCreditCode,
  li.AccountAssignmentType AS AccountAssignmentType,
  li.AccountAssignment AS AccountAssignment,
  li.CostCenter AS CostCenter,
  li.CostCtrActivityType AS CostCtrActivityType,
  li.OriginCostCenter AS OriginCostCenter,
  li.OriginCostCtrActivityType AS OriginCostCtrActivityType,
  li.OrderID AS OrderID,
  li.OrderItem AS OrderItem,
  li.OrderCategory AS OrderCategory,
  li.BusinessArea AS BusinessArea,
  li.FunctionalArea AS FunctionalArea,
  li.Segment AS Segment,
  li.SalesDocument AS SalesDocument,
  li.SalesOrganization AS SalesOrganization,
  li.SalesDistrict AS SalesDistrict,
  li.ShipToParty AS ShipToParty,
  li.BillToParty AS BillToParty,
  li.DistributionChannel AS DistributionChannel,
  li.OrganizationDivision AS OrganizationDivision,
  li.ProfitCenter AS ProfitCenter,
  li.SoldProduct AS SoldProduct,
  li.SoldProductGroup AS SoldProductGroup,
  li.Customer AS Customer,
  li.CustomerGroup AS CustomerGroup,
  cb.QuantityUnit AS QuantityUnit,
  cast(cb.CompanyCodeCurrency as fis_hwaer preserving type) AS CompanyCodeCurrency,
  cast(cb.GlobalCurrency as fis_rkcur preserving type) AS GlobalCurrency,
  cb._ComponentBreakdownMethod AS _ComponentBreakdownMethod,
  cb._CostBreakdownStructure AS _CostBreakdownStructure,
  cb._CostBreakdownComponent AS _CostBreakdownComponent,
  cb._QtyBreakdownStructure AS _QtyBreakdownStructure,
  cb._QtyBreakdownComponent AS _QtyBreakdownComponent
FROM I_GLAccountLineItemRawData AS li
INNER JOIN R_ComponentBreakdown AS cb ON /* join condition not captured in parsed metadata */
;