I_PersWrkAgrmtPosDet

DDL: I_PERSWRKAGRMTPOSDET SQL: IPERSWRKAGRMTPOS Type: view BASIC Package: VDM_SHCM_EMPLOYEE_V2

Person Work Agreement Details with Position

I_PersWrkAgrmtPosDet is a Basic CDS View that provides data about "Person Work Agreement Details with Position" in SAP S/4HANA. It reads from 1 data source (wfd_d_assgmtdets) and exposes 7 fields with key fields PersonWorkAgreement, StartDate, EndDate. Part of development package VDM_SHCM_EMPLOYEE_V2.

Data Sources (1)

SourceAliasJoin Type
wfd_d_assgmtdets assgmtdets from

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName IPERSWRKAGRMTPOS view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #L view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Person Work Agreement Details with Position view

Fields (7)

KeyFieldSource TableSource FieldDescription
KEY PersonWorkAgreement
KEY StartDate
KEY EndDate
OrganizationalUnit
PersonWrkAgrmtPosition
ManagerPersonWorkAgreement
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_PersWrkAgrmtPosDet.
-- 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: IPERSWRKAGRMTPOS

CREATE VIEW I_PersWrkAgrmtPosDet AS
SELECT
  cast(assgmtdets.workforce_assgmt_id as persno preserving type ) AS PersonWorkAgreement,
  cast(assgmtdets.start_date as begda preserving type ) AS StartDate,
  cast(assgmtdets.end_date as endda preserving type ) AS EndDate,
  cast('00000000' as orgeh preserving type ) AS OrganizationalUnit,
  cast('00000000' as plans preserving type ) AS PersonWrkAgrmtPosition,
  cast(assgmtdets.manager_work_assgmt as mstbr ) AS ManagerPersonWorkAgreement,
  cast('' as vdsk1 ) AS PersonWorkAgrmtAuthznGrpg
FROM wfd_d_assgmtdets AS assgmtdets
;