P_BatRmngShelfLifeOrProdnDte1

DDL: P_BATRMNGSHELFLIFEORPRODNDTE1 SQL: PBATRMNGSLORPD1 Type: view TRANSACTIONAL

P_BatRmngShelfLifeOrProdnDte1 is a Transactional CDS View in SAP S/4HANA. It has 1 association to related views.

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_MaterialStock_2 _MaterialStock $projection.Material = _MaterialStock.Material and $projection.Batch = _MaterialStock.Batch and $projection.Plant = _MaterialStock.Plant and _MaterialStock.InventoryStockType = '01'

Annotations (10)

NameValueLevelField
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName PBATRMNGSLORPD1 view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.private true view
VDM.viewType #TRANSACTIONAL view

Fields (9)

KeyFieldSource TableSource FieldDescription
KEY Batch Batch Lot No.
KEY Plant Plant Valuation Area
KEY Material Material Vehicle Model
MaterialGroup _Material MaterialGroup Product Group
ShelfLifeExpirationDate ShelfLifeExpirationDate SLED/BBD
ManufactureDate ManufactureDate Date of Manuf.
MaterialBaseUnit _Material MaterialBaseUnit Valuation Unit
AuthorizationGroup _Product AuthorizationGroup AuthorizGroup
_MaterialStock _MaterialStock

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 P_BatRmngShelfLifeOrProdnDte1.
-- 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: PBATRMNGSLORPD1

CREATE VIEW P_BatRmngShelfLifeOrProdnDte1 AS
SELECT
  Batch,
  Plant,
  Material,
  _Material.MaterialGroup AS MaterialGroup,
  ShelfLifeExpirationDate,
  ManufactureDate,
  _Material.MaterialBaseUnit AS MaterialBaseUnit,
  _Product.AuthorizationGroup AS AuthorizationGroup
LEFT OUTER JOIN I_MaterialStock_2 AS _MaterialStock ON Material = _MaterialStock.Material AND Batch = _MaterialStock.Batch AND Plant = _MaterialStock.Plant AND _MaterialStock.InventoryStockType = '01'  -- association [0..*]
;