P_RSHStaffingRequestList
P_RSHStaffingRequestList is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (P_RSHStaffingRequest) and exposes 50 fields with key field ResourceDemandUUID. It has 3 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| P_RSHStaffingRequest | Request | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_PersnWrkAgreementDet | _ProjectManager | _ProjectManager.PersonWorkAgreement = $projection.ProjectManager |
| [0..*] | I_PersnWrkAgreementDet | _StaffedResource | _StaffedResource.PersonWorkAgreement = $projection.EmploymentInternalID |
| [0..*] | I_PersnWrkAgreementDet | _PreferredResource | _PreferredResource.PersonWorkAgreement = $projection.EmployeeReqPrfrdEmplymtIntID |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRSHSTAFFREQLIST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | #D | view | |
| ObjectModel.usageType.sizeCategory | #L | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| VDM.viewType | #COMPOSITE | view | |
| VDM.private | true | view |
Fields (50)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ResourceDemandUUID | ResourceDemandUUID | Demand Key | |
| EngagementProjectUUID | P_RSHStaffingRequest | EngagementProjectUUID | Engmnt Project UUID | |
| WorkPackageUUID | P_RSHStaffingRequest | WorkPackageUUID | Work Package UUID | |
| WorkItem | P_RSHStaffingRequest | WorkItem | Work Item ID | |
| ServiceOrganization | P_RSHStaffingRequest | ServiceOrganization | ||
| EngagementProjectResource | P_RSHStaffingRequest | EngagementProjectResource | Resource ID | |
| EngagementProjectResourceType | P_RSHStaffingRequest | EngagementProjectResourceType | ResourceTypeID | |
| EmployeeRequestIsStaffed | P_RSHStaffingRequest | EmployeeRequestIsStaffed | ||
| EngagementProject | P_RSHStaffingRequest | EngagementProject | Engmnt Project ID | |
| EngagementProjectCategory | P_RSHStaffingRequest | EngagementProjectCategory | ||
| EmployeeRequestDelivOrg | P_RSHStaffingRequest | EmployeeRequestDelivOrg | ||
| ProjAssignmentStartDate | P_RSHStaffingRequest | ProjAssignmentStartDate | ||
| ProjAssignmentEndDate | P_RSHStaffingRequest | ProjAssignmentEndDate | ||
| Currency | P_RSHStaffingRequest | Currency | Valuation Crcy | |
| PlndRevAmt | P_RSHStaffingRequest | PlndRevAmt | ||
| EngagementProjectName | P_RSHStaffingRequest | EngagementProjectName | ||
| WorkPackageName | P_RSHStaffingRequest | WorkPackageName | Plan Item Desc. | |
| ProjectManager | P_RSHStaffingRequest | ProjectManager | Busn. Partner | |
| WorkPackage | P_RSHStaffingRequest | WorkPackage | Plan Item | |
| BillingControlCategory | P_RSHStaffingRequest | BillingControlCategory | Billing Category | |
| EmploymentInternalID | P_RSHStaffingRequest | EmploymentInternalID | WorkForce Assgmt ID | |
| StartDate | P_RSHStaffingRequest | StartDate | Valid From | |
| EndDate | P_RSHStaffingRequest | EndDate | Term to | |
| UnitOfMeasure | P_RSHStaffingRequest | UnitOfMeasure | Unit Protected Qty | |
| EmployeeRequestDuration | ||||
| EmployeeRequestAssignDuration | P_RSHStaffingRequest | EmployeeRequestAssignDuration | ||
| EmployeeRequestOpenDuration | P_RSHStaffingRequest | EmployeeRequestOpenDuration | Remaining Required Hours | |
| EmployeeReqPrfrdEmplymtIntID | P_RSHStaffingRequest | EmployeeReqPrfrdEmplymtIntID | WorkForce Assgmt ID | |
| ProjectVisibility | P_RSHStaffingRequest | ProjectVisibility | ||
| EngagementProjectStage | P_RSHStaffingRequest | EngagementProjectStage | ||
| Customer | P_RSHStaffingRequest | Customer | Sold-to Party | |
| _Role | P_RSHStaffingRequest | _Role | ||
| _Customer | P_RSHStaffingRequest | _Customer | ||
| _WorkPackage | P_RSHStaffingRequest | _WorkPackage | ||
| _WorkItem | P_RSHStaffingRequest | _WorkItem | ||
| _Project | P_RSHStaffingRequest | _Project | ||
| EmployeeRequestAuthorized | EmployeeRequestAuthorized | |||
| EmployeeRequestHdrSrvOrg | EmployeeRequestHdrSrvOrg | |||
| EmployeeRequestHdrCostCenter | EmployeeRequestHdrCostCenter | |||
| ControllingArea | ControllingArea | Controlling Area | ||
| IsBusPrpsCmpltdCustomer | IsBusPrpsCmpltdCustomer | |||
| CustomerAuthznGrp | CustomerAuthznGrp | |||
| IsBusPrpsCmpltdProjectManager | IsBusPrpsCmpltdProjectManager | |||
| ProjectManagerAuthznGrp | ProjectManagerAuthznGrp | |||
| AssignmentCountendasAssignmentCount | ||||
| SitnInstceAnchorObjectKey | ||||
| _ProjectManager | _ProjectManager | |||
| _StaffedResource | _StaffedResource | |||
| _PreferredResource | _PreferredResource | |||
| _Skilltags | _Skilltags |
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_RSHStaffingRequestList.
-- 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: PRSHSTAFFREQLIST
CREATE VIEW P_RSHStaffingRequestList AS
SELECT
ResourceDemandUUID,
Request.EngagementProjectUUID AS EngagementProjectUUID,
Request.WorkPackageUUID AS WorkPackageUUID,
Request.WorkItem AS WorkItem,
Request.ServiceOrganization AS ServiceOrganization,
Request.EngagementProjectResource AS EngagementProjectResource,
Request.EngagementProjectResourceType AS EngagementProjectResourceType,
Request.EmployeeRequestIsStaffed AS EmployeeRequestIsStaffed,
Request.EngagementProject AS EngagementProject,
Request.EngagementProjectCategory AS EngagementProjectCategory,
Request.EmployeeRequestDelivOrg AS EmployeeRequestDelivOrg,
Request.ProjAssignmentStartDate AS ProjAssignmentStartDate,
Request.ProjAssignmentEndDate AS ProjAssignmentEndDate,
Request.Currency AS Currency,
Request.PlndRevAmt AS PlndRevAmt,
Request.EngagementProjectName AS EngagementProjectName,
Request.WorkPackageName AS WorkPackageName,
Request.ProjectManager AS ProjectManager,
Request.WorkPackage AS WorkPackage,
Request.BillingControlCategory AS BillingControlCategory,
Request.EmploymentInternalID AS EmploymentInternalID,
Request.StartDate AS StartDate,
Request.EndDate AS EndDate,
Request.UnitOfMeasure AS UnitOfMeasure,
cast(Request.EmployeeRequestDuration as rsh_ps_employeerequestduration) AS EmployeeRequestDuration,
Request.EmployeeRequestAssignDuration AS EmployeeRequestAssignDuration,
Request.EmployeeRequestOpenDuration AS EmployeeRequestOpenDuration,
Request.EmployeeReqPrfrdEmplymtIntID AS EmployeeReqPrfrdEmplymtIntID,
Request.ProjectVisibility AS ProjectVisibility,
Request.EngagementProjectStage AS EngagementProjectStage,
Request.Customer AS Customer,
Request._Role AS _Role,
Request._Customer AS _Customer,
Request._WorkPackage AS _WorkPackage,
Request._WorkItem AS _WorkItem,
Request._Project AS _Project,
EmployeeRequestAuthorized,
EmployeeRequestHdrSrvOrg,
EmployeeRequestHdrCostCenter,
ControllingArea,
IsBusPrpsCmpltdCustomer,
CustomerAuthznGrp,
IsBusPrpsCmpltdProjectManager,
ProjectManagerAuthznGrp,
case when Request.AssignmentCount is null then 0 else Request.AssignmentCount end as AssignmentCount AS AssignmentCountendasAssignmentCount,
bintohex(ResourceDemandUUID) AS SitnInstceAnchorObjectKey
FROM P_RSHStaffingRequest AS Request
LEFT OUTER JOIN I_PersnWrkAgreementDet AS _ProjectManager ON _ProjectManager.PersonWorkAgreement = ProjectManager -- association [0..*]
LEFT OUTER JOIN I_PersnWrkAgreementDet AS _StaffedResource ON _StaffedResource.PersonWorkAgreement = EmploymentInternalID -- association [0..*]
LEFT OUTER JOIN I_PersnWrkAgreementDet AS _PreferredResource ON _PreferredResource.PersonWorkAgreement = EmployeeReqPrfrdEmplymtIntID -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA