I_SuplrInvoiceItemGLAcctAPI01

DDL: I_SUPLRINVOICEITEMGLACCTAPI01 SQL: ISINITGLACCAPI01 Type: view COMPOSITE Package: VDM_MM_IV_SI_API

G/L Account Item of Supplier Invoice

I_SuplrInvoiceItemGLAcctAPI01 (Composite)

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

Sourcing & Procurement

I_SuplrInvoiceItemGLAcctAPI01 is a Composite CDS View that provides data about "G/L Account Item of Supplier Invoice" in SAP S/4HANA. It reads from 2 data sources (I_SupplierInvoiceAPI01, I_SupplierInvoiceItemGLAcct) and exposes 48 fields with key fields SupplierInvoice, FiscalYear, SupplierInvoiceItem. It has 2 associations to related views. Part of development package VDM_MM_IV_SI_API.

SAP Help Documentation

CategoryCDS Views for Invoice Processing
Data CategoryBasic (View Type)
StatusReleased
Purpose
This CDS view enables you to get information about supplier invoice items that are posted directly to G/L accounts. This CDS view provides the prerequisites for answering the following business questions: Which supplier invoice items are posted directly to G/L accounts? Which G/L accounts were used for directly posting last year?

Prerequisites
Users who want to run reports using this CDS view must have a role based on the business role template listed in the table above. In this role, the following restriction type must be set to read access: BURKS ( Company Code ) You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Object types This view relates to the following SAP object types: SupplierInvoice CostCenter ProfitCenter SalesOrder Main CDS parameters The main CDS parameters are: SUPPLIERINVOICE used to specify the supplier invoices FISCALYEAR used to specify the fiscal year SUPPLIERINVOICEITEM used to specify the supplier invoice item COSTCENTER used to specify the Cost Center CONTROLLINGAREA used to specify the Controlling Area BUSINESSAREA used to specify the Business Area PROFITCENTER used to specify the Profit Center FUNCTIONALAREA used to specify the functional area GLACCOUNT used to specify the G/L Account Number SALESORDER used to specify the sales order SALESORDERITEM used to specify the sales order item COSTOBJECT used to specify the cost object

View on SAP Help Portal →

SAP API Hub

CategoryComposite
StateC1
Line of BusinessSourcing & Procurement
Application ComponentMM-IV-LIV-2CL
CapabilitiesData Source for Defining CDS Entities,Data Source in SQL Select
Extensible (Key User)Yes
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageSourcing and Procurement for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view enables you to get information about supplier invoice items that are posted directly to G/L accounts.</p> <p>This CDS view provides the prerequisites for answering the following business questions:</p> <ul> <li> <p>Which supplier invoice items are posted directly to G/L accounts?</p> </li> <li> <p>Which G/L accounts were used for directly posting last year?</p> </li> </ul>

Documentation

Data Sources (2)

SourceAliasJoin Type
I_SupplierInvoiceAPI01 I_SupplierInvoiceAPI01 inner
I_SupplierInvoiceItemGLAcct I_SupplierInvoiceItemGLAcct from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_SupplierInvoiceAPI01 _SupplierInvoiceAPI01 $projection.SupplierInvoice = _SupplierInvoiceAPI01.SupplierInvoice and $projection.FiscalYear = _SupplierInvoiceAPI01.FiscalYear
[0..1] E_SupplierInvoiceItemGLAcct _ItemGLAcctExtension $projection.SupplierInvoice = _ItemGLAcctExtension.SupplierInvoice and $projection.FiscalYear = _ItemGLAcctExtension.FiscalYear and $projection.SupplierInvoiceItem = _ItemGLAcctExtension.OrdinalNumber and _ItemGLAcctExtension.SupplierInvoiceItem is initial

Annotations (13)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName ISINITGLACCAPI01 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
EndUserText.label G/L Account Item of Supplier Invoice view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.modelingPattern #NONE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.ignorePropagatedAnnotations true view

