I_CFinRpldSupplierInvoice
CFin Rpld Supplier Invoice: Header
I_CFinRpldSupplierInvoice is a Basic CDS View that provides data about "CFin Rpld Supplier Invoice: Header" in SAP S/4HANA. It reads from 1 data source (cfin_av_si_root) and exposes 20 fields with key fields SenderLogicalSystem, CFinRpldSupplierInvoice, FiscalYear. It has 5 associations to related views. Part of development package FINS_CFIN_ACC_VIEW.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cfin_av_si_root | cfin_av_si_root | from |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_Currency | _Currency | $projection.DocumentCurrency = _Currency.Currency |
| [0..*] | I_CFinRpldSupplierInvoiceItem | _Item | $projection.SenderLogicalSystem = _Item.SenderLogicalSystem and $projection.CFinRpldSupplierInvoice = _Item.CFinRpldSupplierInvoice and $projection.FiscalYear = _Item.FiscalYear |
| [0..1] | I_LogicalSystem | _LogicalSystem | $projection.SenderLogicalSystem = _LogicalSystem.LogicalSystem |
| [1..1] | E_CFinRpldSupplierInvoice | _Extension | $projection.CFinRpldSupplierInvoice = _Extension.CFinRpldSupplierInvoice and $projection.SenderLogicalSystem = _Extension.SourceSystemLogicalSystem and $projection.FiscalYear = _Extension.FiscalYear |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | CFin Rpld Supplier Invoice: Header | view | |
| VDM.viewType | #BASIC | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | ICFINRSIROOT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SenderLogicalSystem | cfin_av_si_root | fins_logsys | Logical system |
| KEY | CFinRpldSupplierInvoice | |||
| KEY | FiscalYear | cfin_av_si_root | gjahr | Settlement Year |
| DocumentDate | cfin_av_si_root | bldat | Journal Entry Date | |
| CompanyCode | cfin_av_si_root | bukrs | Value | |
| SupplierInvoiceStatus | cfin_av_si_root | rbstat | not in use | |
| ReverseDocument | cfin_av_si_root | stblg | Reversed With | |
| ReverseDocumentFiscalYear | cfin_av_si_root | stjah | Year | |
| SupplierInvoiceOrigin | cfin_av_si_root | ivtyp | IV category | |
| DocumentCurrency | cfin_av_si_root | waers | Transaction Currency | |
| SuplrInvcTransactionCategory | cfin_av_si_root | vgart | Transactn Type | |
| InvoicingParty | cfin_av_si_root | lifnr | Vendor no. | |
| CreationDate | cfin_av_si_root | cpudt | Imported On | |
| ElectronicInvoiceUUID | cfin_av_si_root | logmx_uuid | Mexico UUID | |
| IsEndOfPurposeBlocked | ||||
| IsInvoice | cfin_av_si_root | xrech | Invoice | |
| _CompanyCode | _CompanyCode | |||
| _Currency | _Currency | |||
| _Item | _Item | |||
| _LogicalSystem | _LogicalSystem |
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_CFinRpldSupplierInvoice.
-- 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: ICFINRSIROOT
CREATE VIEW I_CFinRpldSupplierInvoice AS
SELECT
cfin_av_si_root.fins_logsys AS SenderLogicalSystem,
cast(cfin_av_si_root.belnr as fins_cfin_av_rpld_suplr_invc preserving type ) AS CFinRpldSupplierInvoice,
cfin_av_si_root.gjahr AS FiscalYear,
cfin_av_si_root.bldat AS DocumentDate,
cfin_av_si_root.bukrs AS CompanyCode,
cfin_av_si_root.rbstat AS SupplierInvoiceStatus,
cfin_av_si_root.stblg AS ReverseDocument,
cfin_av_si_root.stjah AS ReverseDocumentFiscalYear,
cfin_av_si_root.ivtyp AS SupplierInvoiceOrigin,
cfin_av_si_root.waers AS DocumentCurrency,
cfin_av_si_root.vgart AS SuplrInvcTransactionCategory,
cfin_av_si_root.lifnr AS InvoicingParty,
cfin_av_si_root.cpudt AS CreationDate,
cfin_av_si_root.logmx_uuid AS ElectronicInvoiceUUID,
' ' AS IsEndOfPurposeBlocked,
cfin_av_si_root.xrech AS IsInvoice
FROM cfin_av_si_root
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON DocumentCurrency = _Currency.Currency -- association [0..1]
LEFT OUTER JOIN I_CFinRpldSupplierInvoiceItem AS _Item ON SenderLogicalSystem = _Item.SenderLogicalSystem AND CFinRpldSupplierInvoice = _Item.CFinRpldSupplierInvoice AND FiscalYear = _Item.FiscalYear -- association [0..*]
LEFT OUTER JOIN I_LogicalSystem AS _LogicalSystem ON SenderLogicalSystem = _LogicalSystem.LogicalSystem -- association [0..1]
LEFT OUTER JOIN E_CFinRpldSupplierInvoice AS _Extension ON CFinRpldSupplierInvoice = _Extension.CFinRpldSupplierInvoice AND SenderLogicalSystem = _Extension.SourceSystemLogicalSystem AND FiscalYear = _Extension.FiscalYear -- 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