P_CN_CADEAddressID

DDL: P_CN_CADEADDRESSID SQL: PCADEADDRID Type: view BASIC

P_CN_CADEAddressID is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (adrc, but020) and exposes 3 fields with key fields partner, nation.

Data Sources (2)

SourceAliasJoin Type
adrc adrc left_outer
but020 but020 from

Annotations (7)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName PCADEADDRID view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY partner but020 partner With Partner
KEY nation adrc nation Country/Region
addrnumber

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 P_CN_CADEAddressID.
-- 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: PCADEADDRID

CREATE VIEW P_CN_CADEAddressID AS
SELECT
  but020.partner AS partner,
  adrc.nation AS nation,
  max (adrc.addrnumber) AS addrnumber
FROM but020
LEFT OUTER JOIN adrc ON /* join condition not captured in parsed metadata */
;