I_GLAcctLineItmSubLdgrItmTypeC

DDL: I_GLACCTLINEITMSUBLDGRITMTYPEC SQL: IGLSUBLDGITP Type: view COMPOSITE Package: FINS_COPA_REPORTING

G/L Account Line Item based on SubLedger Item Type - Cube

I_GLAcctLineItmSubLdgrItmTypeC (Composite)

Package: Explore, extend and adapt the SAP S/4HANA Public Edition with built-in and side-by-side extension capabilities.

Accounting and Financial Close

I_GLAcctLineItmSubLdgrItmTypeC is a Composite CDS View (Cube) that provides data about "G/L Account Line Item based on SubLedger Item Type - Cube" in SAP S/4HANA. It reads from 1 data source (I_GLAccountLineItem) and exposes 112 fields with key fields Ledger, SourceLedger, CompanyCode, FiscalYear, AccountingDocument. It has 2 associations to related views. Part of development package FINS_COPA_REPORTING.

SAP Help Documentation

CategoryCDS Views for Sales Accounting
StatusReleased
Purpose
This CDS view provides a comprehensive analytical cube for General Ledger (G/L) account line items, specifically focusing on sub-ledger item types. It aggregates financial data across various dimensions such as company code, fiscal year, profit center, and more, allowing for detailed financial analysis and reporting. This CDS view provides the data to answer the following business questions: What are the G/L account line items based on specific sub-ledger item types? How do financial figures vary across different currencies, such as global currency and company code currency? What are the financial impacts of specific sub-ledger account line item types, such as input price variance or lot size variance? How do financial transactions distribute across different organizational dimensions like profit centers, sales organizations, and segments? What is the financial performance over different fiscal periods and years? How do sales orders and documents relate to financial postings in the G/L accounts? What are the financial implications of specific business transactions and account assignments? How do financial figures align with specific projects, orders, and contracts? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Structure
Measures and Attributes Some important measures and attributes are: Input Price Variance Out Price Variance Input Quantity Variance Resource Usage Variance Lot Size Variance Remaining Variance

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessAccounting and Financial Close
Application ComponentCO-FIO-PA-2CL
CapabilitiesData Provider for Analytical Queries,Data Source in SQL Select,Data Source for Defining CDS Entities
Extensible (Key User)Yes
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Not Released
PackageAccounting and Financial Close for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view provides a comprehensive analytical cube for General Ledger (G/L) account line items, specifically focusing on sub-ledger item types. It aggregates financial data across various dimensions such as company code, fiscal year, profit center, and more, allowing for detailed financial analysis and reporting. </p> <p>This CDS view provides the data to answer the following business questions:</p> <ul> <li><p>What are the G/L account line items based on specific sub-ledger item types?</p></li> <li><p>How do financial figures vary across different currencies, such as global currency and company code currency?</p></li> <li><p>What are the financial impacts of specific sub-ledger account line item types, such as input price variance or lot size variance?</p></li> <li><p>How do financial transactions distribute across different organizational dimensions like profit centers, sales organizations, and segments?</p></li> <li><p>What is the financial performance over different fiscal periods and years?</p></li> <li><p>How do sales orders and documents relate to financial postings in the G/L accounts?</p></li> <li><p>What are the financial implications of specific business transactions and account assignments?</p></li> <li><p>How do financial figures align with specific projects, orders, and contracts?</p></li> </ul> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
I_GLAccountLineItem I_GLAccountLineItem from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_SemanticTag _SemanticTag $projection.SemanticTag = _SemanticTag.SemanticTag
[1..1] E_JournalEntryItem _Extension $projection.SourceLedger = _Extension.SourceLedger and $projection.CompanyCode = _Extension.CompanyCode and $projection.FiscalYear = _Extension.FiscalYear and $projection.AccountingDocument = _Extension.AccountingDocument and $projection.LedgerGLLineItem = _Extension.LedgerGLLineItem

Annotations (18)

NameValueLevelField
AbapCatalog.sqlViewName IGLSUBLDGITP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label G/L Account Line Item based on SubLedger Item Type - Cube view
Metadata.allowExtensions true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
VDM.viewType #COMPOSITE view
Analytics.dataCategory #CUBE view
ObjectModel.representativeKey LedgerGLLineItem view
Analytics.internalName #LOCAL view
Search.searchable false view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.modelingPattern #ANALYTICAL_CUBE view

Fields (112)

