C_SustDeliveryDocumentDEX

DDL: C_SUSTDELIVERYDOCUMENTDEX Type: view_entity CONSUMPTION

Delivery Documents Extractor

C_SustDeliveryDocumentDEX (Consumption)

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

Delivery Document · Cross Applications

C_SustDeliveryDocumentDEX is a Consumption CDS View (Fact) that provides data about "Delivery Documents Extractor" in SAP S/4HANA. It reads from 1 data source (I_DeliveryDocument) and exposes 22 fields with key field DeliveryDocument. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Circular Economy
StatusOverall Goods Movement Status
Purpose
This CDS view is used by SAP sustainability applications (such as SAP Responsible Design and Production ) for the extraction of delivery document data. 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 Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description DeliveryDocument Delivery Document DeliveryDocumentType Delivery Document Type SalesOrganization Sales Organization ShippingPoint Shipping Point ShipToParty Ship to Party ShipToPartyAddressID Ship to Party Address ID ShipToPartyCountry Ship to Party Country ShipToPartyRegion Ship to Party Region SoldToPartyAddressID Sold to Party Address ID SoldToPartyCountry Sold to Party Country SoldToPartyRegion Sold to Party Region ActualGoodsMovementDate Actual Goods Movement Date IncotermsClassification Incoterms Classification OverallSDProcessStatus Overall Sales and Distribution Process Status OverallGoodsMovementStatus Overall Goods Movement Status CreatedByUser Created by User CreationDate Creation Date CreationTime Creation Time LastChangedByUser Last Changed by User LastChangeDate Last Change Date DeletionIndicator Deletion Indicator

Data Extraction
Data Extraction Type This CDS view is enabled for data extraction in full mode.

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentSUS-INT
CapabilitiesData Source for Data Extraction
PackageCross Applications for SAP S/4HANA Cloud Private Edition
Description <p>This CDS view is used by SAP sustainability applications (such as SAP Responsible Design and Production) for the extraction of delivery document data.</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
I_DeliveryDocument I_DeliveryDocument from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_SDDocumentPartner _SDDocumentCompletePartners $projection.DeliveryDocument = _SDDocumentCompletePartners.SDDocument and _SDDocumentCompletePartners.PartnerFunction = 'WE' and ( _SDDocumentCompletePartners.SDDocPartnerAddressRefType = 'D' or _SDDocumentCompletePartners.SDDocPartnerAddressRefType = 'E' or _SDDocumentCompletePartners.SDDocPartnerAddressRefType = 'F' )

Annotations (15)

NameValueLevelField
EndUserText.label Delivery Documents Extractor view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.sapObjectNodeType.name DeliveryDocument view
ObjectModel.modelingPattern #NONE view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
Analytics.dataCategory #FACT view
Analytics.internalName #LOCAL view
Analytics.technicalName CSUSTDLVRYDOCDEX view
Analytics.dataExtraction.enabled true view

Fields (22)

KeyFieldSource TableSource FieldDescription
KEY DeliveryDocument DeliveryDocument Outbound Delivery
DeliveryDocumentType DeliveryDocumentType Delivery Type
SalesOrganization SalesOrganization Sales Organization
ShippingPoint ShippingPoint Shipping Point / Receiving Point
ShipToParty ShipToParty Ship-To Party (obsolete)
ShipToPartyAddressID _SDDocumentCompletePartners AddressID Ship-to address
ShipToPartyCountry Country/Region Key
ShipToPartyRegion Region (State, Province, County)
SoldToParty SoldToParty Sold-to Party
SoldToPartyAddressID _SoldToParty AddressID Ship-to address
SoldToPartyCountry _SoldToParty Country Country/Region Key
SoldToPartyRegion _SoldToParty Region Region (State, Province, County)
ActualGoodsMovementDate ActualGoodsMovementDate Actual Goods Movement Date
IncotermsClassification IncotermsClassification Incoterms (Part 1)
OverallSDProcessStatus OverallSDProcessStatus Overall Processing Status (Header/All Items)
OverallGoodsMovementStatus OverallGoodsMovementStatus Goods Movement Status (All Items)
CreatedByUser CreatedByUser Name of Person Responsible for Creating the Object
CreationDate CreationDate Record Created On
CreationTime CreationTime Time of Change
LastChangedByUser LastChangedByUser Name of Person Who Changed Object
LastChangeDate LastChangeDate Last Changed On
DeletionIndicator DeletionIndicator Document deletion indicator

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_SustDeliveryDocumentDEX.
-- 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_SustDeliveryDocumentDEX AS
SELECT
  DeliveryDocument,
  DeliveryDocumentType,
  SalesOrganization,
  ShippingPoint,
  ShipToParty,
  _SDDocumentCompletePartners.AddressID AS ShipToPartyAddressID,
  _SDDocumentCompletePartners._DfltAddrRprstn.Country AS ShipToPartyCountry,
  _SDDocumentCompletePartners._DfltAddrRprstn.Region AS ShipToPartyRegion,
  SoldToParty,
  _SoldToParty.AddressID AS SoldToPartyAddressID,
  _SoldToParty.Country AS SoldToPartyCountry,
  _SoldToParty.Region AS SoldToPartyRegion,
  ActualGoodsMovementDate,
  IncotermsClassification,
  OverallSDProcessStatus,
  OverallGoodsMovementStatus,
  CreatedByUser,
  CreationDate,
  CreationTime,
  LastChangedByUser,
  LastChangeDate,
  DeletionIndicator
FROM I_DeliveryDocument
LEFT OUTER JOIN I_SDDocumentPartner AS _SDDocumentCompletePartners ON DeliveryDocument = _SDDocumentCompletePartners.SDDocument AND _SDDocumentCompletePartners.PartnerFunction = 'WE' AND ( _SDDocumentCompletePartners.SDDocPartnerAddressRefType = 'D' OR _SDDocumentCompletePartners.SDDocPartnerAddressRefType = 'E' OR _SDDocumentCompletePartners.SDDocPartnerAddressRefType = 'F' )  -- association [0..1]
;