I_SuplrInvcItemAssetTaskUI

DDL: I_SUPLRINVCITEMASSETTASKUI SQL: ISIVITMASTTASKUI Type: view COMPOSITE

Supplier Invoice Items with Asset

I_SuplrInvcItemAssetTaskUI is a Composite CDS View that provides data about "Supplier Invoice Items with Asset" in SAP S/4HANA. It reads from 1 data source (I_SupplierInvoiceItemAsset) and exposes 16 fields with key fields SupplierInvoice, FiscalYear, SupplierInvoiceItem. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_SupplierInvoiceItemAsset I_SupplierInvoiceItemAsset from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_SuplrInvcItemAssetCount _GLItemCount _GLItemCount.SupplierInvoice = $projection.SupplierInvoice and _GLItemCount.FiscalYear = $projection.FiscalYear
[0..1] I_FixedAsset _FixAssetText _FixAssetText.MasterFixedAsset = $projection.MasterFixedAsset and _FixAssetText.FixedAsset = $projection.FixedAsset and _FixAssetText.CompanyCode = $projection.CompanyCode

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ISIVITMASTTASKUI view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Supplier Invoice Items with Asset view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice SupplierInvoice SD Document
KEY FiscalYear FiscalYear G/L Fiscal Year
KEY SupplierInvoiceItem Sequence Number
CompanyCode CompanyCode Receiver Company Code
MasterFixedAsset MasterFixedAsset Fixed Asset
FixedAsset FixedAsset Sub-number
DebitCreditCode DebitCreditCode Single-Character Flag
DocumentCurrency DocumentCurrency Document Currency
QuantityUnit QuantityUnit Unit of measure
Quantity Quantity Value
TaxCode TaxCode Tax Code
SupplierInvoiceItemText SupplierInvoiceItemText Text
_SupplierInvoice _SupplierInvoice
_Currency _Currency
_FixAssetText _FixAssetText
_UnitOfMeasure _UnitOfMeasure

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_SuplrInvcItemAssetTaskUI.
-- 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: ISIVITMASTTASKUI

CREATE VIEW I_SuplrInvcItemAssetTaskUI AS
SELECT
  SupplierInvoice,
  FiscalYear,
  cast ( cast ( coalesce( cast ( OrdinalNumber as abap.int2 ) - _GLItemCount.NumberOfItems , cast ( OrdinalNumber as abap.int2 ) ) as char0016 ) as rblgp ) AS SupplierInvoiceItem,
  CompanyCode,
  MasterFixedAsset,
  FixedAsset,
  DebitCreditCode,
  DocumentCurrency,
  QuantityUnit,
  Quantity,
  TaxCode,
  SupplierInvoiceItemText
FROM I_SupplierInvoiceItemAsset
LEFT OUTER JOIN I_SuplrInvcItemAssetCount AS _GLItemCount ON _GLItemCount.SupplierInvoice = SupplierInvoice AND _GLItemCount.FiscalYear = FiscalYear  -- association [0..1]
LEFT OUTER JOIN I_FixedAsset AS _FixAssetText ON _FixAssetText.MasterFixedAsset = MasterFixedAsset AND _FixAssetText.FixedAsset = FixedAsset AND _FixAssetText.CompanyCode = CompanyCode  -- association [0..1]
;