P_RSHAssignedWorkcenters
Work Centers Assigned to Me
P_RSHAssignedWorkcenters is a Basic CDS View that provides data about "Work Centers Assigned to Me" in SAP S/4HANA. It reads from 1 data source (rsh_d_usr_def) and exposes 10 fields with key fields UserName, WorkCenterInternalID, WorkCenterTypeCode. It has 2 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| rsh_d_usr_def | rsh_d_usr_def | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_WorkCenter | _WorkCenter | $projection.WorkCenterInternalID = _WorkCenter.WorkCenterInternalID and $projection.WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode |
| [1..1] | I_WorkCenterType | _WorkCenterType | $projection.WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode |
Annotations (14)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRSHASSIGNEDWCS | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ObjectModel.representativeKey | WorkCenterInternalID | view | |
| EndUserText.label | Work Centers Assigned to Me | view | |
| VDM.private | true | view | |
| VDM.viewType | #BASIC | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.usageType.dataClass | #ORGANIZATIONAL | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| AccessControl.personalData.blocking | #NOT_REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (10)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | UserName | rsh_d_usr_def | username | User who owns item |
| KEY | WorkCenterInternalID | rsh_d_usr_wc | wc_objid | Object ID |
| KEY | WorkCenterTypeCode | rsh_d_usr_wc | wc_objty | Object Type |
| Plant | _WorkCenter | Plant | Valuation Area | |
| CapacityInternalID | _WorkCenter | CapacityInternalID | Capacity ID | |
| WorkCenter | _WorkCenter | WorkCenter | Work Center | |
| WorkCenterCategoryCode | _WorkCenter | WorkCenterCategoryCode | ||
| DummyTypeCode | ||||
| _WorkCenter | _WorkCenter | |||
| _WorkCenterType | _WorkCenterType |
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_RSHAssignedWorkcenters.
-- 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: PRSHASSIGNEDWCS
CREATE VIEW P_RSHAssignedWorkcenters AS
SELECT
rsh_d_usr_def.username AS UserName,
rsh_d_usr_wc.wc_objid AS WorkCenterInternalID,
rsh_d_usr_wc.wc_objty AS WorkCenterTypeCode,
_WorkCenter.Plant AS Plant,
_WorkCenter.CapacityInternalID AS CapacityInternalID,
_WorkCenter.WorkCenter AS WorkCenter,
_WorkCenter.WorkCenterCategoryCode AS WorkCenterCategoryCode,
' ' AS DummyTypeCode
FROM rsh_d_usr_def
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON WorkCenterInternalID = _WorkCenter.WorkCenterInternalID AND WorkCenterTypeCode = _WorkCenter.WorkCenterTypeCode -- association [1..1]
LEFT OUTER JOIN I_WorkCenterType AS _WorkCenterType ON WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode -- association [1..1]
;
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