A_ProdTimeDepdntStockLvl

DDL: A_PRODTIMEDEPDNTSTOCKLVL SQL: ATIMEDEPDNTSTOCK Type: view_entity CONSUMPTION

Stock Level Details

A_ProdTimeDepdntStockLvl is a Consumption CDS View that provides data about "Stock Level Details" in SAP S/4HANA. It reads from 1 data source (R_ProductTimeDepdntStockLvlTP) and exposes 23 fields with key fields Product, Plant, MRPArea, StockLevelValidityStartDate. It is exposed through 1 OData service (API_PROD_TIMEDPDNTSTCK_SRV).

Data Sources (1)

SourceAliasJoin Type
R_ProductTimeDepdntStockLvlTP R_ProductTimeDepdntStockLvlTP projection

Annotations (8)

NameValueLevelField
EndUserText.label Stock Level Details view
AccessControl.authorizationCheck #CHECK view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.lifecycle.contract.type #PUBLIC_REMOTE_API view
VDM.viewType #CONSUMPTION view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
API_PROD_TIMEDPDNTSTCK_SRV API_PROD_TIMEDPDNTSTCK_SRV V4 C2 C1

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY Product Product Product Sold
KEY Plant Plant Valuation Area
KEY MRPArea MRPArea MRP Area
KEY StockLevelValidityStartDate StockLevelValidityStartDate
StockLevelValidityEndDate StockLevelValidityEndDate
ProductSafetyStockLvlQuantity ProductSafetyStockLvlQuantity Safety Stock
ReorderThresholdQuantity ReorderThresholdQuantity Reorder Point
ProductMaxStockLevelQuantity ProductMaxStockLevelQuantity
ProductTargetStockLvlQuantity ProductTargetStockLvlQuantity
UnitOfMeasure UnitOfMeasure Unit Protected Qty
UnitOfMeasureISOCode _UnitOfMeasure UnitOfMeasureISOCode
TargetSupplyDurationInDays TargetSupplyDurationInDays
MaxSupplyDurationInDays MaxSupplyDurationInDays
SafetySupplyDurationInDays SafetySupplyDurationInDays
StockLevelProposalID StockLevelProposalID
ProposalVersion ProposalVersion
ProposalStartDate ProposalStartDate
ChangeMode ChangeMode
CreatedByUser CreatedByUser User Name
LastChangedByUser LastChangedByUser User Name
CreationDateTime CreationDateTime Timestamp
LastChangeDateTime LastChangeDateTime Timestamp
_Product _Product

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 A_ProdTimeDepdntStockLvl.
-- 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: ATIMEDEPDNTSTOCK

CREATE VIEW A_ProdTimeDepdntStockLvl AS
SELECT
  Product,
  Plant,
  MRPArea,
  StockLevelValidityStartDate,
  StockLevelValidityEndDate,
  ProductSafetyStockLvlQuantity,
  ReorderThresholdQuantity,
  ProductMaxStockLevelQuantity,
  ProductTargetStockLvlQuantity,
  UnitOfMeasure,
  _UnitOfMeasure.UnitOfMeasureISOCode AS UnitOfMeasureISOCode,
  TargetSupplyDurationInDays,
  MaxSupplyDurationInDays,
  SafetySupplyDurationInDays,
  StockLevelProposalID,
  ProposalVersion,
  ProposalStartDate,
  ChangeMode,
  CreatedByUser,
  LastChangedByUser,
  CreationDateTime,
  LastChangeDateTime
FROM R_ProductTimeDepdntStockLvlTP
;