C_CustAddrDepdntExtIdentifier

DDL: C_CUSTADDRDEPDNTEXTIDENTIFIER SQL: CADDRDEXTID Type: view CONSUMPTION

Consumption view for External Identifier

C_CustAddrDepdntExtIdentifier is a Consumption CDS View that provides data about "Consumption view for External Identifier" in SAP S/4HANA. It reads from 1 data source (I_CustAddrDepdntIdentifierTP) and exposes 12 fields with key fields Customer, BusinessPartner, AddressID. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_CustAddrDepdntIdentifierTP CustAddrDepdntExtIdentifier from

Associations (2)

CardinalityTargetAliasCondition
[1..1] C_BusinessPartner _BusinessPartner $projection.BusinessPartner = _BusinessPartner.BusinessPartner
[1..1] C_BusinessPartnerCustomer _BusinessPartnerCustomer $projection.BusinessPartner = _BusinessPartnerCustomer.BusinessPartner

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName CADDRDEXTID view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Consumption view for External Identifier view
Metadata.allowExtensions true view
AccessControl.personalData.blocking #REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MASTER view
UI.headerInfo.typeName Seller-Defined Customer Address IDs for EDI view
UI.headerInfo.typeNamePlural Seller-Defined Customer Address IDs for EDI view
VDM.viewType #CONSUMPTION view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY Customer I_CustAddrDepdntIdentifierTP Customer Sold-to Party
KEY BusinessPartner I_CustAddrDepdntIdentifierTP BusinessPartner Issuing Authority
KEY AddressID I_CustAddrDepdntIdentifierTP AddressID Ship-to address
CustomerExternalRefID I_CustAddrDepdntIdentifierTP CustomerExternalRefID
CustomerForEdit I_CustAddrDepdntIdentifierTP CustomerForEdit Customer
AddressIDForEdit
FormattedAddress I_CustAddrDepdntIdentifierTP FormattedAddress
BusinessPartnerForEdit I_CustAddrDepdntIdentifierTP BusinessPartnerForEdit Busn. Partner
BusinessPartnerUUID I_CustAddrDepdntIdentifierTP BusinessPartnerUUID UUID
_Customer _Customer
_BusinessPartner _BusinessPartner
_BusinessPartnerCustomer _BusinessPartnerCustomer

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_CustAddrDepdntExtIdentifier.
-- 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: CADDRDEXTID

CREATE VIEW C_CustAddrDepdntExtIdentifier AS
SELECT
  CustAddrDepdntExtIdentifier.Customer AS Customer,
  CustAddrDepdntExtIdentifier.BusinessPartner AS BusinessPartner,
  CustAddrDepdntExtIdentifier.AddressID AS AddressID,
  CustAddrDepdntExtIdentifier.CustomerExternalRefID AS CustomerExternalRefID,
  CustAddrDepdntExtIdentifier.CustomerForEdit AS CustomerForEdit,
  cast(CustAddrDepdntExtIdentifier.AddressIDForEdit as char10) AS AddressIDForEdit,
  CustAddrDepdntExtIdentifier.FormattedAddress AS FormattedAddress,
  CustAddrDepdntExtIdentifier.BusinessPartnerForEdit AS BusinessPartnerForEdit,
  CustAddrDepdntExtIdentifier.BusinessPartnerUUID AS BusinessPartnerUUID
FROM I_CustAddrDepdntIdentifierTP AS CustAddrDepdntExtIdentifier
LEFT OUTER JOIN C_BusinessPartner AS _BusinessPartner ON BusinessPartner = _BusinessPartner.BusinessPartner  -- association [1..1]
LEFT OUTER JOIN C_BusinessPartnerCustomer AS _BusinessPartnerCustomer ON BusinessPartner = _BusinessPartnerCustomer.BusinessPartner  -- association [1..1]
;