I_GLCmtmtLineItemByCostCenter
Commitment Item By Cost Center
I_GLCmtmtLineItemByCostCenter is a Composite CDS View that provides data about "Commitment Item By Cost Center" in SAP S/4HANA. It reads from 1 data source (I_GLAccountLineItem) and exposes 47 fields with key fields CompanyCode, FiscalYear, AccountingDocument, LedgerGLLineItem, Ledger. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_GLAccountLineItem | I_GLAccountLineItem | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_PurchaseOrderStatus | _PurchaseOrderStatus | _PurchaseOrderStatus.PurchaseOrder = $projection.PurchasingDocument |
| [1..1] | I_GLAccountLineItem | _GLAccountLineItem | _GLAccountLineItem.CompanyCode = $projection.CompanyCode and _GLAccountLineItem.FiscalYear = $projection.FiscalYear and _GLAccountLineItem.AccountingDocument = $projection.AccountingDocument and _GLAccountLineItem.LedgerGLLineItem = $projection.LedgerGLLineItem and _GLAccountLineItem.Ledger = $projection.Ledger and _GLAccountLineItem.SourceLedger = $projection.SourceLedger |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IGLCMTITMBYCCTR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | Commitment Item By Cost Center | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.lifecycle.status | #DEPRECATED | view |
Fields (47)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CompanyCode | CompanyCode | Receiver Company Code | |
| KEY | FiscalYear | FiscalYear | G/L Fiscal Year | |
| KEY | AccountingDocument | AccountingDocument | Journal Entry | |
| KEY | LedgerGLLineItem | LedgerGLLineItem | Journal Entry Item | |
| KEY | Ledger | Ledger | Ledger | |
| KEY | SourceLedger | SourceLedger | Source Ledger | |
| CompanyCodeCurrency | CompanyCodeCurrency | Local Currency | ||
| FiscalYearVariant | FiscalYearVariant | FY Variant | ||
| CostCenter | CostCenter | Cost Center | ||
| FiscalPeriod | FiscalPeriod | Tax period | ||
| LedgerFiscalYear | LedgerFiscalYear | |||
| GLAccount | GLAccount | General Ledger | ||
| IsCommitment | IsCommitment | |||
| PostingDate | PostingDate | Posting Date for GR | ||
| ControllingArea | ControllingArea | Controlling Area | ||
| PurchasingDocument | PurchasingDocument | Purchasing Document | ||
| FiscalYearPeriod | FiscalYearPeriod | Period/Year | ||
| BusinessArea | BusinessArea | Business Area | ||
| Segment | Segment | Segment number | ||
| FinancialAccountType | FinancialAccountType | Fin. Account Type | ||
| ProfitCenter | ProfitCenter | Profit Center | ||
| SalesOrganization | SalesOrganization | Sales Organization | ||
| DistributionChannel | DistributionChannel | RefDistCh-Cust/Mat. | ||
| OrganizationDivision | OrganizationDivision | Org. Division | ||
| Plant | Plant | Valuation Area | ||
| ValuationArea | ValuationArea | Valuation Area | ||
| SalesDocument | SalesDocument | SD Document | ||
| Supplier | Supplier | Supplier | ||
| Customer | Customer | Sold-to Party | ||
| AccountingDocumentType | AccountingDocumentType | Journal Entry Type | ||
| MasterFixedAsset | MasterFixedAsset | Fixed Asset | ||
| FixedAsset | FixedAsset | Sub-number | ||
| OrderID | OrderID | Order ID | ||
| PurchaseOrderStatus | ||||
| AssgdAmtInCompanyCodeCurrency | I_GLAccountLineItem | AmountInCompanyCodeCurrency | Local Crcy Amt | |
| _SalesDocument | _SalesDocument | |||
| _CurrentProfitCenter | _CurrentProfitCenter | |||
| _GLAccountInCompanyCode | _GLAccountInCompanyCode | |||
| _Supplier | _Supplier | |||
| _Customer | _Customer | |||
| _AccountingDocumentType | _AccountingDocumentType | |||
| _FixedAsset | _FixedAsset | |||
| _Order | _Order | |||
| _CurrentCostCenter | _CurrentCostCenter | |||
| _FiscalYearPeriod | _FiscalYearPeriod | |||
| _CostCenter | _CostCenter | |||
| _GLAccountLineItem | _GLAccountLineItem |
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_GLCmtmtLineItemByCostCenter.
-- 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: IGLCMTITMBYCCTR
CREATE VIEW I_GLCmtmtLineItemByCostCenter AS
SELECT
CompanyCode,
FiscalYear,
AccountingDocument,
LedgerGLLineItem,
Ledger,
SourceLedger,
CompanyCodeCurrency,
FiscalYearVariant,
CostCenter,
FiscalPeriod,
LedgerFiscalYear,
GLAccount,
IsCommitment,
PostingDate,
ControllingArea,
PurchasingDocument,
FiscalYearPeriod,
BusinessArea,
Segment,
FinancialAccountType,
ProfitCenter,
SalesOrganization,
DistributionChannel,
OrganizationDivision,
Plant,
ValuationArea,
SalesDocument,
Supplier,
Customer,
AccountingDocumentType,
MasterFixedAsset,
FixedAsset,
OrderID,
coalesce( _PurchaseOrderStatus.PurchasingDocumentStatus, 'NA' ) AS PurchaseOrderStatus,
I_GLAccountLineItem.AmountInCompanyCodeCurrency AS AssgdAmtInCompanyCodeCurrency
FROM I_GLAccountLineItem
LEFT OUTER JOIN I_PurchaseOrderStatus AS _PurchaseOrderStatus ON _PurchaseOrderStatus.PurchaseOrder = PurchasingDocument -- association [0..1]
LEFT OUTER JOIN I_GLAccountLineItem AS _GLAccountLineItem ON _GLAccountLineItem.CompanyCode = CompanyCode AND _GLAccountLineItem.FiscalYear = FiscalYear AND _GLAccountLineItem.AccountingDocument = AccountingDocument AND _GLAccountLineItem.LedgerGLLineItem = LedgerGLLineItem AND _GLAccountLineItem.Ledger = Ledger AND _GLAccountLineItem.SourceLedger = SourceLedger -- association [1..1]
;
Learn More
- S/4HANA CDS View Deprecation: What You Need to Know
- 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
- 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