I_CABillgDocReference

DDL: I_CABILLGDOCREFERENCE Type: view_entity BASIC Package: FKKINV_VDM_BILL

Objektverknüpfungen zum Abrechnungsbeleg

Object Relationships for Billing Document

I_CABillgDocReference (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

ContrAcctgBillgDocReference · Contract Accounting

I_CABillgDocReference is a Basic CDS View that provides data about "Objektverknüpfungen zum Abrechnungsbeleg" in SAP S/4HANA. It reads from 1 data source (dfkkinvbill_x) and exposes 8 fields with key fields CAInvcgReferenceObject, CAReferenceObjectID, CABillgDocCreationDate, CABillgDocument. It has 2 associations to related views. Part of development package FKKINV_VDM_BILL.

SAP Help Documentation

CategoryCDS Views for Transaction Data
Purpose
This CDS view retrieves the object relationships of a billing document in Convergent Invoicing. The object relationships can contain links to related objects. To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view must have a role with the following restriction types set to read access: BEGRU_KKINVBIL Authorization Groups for Billing Documents BUKRS Company Code You can use the Display Restriction Types app to find out in which business catalogs these restriction types are included.

Structure
Important Fields Important fields in this view include the following: Field Name Description CAInvcgReferenceObject Reference Object CAReferenceObjectID Reference Object ID CABillgDocCreationDate Billed On CABillgDocument Billing Document

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode as well as in delta mode. Deltas are determined automatically by change data capture.

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA-INV-2CL
CapabilitiesData Source for Data Extraction,Data Source in SQL Select,Data Source for Defining CDS Entities,Association Target for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageContract Accounting for SAP S/4HANA Cloud Public Edition
Description <p>This CDS view retrieves the object relationships of a billing document in Convergent Invoicing.</p> <p>The object relationships can contain links to related objects.</p> <p>To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views.</p>

Documentation

Data Sources (1)

SourceAliasJoin Type
dfkkinvbill_x invbill_x from

Associations (2)

CardinalityTargetAliasCondition
[0..1] I_CAInvcgReferenceObj _CAInvcgReferenceObj $projection.CAInvcgReferenceObject = _CAInvcgReferenceObj.CAInvcgReferenceObject
[1..1] I_CABillgDocHeader _CABillgDocHeader $projection.CABillgDocument = _CABillgDocHeader.CABillgDocument

Annotations (11)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
AccessControl.personalData.blocking #REQUIRED view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.modelingPattern #NONE view
ObjectModel.sapObjectNodeType.name ContrAcctgBillgDocReference view
Metadata.ignorePropagatedAnnotations true view
EndUserText.label Objektverknüpfungen zum Abrechnungsbeleg view

Fields (8)

KeyFieldSource TableSource FieldDescription
KEY CAInvcgReferenceObject refobjname Reference Object
KEY CAReferenceObjectID refobjvalue Reference Object ID
KEY CABillgDocCreationDate crdate Date on Which Billing Document Was Created
KEY CABillgDocument billdocno Number of Billing Document
CABillgIsDocumentSimulated simulated Billing Document Is Simulated
CAReferenceObjectAddlText Additional Data for Reference Object
_CABillgDocHeader _CABillgDocHeader
_CAInvcgReferenceObj _CAInvcgReferenceObj

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_CABillgDocReference.
-- 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_CABillgDocReference AS
SELECT
  refobjname AS CAInvcgReferenceObject,
  refobjvalue AS CAReferenceObjectID,
  crdate AS CABillgDocCreationDate,
  billdocno AS CABillgDocument,
  simulated AS CABillgIsDocumentSimulated,
  cast(refobjvalue2 as inv_refobjvalue2_gfn_kk preserving type) AS CAReferenceObjectAddlText
FROM dfkkinvbill_x AS invbill_x
LEFT OUTER JOIN I_CAInvcgReferenceObj AS _CAInvcgReferenceObj ON CAInvcgReferenceObject = _CAInvcgReferenceObj.CAInvcgReferenceObject  -- association [0..1]
LEFT OUTER JOIN I_CABillgDocHeader AS _CABillgDocHeader ON CABillgDocument = _CABillgDocHeader.CABillgDocument  -- association [1..1]
;