A_CFinRpldBillingDocument
CFin Rpld Billing Document (API)
A_CFinRpldBillingDocument is a Consumption CDS View that provides data about "CFin Rpld Billing Document (API)" in SAP S/4HANA. It reads from 1 data source (cfin_avci_doce) and exposes 20 fields with key fields SourceSystemLogicalSystem, CFinReplicatedBillingDocument. It has 2 associations to related views. It is exposed through 1 OData service (API_CFINRPLDBILLINGDOCUMENT).
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| cfin_avci_doce | cfin_avci_doce | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | E_CFinRpldBillingDocument | _Extension | $projection.CFinReplicatedBillingDocument = _Extension.CFinReplicatedBillingDocument and $projection.SourceSystemLogicalSystem = _Extension.SourceSystemLogicalSystem |
| [0..*] | A_CFinRpldBillingDocumentItem | _CFinRpldBillingDocumentItem | |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| EndUserText.label | CFin Rpld Billing Document (API) | view | |
| VDM.lifecycle.contract.type | #PUBLIC_REMOTE_API | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.sapObjectNodeType.name | CFinReplicatedBillingDocument | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| API_CFINRPLDBILLINGDOCUMENT | API_CFINRPLDBILLINGDOC | V4 | C2 | C1 |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SourceSystemLogicalSystem | cfin_avci_doce | sourcesystemlogicalsystem | Sender Log Sys. |
| KEY | CFinReplicatedBillingDocument | cfin_avci_doce | cfinreplicatedbillingdocument | Central Finance Repl. Billing Document |
| SoldToParty | cfin_avci_doce | soldtoparty | Sold-to Party | |
| SDDocumentCategory | cfin_avci_doce | sddocumentcategory | Document Cat. | |
| CreationDate | cfin_avci_doce | creationdate | Time Stamp | |
| CompanyCode | cfin_avci_doce | companycode | Receiver Company Code | |
| CancelledBillingDocument | cfin_avci_doce | cancelledbillingdocument | Canceld Bill.Dc | |
| BillingDocumentDate | cfin_avci_doce | billingdocumentdate | Billing Date | |
| TransactionCurrency | cfin_avci_doce | transactioncurrency | Transaction Currency | |
| AccountingExchangeRate | Exch.Rate Acct. | |||
| PayerParty | cfin_avci_doce | payerparty | Payer | |
| TaxDepartureCountry | cfin_avci_doce | taxdeparturecountry | Tx Dep Ctry/Reg | |
| ExchangeRateDate | cfin_avci_doce | exchangeratedate | Translatn Date | |
| BillingDocumentIsCancelled | cfin_avci_doce | billingdocumentiscancelled | Canceled | |
| VATRegistrationOrigin | cfin_avci_doce | vatregistrationorigin | OriginSlsTxNo. | |
| BillingDocumentCategory | cfin_avci_doce | billingdocumentcategory | BillingCategory | |
| IsDeleted | cfin_avci_doce | isdeleted | TRUE | |
| LastChangeDateTime | cfin_avci_doce | lastchangedatetime | Timestamp | |
| BillToParty | cfin_avci_doce | billtoparty | Inv. Recipient | |
| _CFinRpldBillingDocumentItem | _CFinRpldBillingDocumentItem |
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 A_CFinRpldBillingDocument.
-- 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.
CREATE VIEW A_CFinRpldBillingDocument AS
SELECT
cfin_avci_doce.sourcesystemlogicalsystem AS SourceSystemLogicalSystem,
cfin_avci_doce.cfinreplicatedbillingdocument AS CFinReplicatedBillingDocument,
cfin_avci_doce.soldtoparty AS SoldToParty,
cfin_avci_doce.sddocumentcategory AS SDDocumentCategory,
cfin_avci_doce.creationdate AS CreationDate,
cfin_avci_doce.companycode AS CompanyCode,
cfin_avci_doce.cancelledbillingdocument AS CancelledBillingDocument,
cfin_avci_doce.billingdocumentdate AS BillingDocumentDate,
cfin_avci_doce.transactioncurrency AS TransactionCurrency,
cast( accountingexchangerate as kurrf_not_converted preserving type ) AS AccountingExchangeRate,
cfin_avci_doce.payerparty AS PayerParty,
cfin_avci_doce.taxdeparturecountry AS TaxDepartureCountry,
cfin_avci_doce.exchangeratedate AS ExchangeRateDate,
cfin_avci_doce.billingdocumentiscancelled AS BillingDocumentIsCancelled,
cfin_avci_doce.vatregistrationorigin AS VATRegistrationOrigin,
cfin_avci_doce.billingdocumentcategory AS BillingDocumentCategory,
cfin_avci_doce.isdeleted AS IsDeleted,
cfin_avci_doce.lastchangedatetime AS LastChangeDateTime,
cfin_avci_doce.billtoparty AS BillToParty
FROM cfin_avci_doce
LEFT OUTER JOIN E_CFinRpldBillingDocument AS _Extension ON CFinReplicatedBillingDocument = _Extension.CFinReplicatedBillingDocument AND SourceSystemLogicalSystem = _Extension.SourceSystemLogicalSystem -- association [1..1]
LEFT OUTER JOIN A_CFinRpldBillingDocumentItem AS _CFinRpldBillingDocumentItem ON /* condition not available in parsed metadata */ -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- 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