C_CABillgDocInvcgDocSource
Fakturierungsbeleg Quellen
C_CABillgDocInvcgDocSource is a Consumption CDS View that provides data about "Fakturierungsbeleg Quellen" in SAP S/4HANA. It reads from 1 data source (I_CAInvcgDocSource) and exposes 18 fields with key fields CAInvoicingDocument, CAInvcgSourceDocumentNumber, CAInvcgSourceDocumentCat. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CAInvcgDocSource | _CAInvDocSource | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CAInvcgDocHeader | _CAInvcgDocHeader | $projection.CAInvoicingDocument = _CAInvcgDocHeader.CAInvoicingDocument |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.query.implementedBy | ABAP:CL_CINV_RAP_QRY_BILLDOC_DSP | view | |
| Metadata.allowExtensions | true | view | |
| VDM.viewType | #CONSUMPTION | view | |
| EndUserText.label | Fakturierungsbeleg Quellen | view |
Fields (18)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CAInvoicingDocument | I_CAInvcgDocSource | CAInvoicingDocument | Invoic. Doc. |
| KEY | CAInvcgSourceDocumentNumber | I_CAInvcgDocSource | CAInvcgSourceDocumentNumber | Source Document Number |
| KEY | CAInvcgSourceDocumentCat | I_CAInvcgDocSource | CAInvcgSourceDocumentCat | Source Document Category |
| CAInvcgSourceDocumentSemObj | ||||
| CAInvcgSourceDocumentType | I_CAInvcgDocSource | CAInvcgSourceDocumentType | Source Doc.Type | |
| CAInvcgIsDocumentSimulated | I_CAInvcgDocSource | CAInvcgIsDocumentSimulated | Doc. Simulated | |
| CAInvcgIsDocumentPreliminary | I_CAInvcgDocSource | CAInvcgIsDocumentPreliminary | Preliminary Invoice | |
| LogicalSystem | I_CAInvcgDocSource | LogicalSystem | Logical System | |
| CAApplicationArea | I_CAInvcgDocSource | CAApplicationArea | ApplicationArea | |
| CAInvcgIsDocumentPosted | I_CAInvcgDocSource | CAInvcgIsDocumentPosted | Document Posted | |
| CAInvcgReversalDocument | I_CAInvcgDocSource | CAInvcgReversalDocument | Reversal Doc. | |
| CAInvcgReversedDocument | I_CAInvcgDocSource | CAInvcgReversedDocument | Reversed Invoicing Doc | |
| CABillgDocument | ||||
| CAInvcgSourceDocCatText | ||||
| CAInvcgSourceDocTypeText | ||||
| _CAInvcgDocHeader | _CAInvcgDocHeader | |||
| _CAInvcgSourceDocCat | _CAInvcgSourceDocCat | |||
| _CAInvcgSourceDocType | _CAInvcgSourceDocType |
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 C_CABillgDocInvcgDocSource.
-- 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 C_CABillgDocInvcgDocSource AS
SELECT
_CAInvDocSource.CAInvoicingDocument AS CAInvoicingDocument,
_CAInvDocSource.CAInvcgSourceDocumentNumber AS CAInvcgSourceDocumentNumber,
_CAInvDocSource.CAInvcgSourceDocumentCat AS CAInvcgSourceDocumentCat,
_CAInvDocSource._CAInvcgSourceDocCat.CAInvcgSourceDocumentSemObj AS CAInvcgSourceDocumentSemObj,
_CAInvDocSource.CAInvcgSourceDocumentType AS CAInvcgSourceDocumentType,
_CAInvDocSource.CAInvcgIsDocumentSimulated AS CAInvcgIsDocumentSimulated,
_CAInvDocSource.CAInvcgIsDocumentPreliminary AS CAInvcgIsDocumentPreliminary,
_CAInvDocSource.LogicalSystem AS LogicalSystem,
_CAInvDocSource.CAApplicationArea AS CAApplicationArea,
_CAInvDocSource.CAInvcgIsDocumentPosted AS CAInvcgIsDocumentPosted,
_CAInvDocSource.CAInvcgReversalDocument AS CAInvcgReversalDocument,
_CAInvDocSource.CAInvcgReversedDocument AS CAInvcgReversedDocument,
cast( '' as billdocno_kk ) AS CABillgDocument,
_CAInvcgSourceDocCat._CAInvcgSourceDocCatText[1: Language=$session.system_language].CAInvcgSourceDocCatText AS CAInvcgSourceDocCatText,
_CAInvcgSourceDocType._CAInvcgSourceDocTypeText[1: Language=$session.system_language].CAInvcgSourceDocTypeText AS CAInvcgSourceDocTypeText
FROM I_CAInvcgDocSource AS _CAInvDocSource
LEFT OUTER JOIN I_CAInvcgDocHeader AS _CAInvcgDocHeader ON CAInvoicingDocument = _CAInvcgDocHeader.CAInvoicingDocument -- association [0..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