C_CAWriteOffAnalysis_2
Analyze WriteOffs Version2
C_CAWriteOffAnalysis_2 is a Consumption CDS View that provides data about "Analyze WriteOffs Version2" in SAP S/4HANA. It reads from 1 data source (I_CAWriteOffHistory) and exposes 1 field. It has 17 associations to related views. It is exposed through 1 OData service (UI_CAWRITEOFF_ANALYSIS). It is used in 1 Fiori application: Analyze Write-Offs (Version 2).
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_CAWriteOffHistory | _History | from |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_DisplayCurrency | waers_kk |
Associations (17)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CADocumentBPItemLogical | _DocBPItemLogical | _History.CADocumentNumber = _DocBPItemLogical.CADocumentNumber and _History.CARepetitionItemNumber = _DocBPItemLogical.CARepetitionItemNumber and _History.CABPItemNumber = _DocBPItemLogical.CABPItemNumber and _History.CASubItemNumber = _DocBPItemLogical.CASubItemNumber |
| [1..1] | I_ContractAccountHeader | _ContractAccountHeader | $projection.ContractAccount = _ContractAccountHeader.ContractAccount |
| [0..1] | I_ContractAccountPartner | _CAPartner | $projection.BusinessPartner = _CAPartner.BusinessPartner and $projection.ContractAccount = _CAPartner.ContractAccount |
| [0..1] | I_CalendarDate | _CalendarWriteOffDate | $projection.CAWriteOffDate = _CalendarWriteOffDate.CalendarDate |
| [0..1] | I_CalendarDate | _CalendarIssueDate | $projection.CAIssueDate = _CalendarIssueDate.CalendarDate |
| [0..1] | I_CADunningProcedureText | _CADunProcedTxt | $projection.CADunningProcedure = _CADunProcedTxt.CADunningProcedure |
| [0..1] | I_CACollectionStrategyText | _CACollStrgyTxt | $projection.CACollectionStrategy = _CACollStrgyTxt.CACollectionStrategy |
| [0..1] | I_CADocumentTypeText | _CADocTypeTxt | $projection.CADocumentType = _CADocTypeTxt.CADocumentType and $projection.caapplicationarea = _CADocTypeTxt.CAApplicationArea |
| [0..1] | I_CAStatisticalItemCodeText | _CAStstclItmCodeTxt | $projection.castatisticalitemcode = _CAStstclItmCodeTxt.CAStatisticalItemCode |
| [0..1] | I_CASubApplicationText | _CASubapplicationTxt | $projection.casubapplication = _CASubapplicationTxt.CASubApplication |
| [0..1] | I_CAWriteOffReasonText | _CAWriteOffReasonTxt | $projection.CAWriteOffReason = _CAWriteOffReasonTxt.CAWriteOffReason |
| [0..1] | I_CADocumentOriginCodeText | _CADocumentOriginCodeTxt | $projection.CADocumentOriginCode = _CADocumentOriginCodeTxt.CADocumentOriginCode |
| [0..1] | I_ContractAccountCategoryText | _ContractAccountCategoryTxt | $projection.contractaccountcategory = _ContractAccountCategoryTxt.ContractAccountCategory and $projection.caapplicationarea = _ContractAccountCategoryTxt.CAApplicationArea |
| [0..1] | I_CAMainTransactionText | _CAMainTransactionTxt | $projection.camaintransaction = _CAMainTransactionTxt.CAMainTransaction and $projection.caapplicationarea = _CAMainTransactionTxt.CAApplicationArea |
| [0..1] | I_CASubTransactionText | _CASubtransactionTxt | $projection.casubtransaction = _CASubtransactionTxt.CASubTransaction and $projection.camaintransaction = _CASubtransactionTxt.CAMainTransaction and $projection.caapplicationarea = _CASubtransactionTxt.CAApplicationArea |
| [0..1] | I_DivisionText | _DivisionTxt | $projection.division = _DivisionTxt.Division |
| [0..1] | I_SegmentText | _SegmentTxt | $projection.segment = _SegmentTxt.Segment |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Analyze WriteOffs Version2 | view | |
| AccessControl.authorizationCheck | #MANDATORY | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| OData.entitySet.name | C_CAWriteOffAnalysis_2 | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #XXL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #CONSUMPTION | view | |
| Metadata.allowExtensions | true | view |
OData Services (1)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_CAWRITEOFF_ANALYSIS | UI_CAWRITEOFF_ANALYSIS | V2 | C1 | NOT_RELEASED |
Fiori Apps (1)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F0861A | Analyze Write-Offs (Version 2) | Transactional, Analytical | Within this app an Accounts Payable/Receivable Manager (FI-CA) who among others might need to identify revenue leakages and improve cash-flow will be provided with the number and/or the amount of write-offs from SAP Contract Accounts Receivable and Payable (FI-CA) back end system displayed dependent on various grouping and filter criteria. |
Analyze Write-Offs (Version 2)
Business Role: Accounts Payable and Receivable Manager (FI-CA)
The Analyze Write-Offs app (F0861) is replaced with a new improved app version (F0861A) that offers extended analytical capabilities. For example, you can now combine all dimensions for the analysis.With the app, you can display the amount and number of write-offs made in Contract Accounting.
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CASubItemNumber |
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_CAWriteOffAnalysis_2.
-- 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.
-- Parameters: P_DisplayCurrency : waers_kk
CREATE VIEW C_CAWriteOffAnalysis_2 AS
SELECT
entity: { name: 'I_CurrencyStdVH', element: 'Currency' AS CASubItemNumber
FROM I_CAWriteOffHistory AS _History
LEFT OUTER JOIN I_CADocumentBPItemLogical AS _DocBPItemLogical ON _History.CADocumentNumber = _DocBPItemLogical.CADocumentNumber AND _History.CARepetitionItemNumber = _DocBPItemLogical.CARepetitionItemNumber AND _History.CABPItemNumber = _DocBPItemLogical.CABPItemNumber AND _History.CASubItemNumber = _DocBPItemLogical.CASubItemNumber -- association [1..1]
LEFT OUTER JOIN I_ContractAccountHeader AS _ContractAccountHeader ON ContractAccount = _ContractAccountHeader.ContractAccount -- association [1..1]
LEFT OUTER JOIN I_ContractAccountPartner AS _CAPartner ON BusinessPartner = _CAPartner.BusinessPartner AND ContractAccount = _CAPartner.ContractAccount -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _CalendarWriteOffDate ON CAWriteOffDate = _CalendarWriteOffDate.CalendarDate -- association [0..1]
LEFT OUTER JOIN I_CalendarDate AS _CalendarIssueDate ON CAIssueDate = _CalendarIssueDate.CalendarDate -- association [0..1]
LEFT OUTER JOIN I_CADunningProcedureText AS _CADunProcedTxt ON CADunningProcedure = _CADunProcedTxt.CADunningProcedure -- association [0..1]
LEFT OUTER JOIN I_CACollectionStrategyText AS _CACollStrgyTxt ON CACollectionStrategy = _CACollStrgyTxt.CACollectionStrategy -- association [0..1]
LEFT OUTER JOIN I_CADocumentTypeText AS _CADocTypeTxt ON CADocumentType = _CADocTypeTxt.CADocumentType AND caapplicationarea = _CADocTypeTxt.CAApplicationArea -- association [0..1]
LEFT OUTER JOIN I_CAStatisticalItemCodeText AS _CAStstclItmCodeTxt ON castatisticalitemcode = _CAStstclItmCodeTxt.CAStatisticalItemCode -- association [0..1]
LEFT OUTER JOIN I_CASubApplicationText AS _CASubapplicationTxt ON casubapplication = _CASubapplicationTxt.CASubApplication -- association [0..1]
LEFT OUTER JOIN I_CAWriteOffReasonText AS _CAWriteOffReasonTxt ON CAWriteOffReason = _CAWriteOffReasonTxt.CAWriteOffReason -- association [0..1]
LEFT OUTER JOIN I_CADocumentOriginCodeText AS _CADocumentOriginCodeTxt ON CADocumentOriginCode = _CADocumentOriginCodeTxt.CADocumentOriginCode -- association [0..1]
LEFT OUTER JOIN I_ContractAccountCategoryText AS _ContractAccountCategoryTxt ON contractaccountcategory = _ContractAccountCategoryTxt.ContractAccountCategory AND caapplicationarea = _ContractAccountCategoryTxt.CAApplicationArea -- association [0..1]
LEFT OUTER JOIN I_CAMainTransactionText AS _CAMainTransactionTxt ON camaintransaction = _CAMainTransactionTxt.CAMainTransaction AND caapplicationarea = _CAMainTransactionTxt.CAApplicationArea -- association [0..1]
LEFT OUTER JOIN I_CASubTransactionText AS _CASubtransactionTxt ON casubtransaction = _CASubtransactionTxt.CASubTransaction AND camaintransaction = _CASubtransactionTxt.CAMainTransaction AND caapplicationarea = _CASubtransactionTxt.CAApplicationArea -- association [0..1]
LEFT OUTER JOIN I_DivisionText AS _DivisionTxt ON division = _DivisionTxt.Division -- association [0..1]
LEFT OUTER JOIN I_SegmentText AS _SegmentTxt ON segment = _SegmentTxt.Segment -- association [0..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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