C_CAInvcgDocRelation

DDL: C_CAINVCGDOCRELATION Type: view_entity CONSUMPTION

Fakturierungsbeleg Objektverknüpfungen

C_CAInvcgDocRelation is a Consumption CDS View that provides data about "Fakturierungsbeleg Objektverknüpfungen" in SAP S/4HANA. It reads from 1 data source (I_CAInvcgDocRelation) and exposes 13 fields with key fields CAInvoicingDocument, CAInvcgReferenceObject, CAReferenceObjectID, CAInvcgCreationDate. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
I_CAInvcgDocRelation _CAInvcgDocRelation from

Associations (1)

CardinalityTargetAliasCondition
[1..1] C_CAInvcgDocHeader _CAInvcgDocHeader $projection.CAInvoicingDocument = _CAInvcgDocHeader.CAInvoicingDocument

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
Metadata.allowExtensions true view
VDM.viewType #CONSUMPTION view
EndUserText.label Fakturierungsbeleg Objektverknüpfungen view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY CAInvoicingDocument I_CAInvcgDocRelation CAInvoicingDocument Invoic. Doc.
KEY CAInvcgReferenceObject I_CAInvcgDocRelation CAInvcgReferenceObject Reference Obj.
KEY CAReferenceObjectID I_CAInvcgDocRelation CAReferenceObjectID Reference ID
KEY CAInvcgCreationDate I_CAInvcgDocRelation CAInvcgCreationDate Invoiced On
CAInvcgReferenceObjectSemObj
CAInvcgReferenceObjectSemObj_H
CAInvcgIsDocumentSimulated I_CAInvcgDocRelation CAInvcgIsDocumentSimulated Doc. Simulated
CAInvcgIsDocumentPreliminary I_CAInvcgDocRelation CAInvcgIsDocumentPreliminary Preliminary Invoice
CAInvcgIsDocumentPosted I_CAInvcgDocRelation CAInvcgIsDocumentPosted Document Posted
CAInvcgReferenceObjText
CAReferenceObjectAddlText I_CAInvcgDocRelation CAReferenceObjectAddlText
_CAInvcgReferenceObj _CAInvcgReferenceObj
_CAInvcgDocHeader _CAInvcgDocHeader

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_CAInvcgDocRelation.
-- 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_CAInvcgDocRelation AS
SELECT
  _CAInvcgDocRelation.CAInvoicingDocument AS CAInvoicingDocument,
  _CAInvcgDocRelation.CAInvcgReferenceObject AS CAInvcgReferenceObject,
  _CAInvcgDocRelation.CAReferenceObjectID AS CAReferenceObjectID,
  _CAInvcgDocRelation.CAInvcgCreationDate AS CAInvcgCreationDate,
  _CAInvcgDocRelation._CAInvcgReferenceObj.CAInvcgReferenceObjectSemObj AS CAInvcgReferenceObjectSemObj,
  _CAInvcgDocRelation._CAInvcgReferenceObj.CAInvcgReferenceObjectSemObj AS CAInvcgReferenceObjectSemObj_H,
  _CAInvcgDocRelation.CAInvcgIsDocumentSimulated AS CAInvcgIsDocumentSimulated,
  _CAInvcgDocRelation.CAInvcgIsDocumentPreliminary AS CAInvcgIsDocumentPreliminary,
  _CAInvcgDocRelation.CAInvcgIsDocumentPosted AS CAInvcgIsDocumentPosted,
  _CAInvcgReferenceObj._CAInvcgReferenceObjText[1: Language=$session.system_language].CAInvcgReferenceObjText AS CAInvcgReferenceObjText,
  _CAInvcgDocRelation.CAReferenceObjectAddlText AS CAReferenceObjectAddlText
FROM I_CAInvcgDocRelation AS _CAInvcgDocRelation
LEFT OUTER JOIN C_CAInvcgDocHeader AS _CAInvcgDocHeader ON CAInvoicingDocument = _CAInvcgDocHeader.CAInvoicingDocument  -- association [1..1]
;