I_CAWriteOffReason

DDL: I_CAWRITEOFFREASON Type: view_entity BASIC Package: FKK_WRITEOFF

Write Off Reason

I_CAWriteOffReason (Basic)

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

Contract Accounting

I_CAWriteOffReason is a Basic CDS View that provides data about "Write Off Reason" in SAP S/4HANA. It reads from 1 data source (tfk048a) and exposes 5 fields with key field CAWriteOffReason. It has 1 association to related views. Part of development package FKK_WRITEOFF.

SAP Help Documentation

CategoryCDS Views for Configuration Data
Purpose
This CDS view retrieves write-off reasons identifying the business process leading to write-off. This CDS view provides the data to answer the business question: Which write-off reason 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 .

Prerequisites
Authorizations The SAP_A4C_BC_DEV_TST_FICA_PC ( Development - API Test - Contract Accounting ) business catalog needs to be assigned to a user to be able to use this CDS view. Configuration You define write-off reasons in the Define Write-Off Reasons. configuration activity.

View on SAP Help Portal →

SAP API Hub

CategoryBasic
StateC1
Line of BusinessContract Accounting
Application ComponentFI-CA-2CL
CapabilitiesAssociation Target for Defining CDS Entities,Data Source in SQL Select,Data Source 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 write-off reasons identifying the business process leading to write-off.</p> <p>This CDS view provides the data to answer the business question: Which write-off reason 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
tfk048a tfk048a from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_CAWriteOffReasonText _Text $projection.CAWriteOffReason = _Text.CAWriteOffReason

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Write Off Reason view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #NONE view
ObjectModel.representativeKey CAWriteOffReason 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 CAWriteOffReason abgrd Write-Off Reason
CACreditWorthinessRatingValue bonit Creditworthiness Number
CAPartialWriteOffIsAllowed xtabg Permit Partial Write-Off
CARvslOfDfrrdRevnIsForbidden notrg Do Not Reverse Deferred Revenue Triggers
_Text _Text

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_CAWriteOffReason.
-- 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_CAWriteOffReason AS
SELECT
  abgrd AS CAWriteOffReason,
  bonit AS CACreditWorthinessRatingValue,
  xtabg AS CAPartialWriteOffIsAllowed,
  notrg AS CARvslOfDfrrdRevnIsForbidden
FROM tfk048a
LEFT OUTER JOIN I_CAWriteOffReasonText AS _Text ON CAWriteOffReason = _Text.CAWriteOffReason  -- association [0..*]
;