P_GLAcctLineItemCompBreakdown

DDL: P_GLACCTLINEITEMCOMPBREAKDOWN Type: view_entity BASIC Package: FINS_UCB_REUSE

GL Account Line Item Component Breakdown

P_GLAcctLineItemCompBreakdown is a Basic CDS View that provides data about "GL Account Line Item Component Breakdown" in SAP S/4HANA. It reads from 1 data source (I_GLAccountLineItemRawData) and exposes 78 fields with key fields SourceLedger, CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem. Part of development package FINS_UCB_REUSE.

Data Sources (1)

SourceAliasJoin Type
I_GLAccountLineItemRawData li from

Annotations (7)

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

Fields (78)

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 I_GLAccountLineItemRawData ComponentBreakdown
KEY ComponentBreakdownMethod mtd ComponentBreakdownMethod
KEY ComponentBreakdownComponent cb ComponentBreakdownComponent
ComponentBreakdownMethodType mtd ComponentBreakdownMethodType
CostBreakdownStructure
CostBreakdownComponent
QuantityBreakdownStructure
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
ReferenceDocumentType I_GLAccountLineItemRawData ReferenceDocumentType Reference Document Type
BusinessTransactionCategory I_GLAccountLineItemRawData BusinessTransactionCategory Business Transaction Category
BusinessTransactionType I_GLAccountLineItemRawData BusinessTransactionType Bus.transaction
TransactionTypeDetermination I_GLAccountLineItemRawData TransactionTypeDetermination Transaction Key
SubLedgerAcctLineItemType I_GLAccountLineItemRawData SubLedgerAcctLineItemType SLALineItemType
GLAccount I_GLAccountLineItemRawData GLAccount General Ledger
FinancialAccountType I_GLAccountLineItemRawData FinancialAccountType Fin. Account Type
PurchasingDocument I_GLAccountLineItemRawData PurchasingDocument Purchasing Document
PurchasingDocumentItem I_GLAccountLineItemRawData PurchasingDocumentItem Purchasing Doc. Item
Plant I_GLAccountLineItemRawData Plant Valuation Area
Product I_GLAccountLineItemRawData Product Product Sold
CostEstimate I_GLAccountLineItemRawData CostEstimate Cost EstimateNo
InventoryValuationType I_GLAccountLineItemRawData InventoryValuationType Valuation Type
ValuationArea I_GLAccountLineItemRawData ValuationArea Valuation Area
ControllingDebitCreditCode
ControllingObjectDebitType I_GLAccountLineItemRawData ControllingObjectDebitType
AccountAssignmentType I_GLAccountLineItemRawData AccountAssignmentType Sndr AcctAssgmt Type
AccountAssignment I_GLAccountLineItemRawData AccountAssignment Sender Acct Assgmt
PartnerAccountAssignmentType I_GLAccountLineItemRawData PartnerAccountAssignmentType Partner Account Assignment Type
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
WBSElementInternalID I_GLAccountLineItemRawData WBSElementInternalID WBS Internal ID
WBSElement I_GLAccountLineItemRawData WBSElement WBS Internal ID
ProjectInternalID I_GLAccountLineItemRawData ProjectInternalID Project Def.
Project I_GLAccountLineItemRawData Project WBS Element
ServiceDocumentType I_GLAccountLineItemRawData ServiceDocumentType Transaction Type
ServiceDocument I_GLAccountLineItemRawData ServiceDocument Transaction ID
ServiceDocumentItem I_GLAccountLineItemRawData ServiceDocumentItem Service Document
CostOriginGroup I_GLAccountLineItemRawData CostOriginGroup Origin Group
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
SalesDocumentItem I_GLAccountLineItemRawData SalesDocumentItem Sales Document Item
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
ComponentBreakdownQuantityUnit
CompanyCodeCurrency
GlobalCurrency
FunctionalCurrency I_GLAccountLineItemRawData FunctionalCurrency Functional Currency
FreeDefinedCurrency1
_ComponentBreakdownMethod mtd _ComponentBreakdownMethod

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,
  li.ComponentBreakdown AS ComponentBreakdown,
  mtd.ComponentBreakdownMethod AS ComponentBreakdownMethod,
  cb.ComponentBreakdownComponent AS ComponentBreakdownComponent,
  mtd.ComponentBreakdownMethodType AS ComponentBreakdownMethodType,
  mtd._ComponentBreakdownMethod.CostBreakdownStructure AS CostBreakdownStructure,
  coalesce(cb.CostBreakdownComponent, '') AS CostBreakdownComponent,
  mtd._ComponentBreakdownMethod.QuantityBreakdownStructure AS QuantityBreakdownStructure,
  coalesce(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.ReferenceDocumentType AS ReferenceDocumentType,
  li.BusinessTransactionCategory AS BusinessTransactionCategory,
  li.BusinessTransactionType AS BusinessTransactionType,
  li.TransactionTypeDetermination AS TransactionTypeDetermination,
  li.SubLedgerAcctLineItemType AS SubLedgerAcctLineItemType,
  li.GLAccount AS GLAccount,
  li.FinancialAccountType AS FinancialAccountType,
  li.PurchasingDocument AS PurchasingDocument,
  li.PurchasingDocumentItem AS PurchasingDocumentItem,
  li.Plant AS Plant,
  li.Product AS Product,
  li.CostEstimate AS CostEstimate,
  li.InventoryValuationType AS InventoryValuationType,
  li.ValuationArea AS ValuationArea,
  cast(li.ControllingDebitCreditCode as fis_co_belkz_no_conv preserving type) AS ControllingDebitCreditCode,
  li.ControllingObjectDebitType AS ControllingObjectDebitType,
  li.AccountAssignmentType AS AccountAssignmentType,
  li.AccountAssignment AS AccountAssignment,
  li.PartnerAccountAssignmentType AS PartnerAccountAssignmentType,
  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.WBSElementInternalID AS WBSElementInternalID,
  li.WBSElement AS WBSElement,
  li.ProjectInternalID AS ProjectInternalID,
  li.Project AS Project,
  li.ServiceDocumentType AS ServiceDocumentType,
  li.ServiceDocument AS ServiceDocument,
  li.ServiceDocumentItem AS ServiceDocumentItem,
  li.CostOriginGroup AS CostOriginGroup,
  li.BusinessArea AS BusinessArea,
  li.FunctionalArea AS FunctionalArea,
  li.Segment AS Segment,
  li.SalesDocument AS SalesDocument,
  li.SalesDocumentItem AS SalesDocumentItem,
  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,
  cast(coalesce(cb.ComponentBreakdownQuantityUnit, cast('' as fucb_quantity_unit)) as fucb_quantity_unit preserving type) AS ComponentBreakdownQuantityUnit,
  cast(li.CompanyCodeCurrency as fis_hwaer preserving type) AS CompanyCodeCurrency,
  cast(li.GlobalCurrency as fis_rkcur preserving type) AS GlobalCurrency,
  li.FunctionalCurrency AS FunctionalCurrency,
  cast(li.FreeDefinedCurrency1 as fis_rocur preserving type) AS FreeDefinedCurrency1,
  mtd._ComponentBreakdownMethod AS _ComponentBreakdownMethod
FROM I_GLAccountLineItemRawData AS li
;