R_CAInvcgDocSourceTP
Invoicing Document Source Item - TP
R_CAInvcgDocSourceTP is a Transactional CDS View that provides data about "Invoicing Document Source Item - TP" in SAP S/4HANA. It reads from 1 data source (I_CAInvcgDocSource) and exposes 19 fields with key fields CAInvcgSourceDocumentCat, CAInvcgSourceDocumentNumber, CAInvoicingDocument. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CAInvcgDocSource | _CAInvcgDocSource | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | R_CAInvcgDocumentTP | _CAInvcgDocument | $projection.CAInvoicingDocument = _CAInvcgDocument.CAInvoicingDocument |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Invoicing Document Source Item - TP | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.representativeKey | CAInvcgSourceDocumentNumber | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CAInvcgSourceDocumentCat | CAInvcgSourceDocumentCat | Source Document Category | |
| KEY | CAInvcgSourceDocumentNumber | CAInvcgSourceDocumentNumber | Source Document Number | |
| KEY | CAInvoicingDocument | CAInvoicingDocument | Invoic. Doc. | |
| CAInvcgSourceDocumentType | CAInvcgSourceDocumentType | Source Doc.Type | ||
| LogicalSystem | LogicalSystem | Logical System | ||
| CAApplicationArea | CAApplicationArea | ApplicationArea | ||
| CAInvcgIsDocumentPosted | CAInvcgIsDocumentPosted | Document Posted | ||
| CAInvcgIsDocumentSimulated | CAInvcgIsDocumentSimulated | Doc. Simulated | ||
| CAInvcgIsDocumentPreliminary | CAInvcgIsDocumentPreliminary | Preliminary Invoice | ||
| CAInvcgReversalDocument | CAInvcgReversalDocument | Reversal Doc. | ||
| CAInvcgReversedDocument | CAInvcgReversedDocument | Reversed Invoicing Doc | ||
| CAInvcgCreationDate | CAInvcgCreationDate | Invoiced On | ||
| CAInvcgCreationTime | CAInvcgCreationTime | Invoiced At | ||
| _CAInvcgSourceDocCat | _CAInvcgSourceDocCat | |||
| _CAInvcgSourceDocType | _CAInvcgSourceDocType | |||
| _CAApplicationArea | _CAApplicationArea | |||
| _CAInvcgReversalDocument | _CAInvcgReversalDocument | |||
| _CAInvcgReversedDocument | _CAInvcgReversedDocument | |||
| _CAInvcgDocument | _CAInvcgDocument |
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 R_CAInvcgDocSourceTP.
-- 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 R_CAInvcgDocSourceTP AS
SELECT
CAInvcgSourceDocumentCat,
CAInvcgSourceDocumentNumber,
CAInvoicingDocument,
CAInvcgSourceDocumentType,
LogicalSystem,
CAApplicationArea,
CAInvcgIsDocumentPosted,
CAInvcgIsDocumentSimulated,
CAInvcgIsDocumentPreliminary,
CAInvcgReversalDocument,
CAInvcgReversedDocument,
CAInvcgCreationDate,
CAInvcgCreationTime
FROM I_CAInvcgDocSource AS _CAInvcgDocSource
LEFT OUTER JOIN R_CAInvcgDocumentTP AS _CAInvcgDocument ON CAInvoicingDocument = _CAInvcgDocument.CAInvoicingDocument -- 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