I_CABillgDocInvcgDoc

DDL: I_CABILLGDOCINVCGDOC Type: view_entity BASIC

Fakturierungsbeleg für Abrechnungsbeleg

I_CABillgDocInvcgDoc is a Basic CDS View that provides data about "Fakturierungsbeleg für Abrechnungsbeleg" in SAP S/4HANA. It reads from 1 data source (dfkkinvdoc_s) and exposes 3 fields with key field CABillgDocument. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
dfkkinvdoc_s dfkkinvdoc_s from

Associations (1)

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

Annotations (6)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Fakturierungsbeleg für Abrechnungsbeleg view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY CABillgDocument
CAInvoicingDocument invdocno Invoic. Doc.
_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 I_CABillgDocInvcgDoc.
-- 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 I_CABillgDocInvcgDoc AS
SELECT
  cast( substring( srcdocno,9,12 ) as abap.char(12) ) AS CABillgDocument,
  invdocno AS CAInvoicingDocument
FROM dfkkinvdoc_s
LEFT OUTER JOIN I_CAInvcgDocHeader AS _CAInvcgDocHeader ON CAInvoicingDocument = _CAInvcgDocHeader.CAInvoicingDocument  -- association [1..1]
;