C_SustCustomerAddressDEX

DDL: C_SUSTCUSTOMERADDRESSDEX Type: view_entity CONSUMPTION

Customer Address data extractor

C_SustCustomerAddressDEX (Consumption)

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

Customer · Cross Applications

C_SustCustomerAddressDEX is a Consumption CDS View (Fact) that provides data about "Customer Address data extractor" in SAP S/4HANA. It reads from 1 data source (I_Customer) and exposes 23 fields with key field Customer.

SAP Help Documentation

CategoryCDS Views for Circular Economy
Purpose
This CDS view is used by SAP sustainability applications (such as SAP Responsible Design and Production ) for the extraction of customer address 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 BusinessPartner Business Partner BusinessPartnerCategroy Business Partner Category BusinessPartnerUUID Business Partner UUID IsBusinessPurposeCompleted Is Business Purpose Completed DeletionIndicator Deletion Indicator of Customer AddressID Address ID AddressObjectType Address Object Type AddresseeFullName Full Name CityName City Name StreetName Street Name HouseNumber House Number Country Country Region Region PhoneNumber Phone Number FaxNumber Fax Number EMailAddress Email Address FirstName Contact Person First Name of Standard Relationship LastName Contact Person Last Name of Standard Relationship ValidityStartDate Valid from Date ValidityEndDate Valid to Date PostalCode Postal Code

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 customer address 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_Customer I_Customer from

Annotations (14)

NameValueLevelField
EndUserText.label Customer Address data extractor view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.sapObjectNodeType.name Customer 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.dataExtraction.enabled true view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY Customer Customer Customer Number
AddressID AddressID Ship-to address
DeletionIndicator DeletionIndicator Central Deletion Flag for Master Record
BusinessPartner Business Partner Number
BusinessPartnerUUID Business Partner GUID
BusinessPartnerCategory Business Partner Category
IsBusinessPurposeCompleted Business Purpose Completed Flag
BusinessPartner2 Business Partner Number
FirstName First Name of Business Partner (Person)
LastName Last Name of Business Partner (Person)
ValidityStartDate Validity Date (Valid From)
ValidityEndDate Validity Date (Valid To)
AddressObjectType _AddressDefaultRepresentation AddressObjectType Address type (1=Organization, 2=Person, 3=Contact person)
AddresseeFullName _AddressDefaultRepresentation AddresseeFullName Full Name of Person
CityName _AddressDefaultRepresentation CityName Name
StreetName _AddressDefaultRepresentation StreetName Street
HouseNumber _AddressDefaultRepresentation HouseNumber House Number
Country _AddressDefaultRepresentation Country Country/Region Key
Region _AddressDefaultRepresentation Region Region (State, Province, County)
PostalCode _AddressDefaultRepresentation PostalCode City postal code
InternationalPhoneNumber Complete Number: Dialing Code+Number+Extension
InternationalFaxNumber Complete Number: Dialing Code+Number+Extension
EmailAddress E-Mail Address

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_SustCustomerAddressDEX.
-- 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_SustCustomerAddressDEX AS
SELECT
  Customer,
  AddressID,
  DeletionIndicator,
  _CustomerToBusinessPartner._BusinessPartner.BusinessPartner AS BusinessPartner,
  _CustomerToBusinessPartner._BusinessPartner.BusinessPartnerUUID AS BusinessPartnerUUID,
  _CustomerToBusinessPartner._BusinessPartner.BusinessPartnerCategory AS BusinessPartnerCategory,
  _CustomerToBusinessPartner._BusinessPartner.IsBusinessPurposeCompleted AS IsBusinessPurposeCompleted,
  _CustomerToBusinessPartner._BusinessPartner._BPRelationship[IsStandardRelationship = 'X'].BusinessPartner2 AS BusinessPartner2,
  _CustomerToBusinessPartner._BusinessPartner._BPRelationship[IsStandardRelationship = 'X']._BusinessPartner2.FirstName AS FirstName,
  _CustomerToBusinessPartner._BusinessPartner._BPRelationship[IsStandardRelationship = 'X']._BusinessPartner2.LastName AS LastName,
  _CustomerToBusinessPartner._BusinessPartner._BPRelationship[IsStandardRelationship = 'X'].ValidityStartDate AS ValidityStartDate,
  _CustomerToBusinessPartner._BusinessPartner._BPRelationship[IsStandardRelationship = 'X'].ValidityEndDate AS ValidityEndDate,
  _AddressDefaultRepresentation.AddressObjectType AS AddressObjectType,
  _AddressDefaultRepresentation.AddresseeFullName AS AddresseeFullName,
  _AddressDefaultRepresentation.CityName AS CityName,
  _AddressDefaultRepresentation.StreetName AS StreetName,
  _AddressDefaultRepresentation.HouseNumber AS HouseNumber,
  _AddressDefaultRepresentation.Country AS Country,
  _AddressDefaultRepresentation.Region AS Region,
  _AddressDefaultRepresentation.PostalCode AS PostalCode,
  _AddressDefaultRepresentation._CurrentDfltLandlinePhoneNmbr.InternationalPhoneNumber AS InternationalPhoneNumber,
  _AddressDefaultRepresentation._CurrentDfltFaxNumber.InternationalFaxNumber AS InternationalFaxNumber,
  _AddressDefaultRepresentation._CurrentDfltEmailAddress.EmailAddress AS EmailAddress
FROM I_Customer
;