I_CAInvcgSourceDocType

DDL: I_CAINVCGSOURCEDOCTYPE Type: view_entity BASIC Package: FKKINV_VDM_UTILS

Quellbelegarten

Source Document Types

I_CAInvcgSourceDocType (Basic)

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

Contr Acctg Invcg Source Document Type · Contract Accounting

I_CAInvcgSourceDocType is a Basic CDS View (Dimension) that provides data about "Quellbelegarten" in SAP S/4HANA. It reads from 1 data source (tfk2605sc) and exposes 4 fields with key fields CAInvcgSourceDocumentCat, CAInvcgSourceDocumentType. It has 2 associations to related views. Part of development package FKKINV_VDM_UTILS.

SAP Help Documentation

CategoryCDS Views for Configuration Data
Purpose
This CDS view retrieves the source document type in Convergent Invoicing. You can use the source document type to differentiate between the source documents of a source document category according to their business significance. Example General Document 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 don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description CAInvcgSourceDocumentType Source Document Type CAInvcgSourceDocumentCat Source Document Category

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA-INV-2CL
CapabilitiesData Source for Data Extraction,Association Target for Defining CDS Entities,Analytical Dimension,Data Source for Defining CDS Entities,Data Source in SQL Select
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 source document type in Convergent Invoicing.</p> <p>You can use the source document type to differentiate between the source documents of a source document category according to their business significance.</p> Example <p>General Document</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
tfk2605sc _tfk2605sc from

Associations (2)

CardinalityTargetAliasCondition
[0..*] I_CAInvcgSourceDocTypeText _CAInvcgSourceDocTypeText $projection.CAInvcgSourceDocumentType = _CAInvcgSourceDocTypeText.CAInvcgSourceDocumentType and $projection.CAInvcgSourceDocumentCat = _CAInvcgSourceDocTypeText.CAInvcgSourceDocumentCat
[1..1] I_CAInvcgSourceDocCat _CAInvcgSourceDocCat $projection.CAInvcgSourceDocumentCat = _CAInvcgSourceDocCat.CAInvcgSourceDocumentCat

Annotations (13)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
Analytics.internalName #LOCAL view
EndUserText.label Quellbelegarten view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #ANALYTICAL_DIMENSION view
ObjectModel.representativeKey CAInvcgSourceDocumentType view
ObjectModel.sapObjectNodeType.name ContrAcctgInvcgSourceDocType view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CAInvcgSourceDocumentCat tfk2605sc srcdoccat Category of Source Document To Be Invoiced
KEY CAInvcgSourceDocumentType tfk2605sc srcdoctype Type of Source Document to Be Invoiced
_CAInvcgSourceDocTypeText _CAInvcgSourceDocTypeText
_CAInvcgSourceDocCat _CAInvcgSourceDocCat

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_CAInvcgSourceDocType.
-- 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_CAInvcgSourceDocType AS
SELECT
  _tfk2605sc.srcdoccat AS CAInvcgSourceDocumentCat,
  _tfk2605sc.srcdoctype AS CAInvcgSourceDocumentType
FROM tfk2605sc AS _tfk2605sc
LEFT OUTER JOIN I_CAInvcgSourceDocTypeText AS _CAInvcgSourceDocTypeText ON CAInvcgSourceDocumentType = _CAInvcgSourceDocTypeText.CAInvcgSourceDocumentType AND CAInvcgSourceDocumentCat = _CAInvcgSourceDocTypeText.CAInvcgSourceDocumentCat  -- association [0..*]
LEFT OUTER JOIN I_CAInvcgSourceDocCat AS _CAInvcgSourceDocCat ON CAInvcgSourceDocumentCat = _CAInvcgSourceDocCat.CAInvcgSourceDocumentCat  -- association [1..1]
;