KeyFieldSource TableSource FieldDescription
KEY Ledger Ledger Ledger in General Ledger Accounting
KEY SourceLedger SourceLedger Source Ledger
KEY CompanyCode CompanyCode Receiver Company Code
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY AccountingDocument AccountingDocument Journal Entry
KEY LedgerGLLineItem LedgerGLLineItem General Ledger Journal Entry Line Item
KEY SemanticTag Semantic Tag of a Hierarchy Node
FiscalPeriod FiscalPeriod Fiscal Period
LedgerFiscalYear LedgerFiscalYear Fiscal Year of Ledger
ProfitCenter ProfitCenter Profit Center
SoldProduct SoldProduct Product Sold
SoldProductGroup SoldProductGroup Product Sold Group
Customer Customer Customer Number
CustomerGroup CustomerGroup Customer Group
SalesOrder SalesOrder SD Document
SalesOrderItem SalesOrderItem Sales Order Item
SalesDocument SalesDocument Sales Document
SalesDocumentItem SalesDocumentItem Sales Document Item
OrderID OrderID Order ID
OrderCategory OrderCategory Order Category
ConditionContract ConditionContract Condition Contract
FiscalYearPeriod FiscalYearPeriod Fiscal Year Period
ChartOfAccounts ChartOfAccounts Chart of Accounts
GLAccount GLAccount General Ledger
SalesOrganization SalesOrganization Sales Organization
CustomerSupplierCountry CustomerSupplierCountry Customer or Supplier Country/Region
CustomerSupplierIndustry CustomerSupplierIndustry Customer Supplier Industry
SalesDistrict SalesDistrict Sales District
ShipToParty ShipToParty Ship-To Party (obsolete)
BillToParty BillToParty Inv. Recipient
BusinessTransactionType BusinessTransactionType Business Transaction Type
SubLedgerAcctLineItemType SubLedgerAcctLineItemType Subledger-Specific Line Item Type
AccountAssignmentType AccountAssignmentType Account Assignment Type
ControllingArea ControllingArea Controlling Area
CostSourceUnit CostSourceUnit Cost Source Unit
DistributionChannel DistributionChannel Distribution Channel
OrganizationDivision OrganizationDivision Org. Division
BaseUnit BaseUnit Base Unit of Measure
OrderType OrderType Order Type
Segment Segment Segment for Segmental Reporting
Project WBS Element
WBSElement WBS Internal ID
ProjectNetwork ProjectNetwork Network Number for Account Assignment
FunctionalArea FunctionalArea Sendr Fctl Area
Plant Plant Valuation Area
FiscalYearVariant FiscalYearVariant Fiscal Year Variant
ServiceContract ServiceContract Service Contract ID
ServiceContractItem ServiceContractItem Service Contract Item ID
BusinessSolutionOrder BusinessSolutionOrder Solution Order
BusinessSolutionOrderItem BusinessSolutionOrderItem Solution Order Item
ProviderContract ProviderContract Provider Contract
ProviderContractItem ProviderContractItem Provider Contract Item
ServiceContractType ServiceContractType Service Contract Type
ServiceDocument ServiceDocument Service Document ID
ServiceDocumentItem ServiceDocumentItem Service Document Item ID
ServiceDocumentType ServiceDocumentType Service Document Type
ProjectInternalID ProjectInternalID Project Internal ID
BusinessArea BusinessArea Business Area
_FiscalYearVariant _FiscalYearVariant
_ServiceContractType _ServiceContractType
GlobalCurrency GlobalCurrency GM Billing Element: Global Currency
CompanyCodeCurrency CompanyCodeCurrency Company Code Currency
FreeDefinedCurrency1 FreeDefinedCurrency1 Freely Defined Currency 1
AmountInCompanyCodeCurrency AmountInCompanyCodeCurrency Amount in Company Code Currency
AmountInFreeDefinedCurrency1 AmountInFreeDefinedCurrency1 Amount in Freely Defined Currency 1
AmountInGlobalCurrency AmountInGlobalCurrency Amount in Global Currency
FixedAmountInCoCodeCrcy FixedAmountInCoCodeCrcy Fixed Amount in Company Currency
FixedAmountInGlobalCrcy FixedAmountInGlobalCrcy Fixed Amount in Global Currency
Supplier Supplier Supplier
AccountingDocumentType AccountingDocumentType Journal Entry Type
FinancialAccountType FinancialAccountType Fin. Account Type
CostCenter CostCenter Cost Center
ValuationArea ValuationArea Valuation Area
AssetClass AssetClass Asset Class
PostingDate PostingDate Posting Date for GR
_ServiceDocument _ServiceDocument
_CurrentProfitCenter _CurrentProfitCenter
_AccountingDocumentType _AccountingDocumentType
_Supplier _Supplier
_CurrentCostCenter _CurrentCostCenter
_CostCenter _CostCenter
_FinancialAccountType _FinancialAccountType
_Ledger _Ledger
_SourceLedger _SourceLedger
_JournalEntry _JournalEntry
_CompanyCode _CompanyCode
_SemanticTag _SemanticTag
_FiscalYear _FiscalYear
_Customer _Customer
_CustomerGroup _CustomerGroup
_SoldProduct _SoldProduct
_SoldProductGroup _SoldProductGroup
_ProfitCenter _ProfitCenter
_ControllingArea _ControllingArea
_CostSourceUnit _CostSourceUnit
_SalesDocument _SalesDocument
_SalesOrder _SalesOrder
_SalesOrderItem _SalesOrderItem
_Order _Order
_ChartOfAccounts _ChartOfAccounts
_GLAccountInChartOfAccounts _GLAccountInChartOfAccounts
_DistributionChannel _DistributionChannel
_BaseUnit _BaseUnit
_Segment _Segment
_FunctionalArea _FunctionalArea
_Plant _Plant
_SalesOrganization _SalesOrganization
_SalesDistrict _SalesDistrict
_CustomerSupplierCountry _CustomerSupplierCountry
_ShipToParty _ShipToParty
_BillToParty _BillToParty
_LedgerFiscalYearForVariant _LedgerFiscalYearForVariant

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 I_GLAcctLineItmSubLdgrItmTypeC.
-- 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: IGLSUBLDGITP

