I_AddressPersonName_2

DDL: I_ADDRESSPERSONNAME_2 Type: view_entity BASIC

Person Name

I_AddressPersonName_2 is a Basic CDS View that provides data about "Person Name" in SAP S/4HANA. It reads from 1 data source (adrp) and exposes 29 fields with key fields AddressPersonID, AddressRepresentationCode. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
adrp Person right_outer

Associations (7)

CardinalityTargetAliasCondition
[0..1] I_FormOfAddress _FormOfAddress $projection.FormOfAddress = _FormOfAddress.FormOfAddress
[0..1] I_NameSupplement _NameSupplement $projection.PersonNameSupplementCode = _NameSupplement.PersonNameSupplementCode
[0..1] I_FamilyNamePrefix _FamilyNamePrefix $projection.FamilyNamePrefix = _FamilyNamePrefix.FamilyNamePrefix
[0..1] I_FamilyNamePrefix _FamilyNameSecondPrefix $projection.FamilyNameSecondPrefix = _FamilyNameSecondPrefix.FamilyNamePrefix
[0..1] I_AcademicTitle _AcademicTitle $projection.AcademicTitle = _AcademicTitle.AcademicTitle
[0..1] I_AcademicTitle _AcademicTitle2 $projection.AcademicTitle2 = _AcademicTitle2.AcademicTitle
[0..1] I_AddressRepresentation _AddressRepresentationCode $projection.AddressRepresentationCode = _AddressRepresentationCode.AddressRepresentationCode

Annotations (8)

NameValueLevelField
EndUserText.label 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 (29)

KeyFieldSource TableSource FieldDescription
KEY AddressPersonID adrp persnumber Person Number
KEY AddressRepresentationCode adrp nation Country/Region
AddressID PersAddress addrnumber Address Number
FormOfAddress adrp title View Title
GivenName adrp name_first First Name
FamilyName adrp name_last Last Name
PersonBirthName adrp name2 Name2/First nme
PersonMiddleName adrp namemiddle Middle Name
SecondFamilyName adrp name_last2 Name at Birth
AcademicTitle adrp title_aca1 Academic Title
AcademicTitle2 adrp title_aca2 2nd Academic
FamilyNamePrefix adrp prefix1 Prefix Key
FamilyNameSecondPrefix adrp prefix2 2nd prefix
PersonNameSupplementCode adrp title_sppl Name Supplement
PersonNickname adrp nickname Nickname
NameInitials adrp initials Initials
PersonFullName adrp name_text Full Name
CorrespondenceLanguage adrp langu Primary lang.
AddressPersonSearchTerm1 adrp sort1 Sort string 1
AddressPersonSearchTerm2 adrp sort2 Sort string 2
PersonFullNameFormattingCode adrp nameformat Name Format
PersonFullNameFormattingCntry adrp namcountry Country/Region
_FormOfAddress _FormOfAddress
_NameSupplement _NameSupplement
_FamilyNamePrefix _FamilyNamePrefix
_FamilyNameSecondPrefix _FamilyNameSecondPrefix
_AcademicTitle _AcademicTitle
_AcademicTitle2 _AcademicTitle2
_AddressRepresentationCode _AddressRepresentationCode

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_AddressPersonName_2.
-- 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_AddressPersonName_2 AS
SELECT
  Person.persnumber AS AddressPersonID,
  Person.nation AS AddressRepresentationCode,
  PersAddress.addrnumber AS AddressID,
  Person.title AS FormOfAddress,
  Person.name_first AS GivenName,
  Person.name_last AS FamilyName,
  Person.name2 AS PersonBirthName,
  Person.namemiddle AS PersonMiddleName,
  Person.name_last2 AS SecondFamilyName,
  Person.title_aca1 AS AcademicTitle,
  Person.title_aca2 AS AcademicTitle2,
  Person.prefix1 AS FamilyNamePrefix,
  Person.prefix2 AS FamilyNameSecondPrefix,
  Person.title_sppl AS PersonNameSupplementCode,
  Person.nickname AS PersonNickname,
  Person.initials AS NameInitials,
  Person.name_text AS PersonFullName,
  Person.langu AS CorrespondenceLanguage,
  Person.sort1 AS AddressPersonSearchTerm1,
  Person.sort2 AS AddressPersonSearchTerm2,
  Person.nameformat AS PersonFullNameFormattingCode,
  Person.namcountry AS PersonFullNameFormattingCntry
RIGHT OUTER JOIN adrp AS Person ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_FormOfAddress AS _FormOfAddress ON FormOfAddress = _FormOfAddress.FormOfAddress  -- association [0..1]
LEFT OUTER JOIN I_NameSupplement AS _NameSupplement ON PersonNameSupplementCode = _NameSupplement.PersonNameSupplementCode  -- association [0..1]
LEFT OUTER JOIN I_FamilyNamePrefix AS _FamilyNamePrefix ON FamilyNamePrefix = _FamilyNamePrefix.FamilyNamePrefix  -- association [0..1]
LEFT OUTER JOIN I_FamilyNamePrefix AS _FamilyNameSecondPrefix ON FamilyNameSecondPrefix = _FamilyNameSecondPrefix.FamilyNamePrefix  -- association [0..1]
LEFT OUTER JOIN I_AcademicTitle AS _AcademicTitle ON AcademicTitle = _AcademicTitle.AcademicTitle  -- association [0..1]
LEFT OUTER JOIN I_AcademicTitle AS _AcademicTitle2 ON AcademicTitle2 = _AcademicTitle2.AcademicTitle  -- association [0..1]
LEFT OUTER JOIN I_AddressRepresentation AS _AddressRepresentationCode ON AddressRepresentationCode = _AddressRepresentationCode.AddressRepresentationCode  -- association [0..1]
;