WFD_PremG

DDL: WFD_PREMG SQL: WFDPREMG Type: view Package: WFD_FC_ACCESS_LAYER

Workforce Domain - Sel view for PREMG

WFD_PremG is a CDS View that provides data about "Workforce Domain - Sel view for PREMG" in SAP S/4HANA. It reads from 3 data sources (I_BusinessPartner, P_WorkforceKeyMapping, WFD_WorkForceAssignment) and exposes 6 fields with key field WorkforceAssignmentID. Part of development package WFD_FC_ACCESS_LAYER.

Data Sources (3)

SourceAliasJoin Type
I_BusinessPartner bupa left_outer
P_WorkforceKeyMapping keymap inner
WFD_WorkForceAssignment wfa from

Annotations (9)

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

Fields (6)

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
BirthDate I_BusinessPartner BirthDate Date of Birth

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_PremG.
-- 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: WFDPREMG

CREATE VIEW WFD_PremG AS
SELECT
  wfa.WorkforceAssignmentID AS WorkforceAssignmentID,
  wfa.WorkforceAssgmtStartDate AS WorkforceAssgmtStartDate,
  wfa.WorkforceAssgmtEndDate AS WorkforceAssgmtEndDate,
  bupa.FirstName AS FirstName,
  bupa.LastName AS LastName,
  bupa.BirthDate AS BirthDate
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 */
;