P_U_EmployeeOp

DDL: P_U_EMPLOYEEOP SQL: PUEMPLOYEEOP Type: view BASIC

P_U_EmployeeOp is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (P_N_EmployeeOp, P_O_EmployeeOp, wfd_d_new_pers, wfd_d_new_pers) and exposes 67 fields with key field PersonnelNumber.

Data Sources (4)

SourceAliasJoin Type
P_N_EmployeeOp new union_all
P_O_EmployeeOp old from
wfd_d_new_pers switch left_outer
wfd_d_new_pers switch inner

Annotations (7)

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

Fields (67)

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 Last Name
FirstName FirstName First Name
LastName LastName Last Name
BusinessPartnerName BusinessPartnerName Extracted Customer Name
GivenName GivenName First Name
MiddleName MiddleName Middle Name
AdditionalFamilyName AdditionalFamilyName Other Last Name
AcademicTitle AcademicTitle Academic Title
FamilyNamePrefix FamilyNamePrefix Prefix Key
Initials Initials Initials
FullName FullName Name
EmployeeFullName EmployeeFullName Full Name
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
mandtkeyPersonnelNumber
EmployeeInternalID EmployeeInternalID Busn. Partner
Employee Employee Object ID
ValidityStartDate ValidityStartDate Validity Start Date
ValidityEndDate ValidityEndDate ValidTo
FormOfAddress FormOfAddress Title Key
FamilyName FamilyName Last Name
FirstName FirstName First Name
LastName LastName Last Name
BusinessPartnerName BusinessPartnerName Extracted Customer Name
GivenName GivenName First Name
MiddleName MiddleName Middle Name
AdditionalFamilyName AdditionalFamilyName Other Last Name
AcademicTitle AcademicTitle Academic Title
FamilyNamePrefix FamilyNamePrefix Prefix Key
Initials Initials Initials
FullName FullName Name
EmployeeFullName EmployeeFullName Full Name
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_U_EmployeeOp.
-- 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: PUEMPLOYEEOP

CREATE VIEW P_U_EmployeeOp 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 AS mandtkeyPersonnelNumber,
  IsBusinessPurposeCompleted
FROM P_O_EmployeeOp AS old
LEFT OUTER JOIN wfd_d_new_pers AS switch ON /* join condition not captured in parsed metadata */
INNER JOIN wfd_d_new_pers AS switch ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): P_N_EmployeeOp
;