C_Customer360CancelledInvoice

DDL: C_CUSTOMER360CANCELLEDINVOICE Type: view_entity CONSUMPTION

Customer 360 Invoice Cancelled

C_Customer360CancelledInvoice is a Consumption CDS View that provides data about "Customer 360 Invoice Cancelled" in SAP S/4HANA. It reads from 2 data sources (I_BillingDocument, I_Customer360BusDocSetting) and exposes 15 fields with key field BillingDocument.

Data Sources (2)

SourceAliasJoin Type
I_BillingDocument CancelledInvoice from
I_Customer360BusDocSetting Customer360BusDocSetting inner

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Customer 360 Invoice Cancelled view
Metadata.allowExtensions true view
Search.searchable true view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
VDM.viewType #CONSUMPTION view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY BillingDocument I_BillingDocument BillingDocument SD Document
SoldToParty I_BillingDocument SoldToParty Sold-to Party
CustomerName
BillingDocumentType I_BillingDocument BillingDocumentType Billing Type
BillingDocumentTypeName
OverallBillingStatus I_BillingDocument OverallBillingStatus
OverallBillingStatusDesc
BillingDocumentDate I_BillingDocument BillingDocumentDate Billing Date
CreationDate I_BillingDocument CreationDate Time Stamp
SalesOrganization I_BillingDocument SalesOrganization Sales Organization
SalesOrganizationName
TotalNetAmount I_BillingDocument TotalNetAmount Total Net Amount
TransactionCurrency I_BillingDocument TransactionCurrency Transaction Currency
CurrencyName
_SoldToParty I_BillingDocument _SoldToParty

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_Customer360CancelledInvoice.
-- 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 C_Customer360CancelledInvoice AS
SELECT
  CancelledInvoice.BillingDocument AS BillingDocument,
  CancelledInvoice.SoldToParty AS SoldToParty,
  CancelledInvoice._SoldToParty.CustomerName AS CustomerName,
  CancelledInvoice.BillingDocumentType AS BillingDocumentType,
  CancelledInvoice._BillingDocumentType._Text[1:Language = $session.system_language].BillingDocumentTypeName AS BillingDocumentTypeName,
  CancelledInvoice.OverallBillingStatus AS OverallBillingStatus,
  CancelledInvoice._OverallBillingStatus._Text[1:Language = $session.system_language].OverallBillingStatusDesc AS OverallBillingStatusDesc,
  CancelledInvoice.BillingDocumentDate AS BillingDocumentDate,
  CancelledInvoice.CreationDate AS CreationDate,
  CancelledInvoice.SalesOrganization AS SalesOrganization,
  CancelledInvoice._SalesOrganization._Text[1:Language = $session.system_language].SalesOrganizationName AS SalesOrganizationName,
  CancelledInvoice.TotalNetAmount AS TotalNetAmount,
  CancelledInvoice.TransactionCurrency AS TransactionCurrency,
  CancelledInvoice._TransactionCurrency._Text[1:Language = $session.system_language].CurrencyName AS CurrencyName,
  CancelledInvoice._SoldToParty AS _SoldToParty
FROM I_BillingDocument AS CancelledInvoice
INNER JOIN I_Customer360BusDocSetting AS Customer360BusDocSetting ON /* join condition not captured in parsed metadata */
;