P_WorkforceAssignment

DDL: P_WORKFORCEASSIGNMENT SQL: PWORKFORCEASSGMT Type: view BASIC

P_WorkforceAssignment is a Basic CDS View in SAP S/4HANA. It reads from 1 data source (wfd_d_assgmt) and exposes 6 fields with key field WorkforceAssignmentID.

Data Sources (1)

SourceAliasJoin Type
wfd_d_assgmt wfd_d_assgmt from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PWORKFORCEASSGMT view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
VDM.private true view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.serviceQuality #B view

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY WorkforceAssignmentID workforce_assgmt_id WorkForce Assgmt ID
WorkforceAssgmtStartDate start_date Valn start date
WorkforceAssgmtEndDate end_date Valn End date
BusinessPartner business_partner_id Busn. Partner
ExtWorkforceAssgmtUUID ext_workforce_assgmt_uuid Ext Workforce Assgmt
IsContingentWorker is_contingent_worker Contingent Worker

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_WorkforceAssignment.
-- 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: PWORKFORCEASSGMT

CREATE VIEW P_WorkforceAssignment AS
SELECT
  workforce_assgmt_id AS WorkforceAssignmentID,
  start_date AS WorkforceAssgmtStartDate,
  end_date AS WorkforceAssgmtEndDate,
  business_partner_id AS BusinessPartner,
  ext_workforce_assgmt_uuid AS ExtWorkforceAssgmtUUID,
  is_contingent_worker AS IsContingentWorker
FROM wfd_d_assgmt
;