I_EmployStatDet

DDL: I_EMPLOYSTATDET SQL: IEMPLOYSTATDET Type: view BASIC Package: VDM_SHCM_EMPLOYEE

Employment status

I_EmployStatDet is a Basic CDS View that provides data about "Employment status" in SAP S/4HANA. It reads from 4 data sources (wfd_d_assgmt, wfd_d_assgmtdets, P_WFD_GET_MINEPERNR, wfd_d_keymap) and exposes 6 fields with key fields EmploymentInternalID, StartDate. Part of development package VDM_SHCM_EMPLOYEE.

Data Sources (4)

SourceAliasJoin Type
wfd_d_assgmt assgmt inner
wfd_d_assgmtdets assgmtdets from
P_WFD_GET_MINEPERNR mainEmployment inner
wfd_d_keymap wfd_d_keymap inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName IEMPLOYSTATDET view
VDM.viewType #BASIC view
EndUserText.label Employment status view
AccessControl.authorizationCheck #NOT_REQUIRED 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 wfd_d_assgmtdets workforce_assgmt_id WorkForce Assgmt ID
KEY StartDate wfd_d_assgmtdets start_date Valn start date
EndDate wfd_d_assgmtdets end_date Valn End date
PersonnelNumber wfd_d_keymap central_person WorkForce Master ID
EmploymentStatus wfd_d_assgmtdets employment_status Employment Status
PersonWorkAgrmtAuthznGrpg

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 I_EmployStatDet.
-- 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: IEMPLOYSTATDET

CREATE VIEW I_EmployStatDet AS
SELECT
  assgmtdets.workforce_assgmt_id AS EmploymentInternalID,
  assgmtdets.start_date AS StartDate,
  assgmtdets.end_date AS EndDate,
  wfd_d_keymap.central_person AS PersonnelNumber,
  assgmtdets.employment_status AS EmploymentStatus,
  cast('' as vdsk1 ) AS PersonWorkAgrmtAuthznGrpg
FROM wfd_d_assgmtdets AS assgmtdets
INNER JOIN wfd_d_assgmt AS assgmt ON /* join condition not captured in parsed metadata */
INNER JOIN wfd_d_keymap ON /* join condition not captured in parsed metadata */
INNER JOIN P_WFD_GET_MINEPERNR AS mainEmployment ON /* join condition not captured in parsed metadata */
;