C_CAWriteOffCFO

DDL: C_CAWRITEOFFCFO SQL: CCAWRITEOFFCFO Type: view CONSUMPTION

Ausbuchungen

C_CAWriteOffCFO is a Consumption CDS View that provides data about "Ausbuchungen" in SAP S/4HANA. It reads from 1 data source (I_CAWriteOffHistory) and exposes 11 fields with key fields CAWriteOffDocumentNumber, CADocumentNumber, CARepetitionItemNumber, CABPItemNumber, CASubItemNumber.

Data Sources (1)

SourceAliasJoin Type
I_CAWriteOffHistory _CAWriteOffHistory from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CCAWRITEOFFCFO view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Ausbuchungen view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY CAWriteOffDocumentNumber CAWriteOffDocumentNumber
KEY CADocumentNumber CADocumentNumber Document Number
KEY CARepetitionItemNumber CARepetitionItemNumber Repetition Item
KEY CABPItemNumber CABPItemNumber Item
KEY CASubItemNumber CASubItemNumber Subitem
KEY BusinessPartner BusinessPartner Issuing Authority
CAWriteOffDate CAWriteOffDate Store Until
CAWriteOffReason CAWriteOffReason Write-Off Reas.
CAWriteOffReasonName
CAAmountInTransactionCurrency CAAmountInTransactionCurrency Amount
TransactionCurrency TransactionCurrency Transaction Currency

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_CAWriteOffCFO.
-- 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: CCAWRITEOFFCFO

CREATE VIEW C_CAWriteOffCFO AS
SELECT
  CAWriteOffDocumentNumber,
  CADocumentNumber,
  CARepetitionItemNumber,
  CABPItemNumber,
  CASubItemNumber,
  BusinessPartner,
  CAWriteOffDate,
  CAWriteOffReason,
  _WriteOffReason._Text[1:Language = $session.system_language].CAWriteOffReasonName AS CAWriteOffReasonName,
  CAAmountInTransactionCurrency,
  TransactionCurrency
FROM I_CAWriteOffHistory AS _CAWriteOffHistory
;