HPA_MSW_Item
Item
HPA_MSW_Item is a CDS View that provides data about "Item" in SAP S/4HANA. It reads from 1 data source (hpai_msw_item) and exposes 4 fields with key field id. It has 2 associations to related views. Part of development package HPA_FND_MSW_NO_TRANSL.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| hpai_msw_item | hpai_msw_item | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | HPA_MSW_Item_Text | _Text | $projection.id = _Text.id |
| [1..*] | HPA_MSW_Item_Activity | _ItemActivity | $projection.id = _ItemActivity.item_id |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | Item | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| AbapCatalog.sqlViewName | HPA_MSW_ITM | view | |
| ObjectModel.representativeKey | id | view | |
| ClientHandling.algorithm | #NONE | view | |
| ClientHandling.type | #CLIENT_INDEPENDENT | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| AbapCatalog.buffering.type | #FULL | view | |
| AbapCatalog.buffering.status | #ACTIVE | view | |
| AbapCatalog.buffering.numberOfKeyFields | 000 | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | id | id | WorklistID | |
| scenario_id | scenario_id | Workflow definition | ||
| _Text | _Text | |||
| _ItemActivity | _ItemActivity |
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 HPA_MSW_Item.
-- 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: HPA_MSW_ITM
CREATE VIEW HPA_MSW_Item AS
SELECT
id,
scenario_id
FROM hpai_msw_item
LEFT OUTER JOIN HPA_MSW_Item_Text AS _Text ON id = _Text.id -- association [0..*]
LEFT OUTER JOIN HPA_MSW_Item_Activity AS _ItemActivity ON id = _ItemActivity.item_id -- association [1..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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