I_EWM_StockWithReferenceDoc

DDL: I_EWM_STOCKWITHREFERENCEDOC SQL: IEWMSTKMATREFDOC Type: view BASIC Package: VDM_EWM_CORE

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)

SourceAliasJoin Type
/scwm/stock_iw03 /scwm/stock_iw03 from

Annotations (11)

NameValueLevelField
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)

KeyFieldSource TableSource FieldDescription
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
}