I_AddrPersnNameDfltRprstn

DDL: I_ADDRPERSNNAMEDFLTRPRSTN Type: view_entity BASIC

Default Representation for Person Name

I_AddrPersnNameDfltRprstn (Basic)

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

Cross Applications

I_AddrPersnNameDfltRprstn is a Basic CDS View that provides data about "Default Representation for Person Name" in SAP S/4HANA. It reads from 1 data source (I_AddressPersonName) and exposes 27 fields with key field AddressPersonID. It has 1 association to related views.

SAP Help Documentation

CategoryCDS Views for Business Address Service
Purpose
This CDS view returns the address representation of a person's personal details in the default or space version. This CDS view provides the data to answer the following business questions: What is the address representation of a person's name and other details in the default version? 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 need to access it via another CDS view (privileged mode).

Structure
Important Fields Important fields in this view include the following: Field Name Description AddressPersonID Person Number AddressRepresentationCode Version ID for International Addresses FormOfAddress Form-of-Address Key GivenName First Name FamilyName Last Name PersonBirthName Name of Person at Birth PersonMiddleName Middle Name or Second Forename of a Person SecondFamilyName Other Last Name of a Person AcademicTitle Academic Title Key AcademicTitle2 Second Academic Title Key FamilyNamePrefix Name Prefix Key FamilyNameSecondPrefix Second Name Prefix Key PersonNameSupplementCode Name Supplement (for example, noble title key) PersonNickname Nickname or Name Used NameInitials Middle Initials or Personal Initials PersonFullName Full Name of a Person CorrespondenceLanguage Language Key AddressPersonSearchTerm1 Search Term 1 AddressPersonSearchTerm2 Search Term 2

View on SAP Help Portal →

SAP API Hub

StateC1
Line of BusinessCross Applications
Application ComponentBC-SRV-ADR
CapabilitiesAssociation Target for Defining CDS Entities, Data Source in SQL Select, Data Source for Defining CDS Entities
PackageCross Applications for SAP S/4HANA Cloud Private Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
I_AddressPersonName Person from

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_AddressPersonName _DfltRprstnPerson $projection.AddressPersonID = _DfltRprstnPerson.AddressPersonID and _DfltRprstnPerson.AddressRepresentationCode is not initial

Annotations (9)

NameValueLevelField
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
EndUserText.label Default Representation for Person Name view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.representativeKey AddressPersonID view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view

Fields (27)

KeyFieldSource TableSource FieldDescription
KEY AddressPersonID I_AddressPersonName AddressPersonID Person Number
AddressRepresentationCode I_AddressPersonName AddressRepresentationCode Version ID for International Addresses
FormOfAddress I_AddressPersonName FormOfAddress Form-of-Address Key
GivenName I_AddressPersonName GivenName First Name
FamilyName I_AddressPersonName FamilyName Last Name
PersonBirthName I_AddressPersonName PersonBirthName Name of person at birth
PersonMiddleName I_AddressPersonName PersonMiddleName Middle name or second forename of a person
SecondFamilyName I_AddressPersonName SecondFamilyName Other Last Name of a Person
AcademicTitle I_AddressPersonName AcademicTitle Academic Title: Key
AcademicTitle2 I_AddressPersonName AcademicTitle2 Second academic title (key)
FamilyNamePrefix I_AddressPersonName FamilyNamePrefix Name Prefix (Key)
FamilyNameSecondPrefix I_AddressPersonName FamilyNameSecondPrefix 2nd name prefix (key)
PersonNameSupplementCode I_AddressPersonName PersonNameSupplementCode Name supplement, e.g. noble title (key)
PersonNickname I_AddressPersonName PersonNickname Nickname or name used
NameInitials I_AddressPersonName NameInitials "Middle Initial" or personal initials
PersonFullName I_AddressPersonName PersonFullName Full Name of Person
CorrespondenceLanguage I_AddressPersonName CorrespondenceLanguage Language Key
AddressPersonSearchTerm1 I_AddressPersonName AddressPersonSearchTerm1 Sort string 1
AddressPersonSearchTerm2 I_AddressPersonName AddressPersonSearchTerm2 Sort string 2
_AcademicTitle I_AddressPersonName _AcademicTitle
_AcademicTitle2 I_AddressPersonName _AcademicTitle2
_AddressRepresentationCode I_AddressPersonName _AddressRepresentationCode
_FamilyNamePrefix I_AddressPersonName _FamilyNamePrefix
_FamilyNameSecondPrefix I_AddressPersonName _FamilyNameSecondPrefix
_FormOfAddress I_AddressPersonName _FormOfAddress
_NameSupplement I_AddressPersonName _NameSupplement
_DfltRprstnPerson _DfltRprstnPerson

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 I_AddrPersnNameDfltRprstn.
-- 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 I_AddrPersnNameDfltRprstn AS
SELECT
  Person.AddressPersonID AS AddressPersonID,
  Person.AddressRepresentationCode AS AddressRepresentationCode,
  Person.FormOfAddress AS FormOfAddress,
  Person.GivenName AS GivenName,
  Person.FamilyName AS FamilyName,
  Person.PersonBirthName AS PersonBirthName,
  Person.PersonMiddleName AS PersonMiddleName,
  Person.SecondFamilyName AS SecondFamilyName,
  Person.AcademicTitle AS AcademicTitle,
  Person.AcademicTitle2 AS AcademicTitle2,
  Person.FamilyNamePrefix AS FamilyNamePrefix,
  Person.FamilyNameSecondPrefix AS FamilyNameSecondPrefix,
  Person.PersonNameSupplementCode AS PersonNameSupplementCode,
  Person.PersonNickname AS PersonNickname,
  Person.NameInitials AS NameInitials,
  Person.PersonFullName AS PersonFullName,
  Person.CorrespondenceLanguage AS CorrespondenceLanguage,
  Person.AddressPersonSearchTerm1 AS AddressPersonSearchTerm1,
  Person.AddressPersonSearchTerm2 AS AddressPersonSearchTerm2,
  Person._AcademicTitle AS _AcademicTitle,
  Person._AcademicTitle2 AS _AcademicTitle2,
  Person._AddressRepresentationCode AS _AddressRepresentationCode,
  Person._FamilyNamePrefix AS _FamilyNamePrefix,
  Person._FamilyNameSecondPrefix AS _FamilyNameSecondPrefix,
  Person._FormOfAddress AS _FormOfAddress,
  Person._NameSupplement AS _NameSupplement
FROM I_AddressPersonName AS Person
LEFT OUTER JOIN I_AddressPersonName AS _DfltRprstnPerson ON AddressPersonID = _DfltRprstnPerson.AddressPersonID AND _DfltRprstnPerson.AddressRepresentationCode is not initial  -- association [0..*]
;