CREATE VIEW I_GLAcctLineItmSubLdgrItmTypeC AS
SELECT
  Ledger,
  SourceLedger,
  CompanyCode,
  FiscalYear,
  AccountingDocument,
  LedgerGLLineItem,
  cast ( cast( '' as abap.char( 10 ) ) as fins_sem_tag preserving type ) AS SemanticTag,
  FiscalPeriod,
  LedgerFiscalYear,
  ProfitCenter,
  SoldProduct,
  SoldProductGroup,
  Customer,
  CustomerGroup,
  SalesOrder,
  SalesOrderItem,
  SalesDocument,
  SalesDocumentItem,
  OrderID,
  OrderCategory,
  ConditionContract,
  FiscalYearPeriod,
  ChartOfAccounts,
  GLAccount,
  SalesOrganization,
  CustomerSupplierCountry,
  CustomerSupplierIndustry,
  SalesDistrict,
  ShipToParty,
  BillToParty,
  BusinessTransactionType,
  SubLedgerAcctLineItemType,
  AccountAssignmentType,
  ControllingArea,
  CostSourceUnit,
  DistributionChannel,
  OrganizationDivision,
  BaseUnit,
  OrderType,
  Segment,
  cast( Project as fis_project_no_conv preserving type ) AS Project,
  cast( WBSElement as fis_wbs_no_conv preserving type ) AS WBSElement,
  ProjectNetwork,
  FunctionalArea,
  Plant,
  FiscalYearVariant,
  ServiceContract,
  ServiceContractItem,
  BusinessSolutionOrder,
  BusinessSolutionOrderItem,
  ProviderContract,
  ProviderContractItem,
  ServiceContractType,
  ServiceDocument,
  ServiceDocumentItem,
  ServiceDocumentType,
  ProjectInternalID,
  BusinessArea,
  GlobalCurrency,
  CompanyCodeCurrency,
  FreeDefinedCurrency1,
  AmountInCompanyCodeCurrency,
  AmountInFreeDefinedCurrency1,
  AmountInGlobalCurrency,
  FixedAmountInCoCodeCrcy,
  FixedAmountInGlobalCrcy,
  Supplier,
  AccountingDocumentType,
  FinancialAccountType,
  CostCenter,
  ValuationArea,
  AssetClass,
  PostingDate
FROM I_GLAccountLineItem
LEFT OUTER JOIN I_SemanticTag AS _SemanticTag ON SemanticTag = _SemanticTag.SemanticTag  -- association [0..1]
LEFT OUTER JOIN E_JournalEntryItem AS _Extension ON SourceLedger = _Extension.SourceLedger AND CompanyCode = _Extension.CompanyCode AND FiscalYear = _Extension.FiscalYear AND AccountingDocument = _Extension.AccountingDocument AND LedgerGLLineItem = _Extension.LedgerGLLineItem  -- association [1..1]
;