C_CAExternalCollectionVolume
Analyse der externen Forderungsabgabe
C_CAExternalCollectionVolume is a Consumption CDS View that provides data about "Analyse der externen Forderungsabgabe" in SAP S/4HANA. It reads from 1 data source (I_CATransferToCollAgency) and exposes 35 fields with key fields CADocumentNumber, CAGrpgCodeForTransfToCollAgcy. It has 5 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CATransferToCollAgency | I_CATransferToCollAgency | from |
Parameters (4)
| Name | Type | Default |
|---|---|---|
| P_Currency | waers_kk | |
| P_CAInternalAppCode | tileid_kk | |
| P_Date | sydatum | |
| P_Language | sylangu |
Associations (5)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1] | P_CAExternalCollectionVolume | _AmountOpen | $projection.CADocumentNumber = _AmountOpen.CADocumentNumber and $projection.CAGrpgCodeForTransfToCollAgcy = _AmountOpen.CAGrpgCodeForTransfToCollAgcy |
| [0..1] | I_CALastWorklistItem | _LastWorkItem | $projection.BusinessPartner = _LastWorkItem.BusinessPartner |
| [0..1] | I_CABPTotalSeparatedAmtsInDC | _DebitsCredits | $projection.BusinessPartner = _DebitsCredits.BusinessPartner |
| [0..1] | I_ContractAccountPartner | _ContractAccount | $projection.BusinessPartner = _ContractAccount.BusinessPartner and $projection.ContractAccount = _ContractAccount.ContractAccount |
| [1] | I_CAContractPartner | _CAPartner | $projection.BusinessPartner = _CAPartner.BusinessPartner |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Analyse der externen Forderungsabgabe | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| AbapCatalog.sqlViewName | CCAEXTCOLLVOLUME | view |
Fields (35)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CADocumentNumber | CADocumentNumber | Document Number | |
| KEY | CAGrpgCodeForTransfToCollAgcy | CAGrpgCodeForTransfToCollAgcy | Collection item | |
| CACollectionAgency | CACollectionAgency | CollsAgency BP | ||
| CACollectionAgencyName | ||||
| CADateOfTransferToCollAgcy | CADateOfTransferToCollAgcy | Submission Date | ||
| CAReasonForTransferToCollAgcy | CAReasonForTransferToCollAgcy | Subm. Reason | ||
| CARsnNameForTransferToCollAgcy | ||||
| CAReceivableRecallDate | CAReceivableRecallDate | Reply | ||
| CAReceivableRecallReason | CAReceivableRecallReason | Callback Reason | ||
| CAReceivableRecallReasonName | ||||
| BusinessPartner | BusinessPartner | Issuing Authority | ||
| LastName | ||||
| FirstName | ||||
| BusinessPartnerName | ||||
| ContractAccountCategory | _CAHeader | ContractAccountCategory | Cont. Acct Cat. | |
| PostalCode | ||||
| CompanyCode | CompanyCode | Receiver Company Code | ||
| ContractAccount | ContractAccount | Contract Acct | ||
| CATransferToCollAgcyStatus | CATransferToCollAgcyStatus | Subm. Status | ||
| CATransferToCollAgcyStatusName | ||||
| CAAmountInTransactionCurrency | CAAmountInTransactionCurrency | Amount | ||
| OpenAmountInTransCrcy | _AmountOpen | OpenAmountInTransCrcy | Open Amt Trans Crcy | |
| CAPaymentAmountInTransCurrency | CAPaymentAmountInTransCurrency | Payment Amount | ||
| CANoncollectableAmount | CANoncollectableAmount | Uncollectable | ||
| CAIntrstReceivableFromCollAgcy | CAIntrstReceivableFromCollAgcy | Interest rec. | ||
| CAChargeReceivableFromCollAgcy | CAChargeReceivableFromCollAgcy | Charge receivb. | ||
| TransactionCurrency | TransactionCurrency | Transaction Currency | ||
| DisplayCurrency | ||||
| CAAuthorizationGroup | _ContractAccount | CAAuthorizationGroup | AuthorizGroup | |
| CreditAmountInDisplayCrcy | ||||
| DebitAmountInDisplayCrcy | ||||
| WorklistItemCreationDate | ||||
| CAClrfctnStatus | ||||
| CAClrfctnStatusName | ||||
| _CAPartner | _CAPartner |
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_CAExternalCollectionVolume.
-- 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.
-- SQL view name: CCAEXTCOLLVOLUME
-- Parameters: P_Currency : waers_kk, P_CAInternalAppCode : tileid_kk, P_Date : sydatum, P_Language : sylangu
CREATE VIEW C_CAExternalCollectionVolume AS
SELECT
CADocumentNumber,
CAGrpgCodeForTransfToCollAgcy,
CACollectionAgency,
_CollAgcy._BusinessPartner.BusinessPartnerName AS CACollectionAgencyName,
CADateOfTransferToCollAgcy,
CAReasonForTransferToCollAgcy,
_TransfRsn._Text[1:Language = :P_Language].CARsnNameForTransferToCollAgcy AS CARsnNameForTransferToCollAgcy,
CAReceivableRecallDate,
CAReceivableRecallReason,
_RblRecallRsn._Text[1:Language = :P_Language].CAReceivableRecallReasonName AS CAReceivableRecallReasonName,
BusinessPartner,
_CAPartner._BusinessPartner.LastName AS LastName,
_CAPartner._BusinessPartner.FirstName AS FirstName,
_CAPartner._BusinessPartner.BusinessPartnerName AS BusinessPartnerName,
_CAHeader.ContractAccountCategory AS ContractAccountCategory,
_CAPartner._BusinessPartner._CurrentDefaultAddress._AddressDefaultRepresentation.PostalCode AS PostalCode,
CompanyCode,
ContractAccount,
CATransferToCollAgcyStatus,
_Status._Text[1:Language = :P_Language].CATransferToCollAgcyStatusName AS CATransferToCollAgcyStatusName,
CAAmountInTransactionCurrency,
_AmountOpen.OpenAmountInTransCrcy AS OpenAmountInTransCrcy,
CAPaymentAmountInTransCurrency,
CANoncollectableAmount,
CAIntrstReceivableFromCollAgcy,
CAChargeReceivableFromCollAgcy,
TransactionCurrency,
$parameters.P_Currency AS DisplayCurrency,
_ContractAccount.CAAuthorizationGroup AS CAAuthorizationGroup,
_DebitsCredits( P_DisplayCurrency : $parameters.P_Currency, P_ExchangeRateDate : $parameters.P_Date ).OpenPayablesAmountInDspCrcy AS CreditAmountInDisplayCrcy,
_DebitsCredits( P_DisplayCurrency : $parameters.P_Currency, P_ExchangeRateDate : $parameters.P_Date ).OpenReceivablesAmountInDspCrcy AS DebitAmountInDisplayCrcy,
_LastWorkItem( P_CAInternalAppCode : $parameters.P_CAInternalAppCode, P_Language : $parameters.P_Language ).WorklistItemCreationDate AS WorklistItemCreationDate,
_LastWorkItem( P_CAInternalAppCode : $parameters.P_CAInternalAppCode, P_Language : $parameters.P_Language ).CAClrfctnStatus AS CAClrfctnStatus,
_LastWorkItem( P_CAInternalAppCode : $parameters.P_CAInternalAppCode, P_Language : $parameters.P_Language ).CAClrfctnStatusName AS CAClrfctnStatusName
FROM I_CATransferToCollAgency
LEFT OUTER JOIN P_CAExternalCollectionVolume AS _AmountOpen ON CADocumentNumber = _AmountOpen.CADocumentNumber AND CAGrpgCodeForTransfToCollAgcy = _AmountOpen.CAGrpgCodeForTransfToCollAgcy -- association [1]
LEFT OUTER JOIN I_CALastWorklistItem AS _LastWorkItem ON BusinessPartner = _LastWorkItem.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_CABPTotalSeparatedAmtsInDC AS _DebitsCredits ON BusinessPartner = _DebitsCredits.BusinessPartner -- association [0..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _ContractAccount ON BusinessPartner = _ContractAccount.BusinessPartner AND ContractAccount = _ContractAccount.ContractAccount -- association [0..1]
LEFT OUTER JOIN I_CAContractPartner AS _CAPartner ON BusinessPartner = _CAPartner.BusinessPartner -- association [1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA