I_EWM_StockWithMaterialAndBat

DDL: I_EWM_STOCKWITHMATERIALANDBAT SQL: IEWMSTKMATBAT Type: view BASIC

Stock Material with Batch

I_EWM_StockWithMaterialAndBat is a Basic CDS View that provides data about "Stock Material with Batch" in SAP S/4HANA. It reads from 1 data source (/scwm/stock_iw02) and exposes 11 fields with key fields Warehouse, ProductUUID, BatchUUID, StockType, StockUsage.

Data Sources (1)

SourceAliasJoin Type
/scwm/stock_iw02 /scwm/stock_iw02 from

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName IEWMSTKMATBAT 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 Stock Material with Batch view
VDM.lifecycle.status #DEPRECATED view
VDM.lifecycle.successor I_EWM_StkWthMatlAndBat_2 view

Fields (11)

KeyFieldSource TableSource FieldDescription
KEY Warehouse lgnum_stock
KEY ProductUUID
KEY BatchUUID batchid
KEY StockType cat
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: 'IEWMSTKMATBAT'
@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: 'Stock Material with Batch'
  @VDM.lifecycle.status: #DEPRECATED
  @VDM.lifecycle.successor: 'I_EWM_StkWthMatlAndBat_2'
define view I_EWM_StockWithMaterialAndBat
  as select from /scwm/stock_iw02
{
      ///scwm/stock_iw02

  key lgnum_stock                            as Warehouse,
  key cast( matid as raw16 preserving type ) as ProductUUID,
  key batchid                                as BatchUUID,
  key cat                                    as StockType,
  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
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"/SCWM/STOCK_IW02"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/