C_Customer360_Issues

DDL: C_CUSTOMER360_ISSUES SQL: CCUST360ISSUES Type: view CONSUMPTION

Customer 360 Issues

C_Customer360_Issues is a Consumption CDS View that provides data about "Customer 360 Issues" in SAP S/4HANA. It reads from 2 data sources (I_SalesOrderFlfmtIssueBasic, I_SalesDocument) and exposes 15 fields with key fields SalesDocument, DueDays. It has 1 association to related views.

Data Sources (2)

SourceAliasJoin Type
I_SalesOrderFlfmtIssueBasic Issue inner
I_SalesDocument SalesDocument from

Associations (1)

CardinalityTargetAliasCondition
[0..*] C_SalesDocumentItemWl _SalesDocumentItemWl $projection.SalesDocument = _SalesDocumentItemWl.SalesDocument

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CCUST360ISSUES view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
EndUserText.label Customer 360 Issues view
VDM.viewType #CONSUMPTION view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #S view
UI.headerInfo.typeName Fulfillment Issue view
UI.headerInfo.typeNamePlural Fulfillment Issues view
Search.searchable true view

Fields (15)

KeyFieldSource TableSource FieldDescription
KEY SalesDocument
KEY DueDays Next Action in Days
NmbrOfAllIssues Total No of Issues
SoldToParty I_SalesDocument SoldToParty Sold-to Party
PurchaseOrderByCustomer I_SalesDocument PurchaseOrderByCustomer Purchase Order Number
TotalNetAmount I_SalesDocument TotalNetAmount Total Net Amount
TransactionCurrency I_SalesDocument TransactionCurrency Transaction Currency
RequestedDeliveryDate I_SalesDocument RequestedDeliveryDate Requested Delivery Date
SalesDocumentType I_SalesDocument SalesDocumentType Sales Doc. Type
SalesOrganization I_SalesDocument SalesOrganization Sales Organization
DistributionChannel I_SalesDocument DistributionChannel RefDistCh-Cust/Mat.
OrganizationDivision I_SalesDocument OrganizationDivision Org. Division
SDDocumentCategory SDDocumentCategory Document Cat.
_TransactionCurrency _TransactionCurrency
_SalesDocumentItemWl _SalesDocumentItemWl

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_Customer360_Issues.
-- 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: CCUST360ISSUES

CREATE VIEW C_Customer360_Issues AS
SELECT
  cast(SalesDocument.SalesDocument as vbeln_va preserving type) AS SalesDocument,
  min(Issue.DueDays) AS DueDays,
  count(*) AS NmbrOfAllIssues,
  SalesDocument.SoldToParty AS SoldToParty,
  SalesDocument.PurchaseOrderByCustomer AS PurchaseOrderByCustomer,
  SalesDocument.TotalNetAmount AS TotalNetAmount,
  SalesDocument.TransactionCurrency AS TransactionCurrency,
  SalesDocument.RequestedDeliveryDate AS RequestedDeliveryDate,
  SalesDocument.SalesDocumentType AS SalesDocumentType,
  SalesDocument.SalesOrganization AS SalesOrganization,
  SalesDocument.DistributionChannel AS DistributionChannel,
  SalesDocument.OrganizationDivision AS OrganizationDivision,
  SDDocumentCategory
FROM I_SalesDocument AS SalesDocument
INNER JOIN I_SalesOrderFlfmtIssueBasic AS Issue ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN C_SalesDocumentItemWl AS _SalesDocumentItemWl ON SalesDocument = _SalesDocumentItemWl.SalesDocument  -- association [0..*]
;