WFD_PremJ

DDL: WFD_PREMJ SQL: WFDPREMJ Type: view

Workforce Domain - Sel view for PREMJ

WFD_PremJ is a CDS View that provides data about "Workforce Domain - Sel view for PREMJ" in SAP S/4HANA. It reads from 3 data sources (I_BusinessPartner, P_WorkforceKeyMapping, WFD_WorkForceAssignment) and exposes 11 fields with key field WorkforceAssignmentID.

Data Sources (3)

SourceAliasJoin Type
I_BusinessPartner bupa left_outer
P_WorkforceKeyMapping keymap inner
WFD_WorkForceAssignment wfa from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName WFDPREMJ view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Workforce Domain - Sel view for PREMJ view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
AccessControl.personalData.blocking #REQUIRED view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY WorkforceAssignmentID WFD_WorkForceAssignment WorkforceAssignmentID WorkForce Assgmt ID
WorkforceAssgmtStartDate WFD_WorkForceAssignment WorkforceAssgmtStartDate
WorkforceAssgmtEndDate WFD_WorkForceAssignment WorkforceAssgmtEndDate
FirstName I_BusinessPartner FirstName First Name
LastName I_BusinessPartner LastName Last Name
MiddleName I_BusinessPartner MiddleName Middle Name
BirthDate I_BusinessPartner BirthDate Date of Birth
BusinessPartnerBirthName I_BusinessPartner BusinessPartnerBirthName Name at Birth
AcademicTitle I_BusinessPartner AcademicTitle Academic Title
_AcademicTitleValueHelp I_BusinessPartner _AcademicTitleValueHelp
BusinessPartnerSalutation I_BusinessPartner BusinessPartnerSalutation Salutation

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 WFD_PremJ.
-- 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: WFDPREMJ

CREATE VIEW WFD_PremJ AS
SELECT
  wfa.WorkforceAssignmentID AS WorkforceAssignmentID,
  wfa.WorkforceAssgmtStartDate AS WorkforceAssgmtStartDate,
  wfa.WorkforceAssgmtEndDate AS WorkforceAssgmtEndDate,
  bupa.FirstName AS FirstName,
  bupa.LastName AS LastName,
  bupa.MiddleName AS MiddleName,
  bupa.BirthDate AS BirthDate,
  bupa.BusinessPartnerBirthName AS BusinessPartnerBirthName,
  bupa.AcademicTitle AS AcademicTitle,
  bupa._AcademicTitleValueHelp AS _AcademicTitleValueHelp,
  bupa.BusinessPartnerSalutation AS BusinessPartnerSalutation
FROM WFD_WorkForceAssignment AS wfa
INNER JOIN P_WorkforceKeyMapping AS keymap ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_BusinessPartner AS bupa ON /* join condition not captured in parsed metadata */
;