I_EWM_StockWithReferenceDoc
Special Stock for Documents
I_EWM_StockWithReferenceDoc is a Basic CDS View that provides data about "Special Stock for Documents" in SAP S/4HANA. It reads from 1 data source (/scwm/stock_iw03) and exposes 12 fields with key fields Warehouse, ProductUUID, BatchUUID, StockType, DeliveryDocument. Part of development package VDM_EWM_CORE.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| /scwm/stock_iw03 | /scwm/stock_iw03 | from |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IEWMSTKMATREFDOC | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| VDM.viewType | #BASIC | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| EndUserText.label | Special Stock for Documents | view | |
| VDM.lifecycle.status | #DEPRECATED | view | |
| VDM.lifecycle.successor | I_EWM_StockWithReferenceDoc_2 | view |
Fields (12)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | Warehouse | lgnum_stock | ||
| KEY | ProductUUID | |||
| KEY | BatchUUID | batchid | ||
| KEY | StockType | cat | ||
| KEY | DeliveryDocument | doccat | ||
| KEY | StockUsage | stock_usage | ||
| KEY | StockOwner | owner | ||
| KEY | StockOwnerPartnerRole | owner_role | ||
| KEY | EntitledToDisposeParty | entitled | ||
| KEY | EntitledToDisposePartnerRole | entitled_role | ||
| KEY | CounterForStockSeparation | stock_cnt | ||
| StockItemUUID | guid_stock |
@AbapCatalog.sqlViewName: 'IEWMSTKMATREFDOC'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@VDM.viewType:#BASIC
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Special Stock for Documents'
@VDM.lifecycle.status: #DEPRECATED
@VDM.lifecycle.successor: 'I_EWM_StockWithReferenceDoc_2'
define view I_EWM_StockWithReferenceDoc
as select from /scwm/stock_iw03
{
///scwm/stock_iw03
key lgnum_stock as Warehouse,
key cast(matid as raw16 preserving type ) as ProductUUID,
key batchid as BatchUUID,
key cat as StockType,
key doccat as DeliveryDocument,
key stock_usage as StockUsage,
key owner as StockOwner,
key owner_role as StockOwnerPartnerRole,
key entitled as EntitledToDisposeParty,
key entitled_role as EntitledToDisposePartnerRole,
key stock_cnt as CounterForStockSeparation,
guid_stock as StockItemUUID
}
Learn More
- 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 Annotations — A Complete Guide
- 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