I_SupplierInvoiceItmAcctAssgmt
Supplier Invoice Item Account Assignment
I_SupplierInvoiceItmAcctAssgmt is a Basic CDS View that provides data about "Supplier Invoice Item Account Assignment" in SAP S/4HANA. It reads from 1 data source (rbco) and exposes 64 fields with key fields SupplierInvoice, FiscalYear, SupplierInvoiceItem, OrdinalNumber. It has 13 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| rbco | rbco | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_SupplierInvoiceItemPurOrdRef | _SupplierInvoiceItemPurOrdRef | $projection.SupplierInvoice = _SupplierInvoiceItemPurOrdRef.SupplierInvoice and $projection.FiscalYear = _SupplierInvoiceItemPurOrdRef.FiscalYear and $projection.SupplierInvoiceItem = _SupplierInvoiceItemPurOrdRef.SupplierInvoiceItem |
| [1..1] | I_SupplierInvoice | _SupplierInvoice | $projection.SupplierInvoice = _SupplierInvoice.SupplierInvoice and $projection.FiscalYear = _SupplierInvoice.FiscalYear |
| [0..*] | I_CostCenter | _CostCenter | $projection.CostCenter = _CostCenter.CostCenter and $projection.ControllingArea = _CostCenter.ControllingArea |
| [0..*] | I_GLAccount | _GLAccount | $projection.GLAccount = _GLAccount.GLAccount |
| [0..1] | I_BusinessArea | _BusinessArea | $projection.BusinessArea = _BusinessArea.BusinessArea |
| [0..*] | I_ProfitCenter | _ProfitCenter | $projection.ControllingArea = _ProfitCenter.ControllingArea and $projection.ProfitCenter = _ProfitCenter.ProfitCenter |
| [0..1] | I_SalesOrder | _SalesOrder | $projection.SalesOrder = _SalesOrder.SalesOrder |
| [0..1] | I_SalesOrderItem | _SalesOrderItem | $projection.SalesOrderItem = _SalesOrderItem.SalesOrder and $projection.SalesOrder = _SalesOrderItem.SalesOrderItem |
| [0..1] | I_ControllingArea | _ControllingArea | $projection.ControllingArea = _ControllingArea.ControllingArea |
| [0..1] | I_FunctionalArea | _FunctionalArea | $projection.FunctionalArea = _FunctionalArea.FunctionalArea |
| [0..1] | I_Currency | _Currency | $projection.documentcurrency = _Currency.Currency |
| [1..1] | I_UnitOfMeasure | _UnitOfMeasure | $projection.purchaseorderquantityunit = _UnitOfMeasure.UnitOfMeasure |
| [1..1] | I_WBSElementBasicData | _WBSElementBasicData | $projection.WBSElementInternalID_2 = _WBSElementBasicData.WBSElementInternalID |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Supplier Invoice Item Account Assignment | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| AbapCatalog.sqlViewName | ISIITMACCTASSGMT | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.preserveKey | true | view | |
| AbapCatalog.compiler.compareFilter | true | view |
Fields (64)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SupplierInvoice | rbco | belnr | SD Document |
| KEY | FiscalYear | rbco | gjahr | Settlement Year |
| KEY | SupplierInvoiceItem | rbco | buzei | Posting View Item |
| KEY | OrdinalNumber | rbco | cobl_nr | Seq. Number |
| CostCenter | rbco | kostl | Substitute CC | |
| ControllingArea | rbco | kokrs | Org. Value | |
| BusinessArea | rbco | gsber | Business Area | |
| ProfitCenter | rbco | prctr | Profit Centers | |
| FunctionalArea | rbco | fkber | Functional Area | |
| GLAccount | rbco | saknr | G/L Account | |
| SalesOrder | rbco | vbeln | SD Sched. Agmt | |
| SalesOrderItem | rbco | vbelp | Schd. Agmt Item | |
| CostObject | rbco | kstrg | Cost Objects | |
| CostCtrActivityType | rbco | lstar | Activity Type | |
| BusinessProcess | rbco | prznr | Sender BProc | |
| WBSElementInternalID | rbco | ps_psp_pnr | WBS Element | |
| WBSElementInternalID_2 | ||||
| DocumentCurrency | _SupplierInvoice | DocumentCurrency | Document Currency | |
| SupplierInvoiceItemAmount | rbco | wrbtr | Gross Amount | |
| PurchaseOrderQuantityUnit | _SupplierInvoiceItemPurOrdRef | PurchaseOrderQuantityUnit | Order Unit | |
| Quantity | rbco | menge | WarrCountValue | |
| TaxCode | rbco | mwskz | Tax Code | |
| AccountAssignmentNumber | rbco | zekkn | Account Assgmt No. | |
| AccountAssignmentIsUnplanned | rbco | xunpl | UAcctAssignment | |
| PersonnelNumber | rbco | pernr | Personnel no. | |
| WorkItem | rbco | work_item_id | Work Item ID | |
| MasterFixedAsset | rbco | anln1 | Asset | |
| FixedAsset | rbco | anln2 | Sub-number | |
| DebitCreditCode | rbco | shkzg | Returns | |
| TaxJurisdiction | rbco | txjcd | Tax Jurisdict. | |
| InternalOrder | rbco | aufnr | SettlementOrder | |
| ProjectNetworkInternalID | rbco | aufpl | TaskList No.Ops | |
| NetworkActivityInternalID | rbco | aplzl | Plan No.f.Oper. | |
| ProjectNetwork | rbco | nplnr | Network | |
| NetworkActivity | rbco | vornr | Operation | |
| CommitmentItem | rbco | fipos | Commitment item | |
| FundsCenter | rbco | fistl | Funds Center | |
| Fund | rbco | geber | Fund | |
| GrantID | rbco | grant_nbr | Receiver Grant | |
| PartnerBusinessArea | rbco | pargb | Trdg Part.BA | |
| CompanyCode | rbco | bukrs | Value | |
| SuplrInvcAccountAssignmentText | rbco | sgtxt | Text | |
| QuantityInPurchaseOrderUnit | rbco | bpmng | Qty. in OPUn | |
| ProfitabilitySegment | rbco | paobjnr | Profit. segment | |
| BudgetPeriod | rbco | budget_pd | Rec BudPer | |
| TaxCountry | rbco | tax_country | Tax Ctry/Rgn | |
| ServiceDocument | rbco | service_doc_id | Transaction ID | |
| ServiceDocumentItem | rbco | service_doc_item_id | Service Doc. Item | |
| ServiceDocumentType | rbco | service_doc_type | Transaction Type | |
| TaxDeterminationDate | rbco | txdat | Tax Date | |
| QuantityAsFloatValue | rbco | menge_f | Qty (FP Number) | |
| _SupplierInvoiceItemPurOrdRef | _SupplierInvoiceItemPurOrdRef | |||
| _SupplierInvoice | _SupplierInvoice | |||
| _CostCenter | _CostCenter | |||
| _BusinessArea | _BusinessArea | |||
| _ProfitCenter | _ProfitCenter | |||
| _SalesOrderItem | _SalesOrderItem | |||
| _SalesOrder | _SalesOrder | |||
| _ControllingArea | _ControllingArea | |||
| _GLAccount | _GLAccount | |||
| _FunctionalArea | _FunctionalArea | |||
| _Currency | _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_SupplierInvoiceItmAcctAssgmt.
-- 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: ISIITMACCTASSGMT
CREATE VIEW I_SupplierInvoiceItmAcctAssgmt AS
SELECT
rbco.belnr AS SupplierInvoice,
rbco.gjahr AS FiscalYear,
rbco.buzei AS SupplierInvoiceItem,
rbco.cobl_nr AS OrdinalNumber,
rbco.kostl AS CostCenter,
rbco.kokrs AS ControllingArea,
rbco.gsber AS BusinessArea,
rbco.prctr AS ProfitCenter,
rbco.fkber AS FunctionalArea,
rbco.saknr AS GLAccount,
rbco.vbeln AS SalesOrder,
rbco.vbelp AS SalesOrderItem,
rbco.kstrg AS CostObject,
rbco.lstar AS CostCtrActivityType,
rbco.prznr AS BusinessProcess,
rbco.ps_psp_pnr AS WBSElementInternalID,
cast(rbco.ps_psp_pnr as ps_s4_pspnr) AS WBSElementInternalID_2,
_SupplierInvoice.DocumentCurrency AS DocumentCurrency,
rbco.wrbtr AS SupplierInvoiceItemAmount,
_SupplierInvoiceItemPurOrdRef.PurchaseOrderQuantityUnit AS PurchaseOrderQuantityUnit,
rbco.menge AS Quantity,
rbco.mwskz AS TaxCode,
rbco.zekkn AS AccountAssignmentNumber,
rbco.xunpl AS AccountAssignmentIsUnplanned,
rbco.pernr AS PersonnelNumber,
rbco.work_item_id AS WorkItem,
rbco.anln1 AS MasterFixedAsset,
rbco.anln2 AS FixedAsset,
rbco.shkzg AS DebitCreditCode,
rbco.txjcd AS TaxJurisdiction,
rbco.aufnr AS InternalOrder,
rbco.aufpl AS ProjectNetworkInternalID,
rbco.aplzl AS NetworkActivityInternalID,
rbco.nplnr AS ProjectNetwork,
rbco.vornr AS NetworkActivity,
rbco.fipos AS CommitmentItem,
rbco.fistl AS FundsCenter,
rbco.geber AS Fund,
rbco.grant_nbr AS GrantID,
rbco.pargb AS PartnerBusinessArea,
rbco.bukrs AS CompanyCode,
rbco.sgtxt AS SuplrInvcAccountAssignmentText,
rbco.bpmng AS QuantityInPurchaseOrderUnit,
rbco.paobjnr AS ProfitabilitySegment,
rbco.budget_pd AS BudgetPeriod,
rbco.tax_country AS TaxCountry,
rbco.service_doc_id AS ServiceDocument,
rbco.service_doc_item_id AS ServiceDocumentItem,
rbco.service_doc_type AS ServiceDocumentType,
rbco.txdat AS TaxDeterminationDate,
rbco.menge_f AS QuantityAsFloatValue
FROM rbco
LEFT OUTER JOIN I_SupplierInvoiceItemPurOrdRef AS _SupplierInvoiceItemPurOrdRef ON SupplierInvoice = _SupplierInvoiceItemPurOrdRef.SupplierInvoice AND FiscalYear = _SupplierInvoiceItemPurOrdRef.FiscalYear AND SupplierInvoiceItem = _SupplierInvoiceItemPurOrdRef.SupplierInvoiceItem -- association [1..1]
LEFT OUTER JOIN I_SupplierInvoice AS _SupplierInvoice ON SupplierInvoice = _SupplierInvoice.SupplierInvoice AND FiscalYear = _SupplierInvoice.FiscalYear -- association [1..1]
LEFT OUTER JOIN I_CostCenter AS _CostCenter ON CostCenter = _CostCenter.CostCenter AND ControllingArea = _CostCenter.ControllingArea -- association [0..*]
LEFT OUTER JOIN I_GLAccount AS _GLAccount ON GLAccount = _GLAccount.GLAccount -- association [0..*]
LEFT OUTER JOIN I_BusinessArea AS _BusinessArea ON BusinessArea = _BusinessArea.BusinessArea -- association [0..1]
LEFT OUTER JOIN I_ProfitCenter AS _ProfitCenter ON ControllingArea = _ProfitCenter.ControllingArea AND ProfitCenter = _ProfitCenter.ProfitCenter -- association [0..*]
LEFT OUTER JOIN I_SalesOrder AS _SalesOrder ON SalesOrder = _SalesOrder.SalesOrder -- association [0..1]
LEFT OUTER JOIN I_SalesOrderItem AS _SalesOrderItem ON SalesOrderItem = _SalesOrderItem.SalesOrder AND SalesOrder = _SalesOrderItem.SalesOrderItem -- association [0..1]
LEFT OUTER JOIN I_ControllingArea AS _ControllingArea ON ControllingArea = _ControllingArea.ControllingArea -- association [0..1]
LEFT OUTER JOIN I_FunctionalArea AS _FunctionalArea ON FunctionalArea = _FunctionalArea.FunctionalArea -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON documentcurrency = _Currency.Currency -- association [0..1]
LEFT OUTER JOIN I_UnitOfMeasure AS _UnitOfMeasure ON purchaseorderquantityunit = _UnitOfMeasure.UnitOfMeasure -- association [1..1]
LEFT OUTER JOIN I_WBSElementBasicData AS _WBSElementBasicData ON WBSElementInternalID_2 = _WBSElementBasicData.WBSElementInternalID -- association [1..1]
;
Learn More
- 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
- S/4HANA CDS View Deprecation: What You Need to Know
- 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