Fields (48)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice I_SupplierInvoiceItemGLAcct SupplierInvoice Document Number of an Accounting Document
KEY FiscalYear I_SupplierInvoiceItemGLAcct FiscalYear G/L Fiscal Year
KEY SupplierInvoiceItem OrdinalNumber Four Character Sequential Number for Coding Block
CostCenter CostCenter Cost Center
ControllingArea ControllingArea Controlling Area
BusinessArea BusinessArea Business Area
ProfitCenter ProfitCenter Profit Center
FunctionalArea FunctionalArea Sendr Fctl Area
GLAccount GLAccount G/L Account Number
SalesOrder SalesOrder Sales and Distribution Document Number
SalesOrderItem SalesOrderItem Sales document item
ProjectNetworkInternalID ProjectNetworkInternalID Routing Number of Operations in the Order
NetworkActivityInternalID NetworkActivityInternalID Routing Number of Operations in the Order
ProjectNetwork ProjectNetwork Network Number for Account Assignment
NetworkActivity NetworkActivity Operation/Activity
CostObject CostObject Cost Object
CostCtrActivityType CostCtrActivityType Activity Type
BusinessProcess BusinessProcess Business Process
WBSElementInternalID WBSElementInternalID Work Breakdown Structure Element (WBS Element)
WBSElementInternalID_2 WBSElementInternalID_2 WBS Element
DocumentCurrency I_SupplierInvoiceItemGLAcct DocumentCurrency Document Currency
SupplierInvoiceItemAmount SupplierInvoiceItemAmount Amount in Document Currency
TaxCode TaxCode Tax on Sales/Purchases Code
PersonnelNumber PersonnelNumber Personnel Number
WorkItem WorkItem Work Item ID
DebitCreditCode DebitCreditCode Debit/Credit Indicator
TaxJurisdiction TaxJurisdiction Tax Jurisdiction
SupplierInvoiceItemText SupplierInvoiceItemText Item Text
AssignmentReference I_SupplierInvoiceItemGLAcct AssignmentReference Assignment Reference
IsNotCashDiscountLiable IsNotCashDiscountLiable Indicator: Line Item Not Liable to Cash Discount?
InternalOrder InternalOrder Order Number
CommitmentItem CommitmentItem Commitment item
FundsCenter FundsCenter Funds Center
Fund Fund Sender Fund
GrantID GrantID Sender Grant
QuantityUnit QuantityUnit Base Unit of Measure
Quantity Quantity Quantity
PartnerBusinessArea PartnerBusinessArea Trading Partner's Business Area
FinancialTransactionType FinancialTransactionType Transaction Type
ServiceDocument ServiceDocument Service Document ID
ServiceDocumentItem ServiceDocumentItem Service Document Item ID
ServiceDocumentType ServiceDocumentType Service Document Type
CompanyCode I_SupplierInvoiceItemGLAcct CompanyCode Receiver Company Code
TaxCountry I_SupplierInvoiceItemGLAcct TaxCountry Tax Reporting Country/Region
_SupplierInvoiceAPI01 _SupplierInvoiceAPI01
_Currency I_SupplierInvoiceItemGLAcct _Currency
_UnitOfMeasure _UnitOfMeasure
_WBSElementBasicData _WBSElementBasicData

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_SuplrInvoiceItemGLAcctAPI01.
-- 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: ISINITGLACCAPI01

CREATE VIEW I_SuplrInvoiceItemGLAcctAPI01 AS
SELECT
  I_SupplierInvoiceItemGLAcct.SupplierInvoice AS SupplierInvoice,
  I_SupplierInvoiceItemGLAcct.FiscalYear AS FiscalYear,
  OrdinalNumber AS SupplierInvoiceItem,
  CostCenter,
  ControllingArea,
  BusinessArea,
  ProfitCenter,
  FunctionalArea,
  GLAccount,
  SalesOrder,
  SalesOrderItem,
  ProjectNetworkInternalID,
  NetworkActivityInternalID,
  ProjectNetwork,
  NetworkActivity,
  CostObject,
  CostCtrActivityType,
  BusinessProcess,
  WBSElementInternalID,
  WBSElementInternalID_2,
  I_SupplierInvoiceItemGLAcct.DocumentCurrency AS DocumentCurrency,
  SupplierInvoiceItemAmount,
  TaxCode,
  PersonnelNumber,
  WorkItem,
  DebitCreditCode,
  TaxJurisdiction,
  SupplierInvoiceItemText,
  I_SupplierInvoiceItemGLAcct.AssignmentReference AS AssignmentReference,
  IsNotCashDiscountLiable,
  InternalOrder,
  CommitmentItem,
  FundsCenter,
  Fund,
  GrantID,
  QuantityUnit,
  Quantity,
  PartnerBusinessArea,
  FinancialTransactionType,
  ServiceDocument,
  ServiceDocumentItem,
  ServiceDocumentType,
  I_SupplierInvoiceItemGLAcct.CompanyCode AS CompanyCode,
  I_SupplierInvoiceItemGLAcct.TaxCountry AS TaxCountry,
  I_SupplierInvoiceItemGLAcct._Currency AS _Currency
FROM I_SupplierInvoiceItemGLAcct
INNER JOIN I_SupplierInvoiceAPI01 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_SupplierInvoiceAPI01 AS _SupplierInvoiceAPI01 ON SupplierInvoice = _SupplierInvoiceAPI01.SupplierInvoice AND FiscalYear = _SupplierInvoiceAPI01.FiscalYear  -- association [1..1]
LEFT OUTER JOIN E_SupplierInvoiceItemGLAcct AS _ItemGLAcctExtension ON SupplierInvoice = _ItemGLAcctExtension.SupplierInvoice AND FiscalYear = _ItemGLAcctExtension.FiscalYear AND SupplierInvoiceItem = _ItemGLAcctExtension.OrdinalNumber AND _ItemGLAcctExtension.SupplierInvoiceItem is initial  -- association [0..1]
;