P_EmployeeLineManager

DDL: P_EMPLOYEELINEMANAGER SQL: PLINEMANAGER Type: view BASIC

P_EmployeeLineManager is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (wfd_d_assgmtdets, pa0001, wfd_d_new_pers, wfd_d_new_pers) and exposes 6 fields with key fields EmploymentInternalID, ValidityStartDate, ValidityStartDate.

Data Sources (4)

SourceAliasJoin Type
wfd_d_assgmtdets assgmtdets union_all
pa0001 Employee from
wfd_d_new_pers switch left_outer
wfd_d_new_pers switch inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PLINEMANAGER view
AccessControl.authorizationCheck #NOT_REQUIRED view
VDM.viewType #BASIC view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY EmploymentInternalID pa0001 pernr Personnel no.
KEY ValidityStartDate pa0001 begda Valn start date
ValidityEndDate pa0001 endda Valn End date
KEY ValidityStartDate wfd_d_assgmtdets start_date Valn start date
ValidityEndDate wfd_d_assgmtdets end_date Valn End date
ManagerPersonWorkAgreement wfd_d_assgmtdets manager_work_assgmt Manager Assgmt ID

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_EmployeeLineManager.
-- 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: PLINEMANAGER

CREATE VIEW P_EmployeeLineManager AS
SELECT
  Employee.pernr AS EmploymentInternalID,
  Employee.begda AS ValidityStartDate,
  Employee.endda AS ValidityEndDate,
  assgmtdets.manager_work_assgmt AS ManagerPersonWorkAgreement
FROM pa0001 AS Employee
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): wfd_d_assgmtdets
;