P_EmployeeUnion

DDL: P_EMPLOYEEUNION SQL: PEMPLOYEEUNION Type: view BASIC

P_EmployeeUnion is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (P_EmployeeOp) and exposes 34 fields with key field PersonnelNumber.

Data Sources (1)

SourceAliasJoin Type
P_EmployeeOp P_EmployeeOp from

Annotations (4)

NameValueLevelField
VDM.private true view
AbapCatalog.sqlViewName PEMPLOYEEUNION view
VDM.viewType #BASIC view
AccessControl.authorizationCheck #NOT_REQUIRED view

Fields (34)

KeyFieldSource TableSource FieldDescription
KEY PersonnelNumber PersonnelNumber Personnel No.
EmployeeInternalID EmployeeInternalID Busn. Partner
Employee Employee Object ID
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
FormOfAddress FormOfAddress Title Key
FamilyName FamilyName
FirstName FirstName First Name
LastName LastName Last Name
BusinessPartnerName BusinessPartnerName Extracted Customer Name
GivenName GivenName
MiddleName MiddleName Middle Name
AdditionalFamilyName AdditionalFamilyName
AcademicTitle AcademicTitle Academic Title
FamilyNamePrefix FamilyNamePrefix
Initials Initials Initials
FullName FullName Name
EmployeeFullName EmployeeFullName
CorrespondenceLanguage CorrespondenceLanguage Language
GenderCode GenderCode
BusinessUser BusinessUser
UserID UserID User Name
EmployeeImageURL EmployeeImageURL
BusinessPartnerRole BusinessPartnerRole BP Role
Person Person Person/ Farm/ Field
BusinessPartnerUUID BusinessPartnerUUID UUID
CreatedByUser CreatedByUser User Name
CreationDate CreationDate Time Stamp
CreationTime CreationTime Time of Change
LastChangedByUser LastChangedByUser User Name
LastChangeDate LastChangeDate Time Stamp
LastChangeTime LastChangeTime Time changed
AuthorizationGroup AuthorizationGroup AuthorizGroup
IsBusinessPurposeCompleted IsBusinessPurposeCompleted Purpose Completed

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_EmployeeUnion.
-- 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: PEMPLOYEEUNION

CREATE VIEW P_EmployeeUnion AS
SELECT
  PersonnelNumber,
  EmployeeInternalID,
  Employee,
  ValidityStartDate,
  ValidityEndDate,
  FormOfAddress,
  FamilyName,
  FirstName,
  LastName,
  BusinessPartnerName,
  GivenName,
  MiddleName,
  AdditionalFamilyName,
  AcademicTitle,
  FamilyNamePrefix,
  Initials,
  FullName,
  EmployeeFullName,
  CorrespondenceLanguage,
  GenderCode,
  BusinessUser,
  UserID,
  EmployeeImageURL,
  BusinessPartnerRole,
  Person,
  BusinessPartnerUUID,
  CreatedByUser,
  CreationDate,
  CreationTime,
  LastChangedByUser,
  LastChangeDate,
  LastChangeTime,
  AuthorizationGroup,
  IsBusinessPurposeCompleted
FROM P_EmployeeOp
;