I_CACollectionAgency

DDL: I_CACOLLECTIONAGENCY Type: view_entity BASIC

Collection Agency

I_CACollectionAgency (Basic)

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

Contract Accounting Collection Agency · Contract Accounting

I_CACollectionAgency is a Basic CDS View that provides data about "Collection Agency" in SAP S/4HANA. It reads from 1 data source (tfk050b) and exposes 5 fields with key field CACollectionAgency. It has 2 associations to related views.

SAP Help Documentation

CategoryCDS Views for Configuration Data
Purpose
This CDS view retrieves header data for collection agencies in Contract Accounting . This CDS view provides the data to answer the business question: Which collection agency values are available in the system? 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 .

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA
CapabilitiesAssociation Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities
PackageContract Accounting for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view retrieves header data for collection agencies in Contract Accounting.</p> <p>This CDS view provides the data to answer the business question: Which collection agency values are available in the system?</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
tfk050b tfk050b from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_BusinessPartner _BusinessPartner $projection.CACollectionAgency = _BusinessPartner.BusinessPartner
[1..1] I_ContractAccountHeader _CAHeader $projection.ContractAccount = _CAHeader.ContractAccount

Annotations (10)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Collection Agency view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey CACollectionAgency view
ObjectModel.sapObjectNodeType.name ContrAcctgCollectionAgency view
ObjectModel.usageType.dataClass #CUSTOMIZING view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
VDM.viewType #BASIC view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY CACollectionAgency inkgp Collection Agency
ContractAccount vkont Contract Account Number
CAPostChrgAndIntrstAsOpenItems xcollnoclearing Open Charges and Interest Requests from Collection Agency
_BusinessPartner _BusinessPartner
_CAHeader _CAHeader

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_CACollectionAgency.
-- 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_CACollectionAgency AS
SELECT
  inkgp AS CACollectionAgency,
  vkont AS ContractAccount,
  xcollnoclearing AS CAPostChrgAndIntrstAsOpenItems
FROM tfk050b
LEFT OUTER JOIN I_BusinessPartner AS _BusinessPartner ON CACollectionAgency = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _CAHeader ON ContractAccount = _CAHeader.ContractAccount  -- association [1..1]
;