P_InactiveWorkAssignment

DDL: P_INACTIVEWORKASSIGNMENT Type: view_entity COMPOSITE Package: VDM_WFD_WORK_FORCE

Work Assignment Status of a Worker

P_InactiveWorkAssignment is a Composite CDS View that provides data about "Work Assignment Status of a Worker" in SAP S/4HANA. It reads from 3 data sources (I_WorkAssignmentDetail_1, I_BusinessPartner, I_WorkforcePersonKeyMap) and exposes 3 fields with key field BusinessPartnerUUID. Part of development package VDM_WFD_WORK_FORCE.

Data Sources (3)

SourceAliasJoin Type
I_WorkAssignmentDetail_1 assgmtdets inner
I_BusinessPartner bp inner
I_WorkforcePersonKeyMap keymap from

Annotations (8)

NameValueLevelField
AccessControl.authorizationCheck #MANDATORY view
VDM.private true view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
Metadata.ignorePropagatedAnnotations true view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY BusinessPartnerUUID I_BusinessPartner BusinessPartnerUUID UUID
WorkforceAssignmentStatus
IsBlocked

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_InactiveWorkAssignment.
-- 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.

CREATE VIEW P_InactiveWorkAssignment AS
SELECT
  bp.BusinessPartnerUUID AS BusinessPartnerUUID,
  max(assgmtdets.WorkforceAssignmentStatus) AS WorkforceAssignmentStatus,
  min(assgmtdets.IsBlocked) AS IsBlocked
FROM I_WorkforcePersonKeyMap AS keymap
INNER JOIN I_BusinessPartner AS bp ON /* join condition not captured in parsed metadata */
INNER JOIN I_WorkAssignmentDetail_1 AS assgmtdets ON /* join condition not captured in parsed metadata */
;