SEPM_I_PartyAddress
EPM Demo: Party Address
SEPM_I_PartyAddress is a CDS View that provides data about "EPM Demo: Party Address" in SAP S/4HANA. It reads from 2 data sources (SEPM_I_BusinessPartner, SEPM_I_ContactPerson) and exposes 21 fields with key field PartyAddressUUID. It has 4 associations to related views.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| SEPM_I_BusinessPartner | SEPM_I_BusinessPartner | from |
| SEPM_I_ContactPerson | SEPM_I_ContactPerson | union_all |
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | SEPM_I_Address | _Address | $projection.PartyAddressUUID = _Address.AddressUUID |
| [0..1] | SEPM_I_BusinessPartner | _BusinessPartner | $projection.BusinessPartnerUUID = _BusinessPartner.BusinessPartnerUUID |
| [0..1] | SEPM_I_ContactPerson | _ContactPerson | $projection.ContactPersonUUID = _ContactPerson.ContactPersonUUID |
| [0..1] | SEPM_I_PartyRole | _PartyRole | $projection.PartyRole = _PartyRole.PartyRole |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SEPM_IPARTYADDR | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | EPM Demo: Party Address | view | |
| ObjectModel.representativeKey | PartyAddressUUID | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view |
Fields (21)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | PartyAddressUUID | SEPM_I_BusinessPartner | AddressUUID | UUID |
| PartyRole | ||||
| PartyName | Name | |||
| Party | Contact Person Key | |||
| BusinessPartnerUUID | SEPM_I_BusinessPartner | BusinessPartnerUUID | UUID | |
| ContactPersonUUID | Tree Model: Node Key | |||
| BusinessPartner | SEPM_I_BusinessPartner | BusinessPartner | Issuing Authority | |
| _Address | _Address | |||
| _BusinessPartner | _BusinessPartner | |||
| _ContactPerson | _ContactPerson | |||
| AddressUUIDasPartyAddressUUID | ||||
| PartyRole | ||||
| PartyName | SEPM_I_ContactPerson | FullName | Name | |
| Party | SEPM_I_ContactPerson | ContactPerson | Contact Person Key | |
| BusinessPartnerUUID | SEPM_I_ContactPerson | BusinessPartnerUUID | UUID | |
| ContactPersonUUID | SEPM_I_ContactPerson | ContactPersonUUID | Tree Model: Node Key | |
| BusinessPartner | _BusinessPartner | BusinessPartner | Issuing Authority | |
| _Address | _Address | |||
| _BusinessPartner | _BusinessPartner | |||
| _ContactPerson | _ContactPerson | |||
| _PartyRole | _PartyRole |
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 SEPM_I_PartyAddress.
-- 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: SEPM_IPARTYADDR
CREATE VIEW SEPM_I_PartyAddress AS
SELECT
SEPM_I_BusinessPartner.AddressUUID AS PartyAddressUUID,
cast ( SEPM_I_BusinessPartner.BusinessPartnerRole as sepm_party_role preserving type ) AS PartyRole,
cast ( SEPM_I_BusinessPartner.CompanyName as snwd_party_name ) AS PartyName,
cast( SEPM_I_BusinessPartner.BusinessPartner as snwd_party_id preserving type ) AS Party,
SEPM_I_BusinessPartner.BusinessPartnerUUID AS BusinessPartnerUUID,
cast ( hextobin('00000000000000000000000000000000') as snwd_node_key preserving type ) AS ContactPersonUUID,
SEPM_I_BusinessPartner.BusinessPartner AS BusinessPartner
FROM SEPM_I_BusinessPartner
LEFT OUTER JOIN SEPM_I_Address AS _Address ON PartyAddressUUID = _Address.AddressUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_BusinessPartner AS _BusinessPartner ON BusinessPartnerUUID = _BusinessPartner.BusinessPartnerUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_ContactPerson AS _ContactPerson ON ContactPersonUUID = _ContactPerson.ContactPersonUUID -- association [0..1]
LEFT OUTER JOIN SEPM_I_PartyRole AS _PartyRole ON PartyRole = _PartyRole.PartyRole -- association [0..1]
-- UNION ALL with additional select branch(es): SEPM_I_ContactPerson
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA