@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@Metadata.ignorePropagatedAnnotations: true
@VDM.viewType: #COMPOSITE
@VDM.private: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #S,
dataClass: #MIXED
}
/*+[hideWarning] { "IDS" : [ "CARDINALITY_CHECK", "KEY_CHECK" ] } */
define view entity P_EWM_HandlingUnitItem05
as select from P_EWM_HandlingUnitItem04_2
association [1..1] to I_EWM_PlantStorLocMapToWhse as _PlantMapping on $projection.EWMWarehouse = _PlantMapping.EWMWarehouse
and $projection.Plant = _PlantMapping.Plant
and $projection.LogicalSystem = _PlantMapping.ERPLogicalSystem
and $projection.EWMAvailabilityGroup = _PlantMapping.EWMAvailabilityGroup
association [1..1] to P_EWM_HandlingUnitItemSrlNo02 as _CountSerialNo on $projection.ParentHandlingUnitUUID = _CountSerialNo.ParentHandlingUnitUUID
and $projection.StockItemUUID = _CountSerialNo.StockItemUUID
{
key EWMWarehouse,
key HandlingUnitNumber,
key StockItemUUID,
CurrentNumberOfKeyTable,
EWMStockType,
EWMAvailabilityGroup,
EWMLocIndepStockType,
StockType,
DeliveryCategory,
EWMDocumentCategory,
DeliveryUUID,
EWMRefDeliveryDocumentNumber,
DeliveryItemUUID,
EWMRefDeliveryDocumentItem,
ProductUUID,
Product,
ProductName,
BatchUUID,
Batch,
EntitledToDisposeParty,
EWMStockOwner,
BusinessPartnerUUID,
Supplier,
Plant,
_PlantMapping.StorageLocation,
LogicalSystem,
@Semantics.quantity.unitOfMeasure: 'HandlingUnitBaseUnitOfMeasure'
HandlingUnitQuantity,
HandlingUnitBaseUnitOfMeasure,
HandlingUnitAltUnitOfMeasure,
ShelfLifeExpirationDate,
GoodsReceiptUTCDateTime,
CountryOfOrigin,
_CountSerialNo.HandlingUnitNumberOfSerialNumb,
SerialNumberProfile,
ParentHandlingUnitUUID
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_EWM_PLANTSTORLOCMAPTOWHSE",
"P_EWM_HANDLINGUNITITEM04_2",
"P_EWM_HANDLINGUNITITEMSRLNO02"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/