C_SubsqntCustRetDeliveryItem

DDL: C_SUBSQNTCUSTRETDELIVERYITEM SQL: CSUBCRETDELITM Type: view CONSUMPTION

C_SubsqntCustRetDeliveryItem is a Consumption CDS View in SAP S/4HANA. It reads from 2 data sources (I_SDDocumentMultiLevelProcFlow, I_CustomerReturnDeliveryItem) and exposes 13 fields with key field DocRelationshipUUID.

Data Sources (2)

SourceAliasJoin Type
I_SDDocumentMultiLevelProcFlow _ProcessFlow inner
I_CustomerReturnDeliveryItem CRDItem from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName CSUBCRETDELITM view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
Search.searchable true view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY DocRelationshipUUID I_SDDocumentMultiLevelProcFlow DocRelationshipUUID SM Doc Rel UUID
CustomerReturnDelivery I_CustomerReturnDeliveryItem CustomerReturnDelivery
CustomerReturnDeliveryItem I_CustomerReturnDeliveryItem CustomerReturnDeliveryItem
PrecedingDocument I_SDDocumentMultiLevelProcFlow PrecedingDocument SD Document
PrecedingDocumentItem I_SDDocumentMultiLevelProcFlow PrecedingDocumentItem Item
ActualDeliveryQuantity I_CustomerReturnDeliveryItem ActualDeliveryQuantity Base quantity
DeliveryQuantityUnit I_CustomerReturnDeliveryItem DeliveryQuantityUnit Unit of measure
DocumentDate
SDProcessStatus I_CustomerReturnDeliveryItem SDProcessStatus
Plant I_CustomerReturnDeliveryItem Plant Valuation Area
_SDProcessStatus I_CustomerReturnDeliveryItem _SDProcessStatus
_Plant I_CustomerReturnDeliveryItem _Plant
_CustomerReturnDelivery _CustomerReturnDelivery

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_SubsqntCustRetDeliveryItem.
-- 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: CSUBCRETDELITM

CREATE VIEW C_SubsqntCustRetDeliveryItem AS
SELECT
  _ProcessFlow.DocRelationshipUUID AS DocRelationshipUUID,
  CRDItem.CustomerReturnDelivery AS CustomerReturnDelivery,
  CRDItem.CustomerReturnDeliveryItem AS CustomerReturnDeliveryItem,
  _ProcessFlow.PrecedingDocument AS PrecedingDocument,
  _ProcessFlow.PrecedingDocumentItem AS PrecedingDocumentItem,
  CRDItem.ActualDeliveryQuantity AS ActualDeliveryQuantity,
  CRDItem.DeliveryQuantityUnit AS DeliveryQuantityUnit,
  CRDItem._CustomerReturnDelivery.DocumentDate AS DocumentDate,
  CRDItem.SDProcessStatus AS SDProcessStatus,
  CRDItem.Plant AS Plant,
  CRDItem._SDProcessStatus AS _SDProcessStatus,
  CRDItem._Plant AS _Plant
FROM I_CustomerReturnDeliveryItem AS CRDItem
INNER JOIN I_SDDocumentMultiLevelProcFlow AS _ProcessFlow ON /* join condition not captured in parsed metadata */
;