arun_stock_sel1

DDL: ARUN_STOCK_SEL1 SQL: ARUN_STK_SEL Type: view Package: ARUN_CROSS_APPS

ARUN Stock Selection

arun_stock_sel1 is a CDS View that provides data about "ARUN Stock Selection" in SAP S/4HANA. It reads from 1 data source (Arun_Stock_Sel) and exposes 21 fields. Part of development package ARUN_CROSS_APPS.

Data Sources (1)

SourceAliasJoin Type
Arun_Stock_Sel Arun_Stock_Sel from

Annotations (7)

NameValueLevelField
AbapCatalog.sqlViewName ARUN_STK_SEL view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label ARUN Stock Selection view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.sizeCategory #XXL view

Fields (21)

KeyFieldSource TableSource FieldDescription
Material Material Vehicle Model
Plant Plant Valuation Area
CompanyCode CompanyCode Receiver Company Code
StorageLocation StorageLocation StorageLocation
Batch Batch Lot No.
Supplier Supplier Supplier
ShelfExpDate ShelfExpDate
MfgDate MfgDate
BatchCreationDate BatchCreationDate
LastGRDate LastGRDate
StockSegment StockSegment Stock Segment
SeasonYear SeasonYear
Season Season Season
SCollection SCollection
Theme Theme Theme
stockqty
openstockqty
MaterialBaseUnit MaterialBaseUnit Valuation Unit
StockSource StockSource
ArunFixBatch ArunFixBatch
SegmentStrategy SegmentStrategy

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 arun_stock_sel1.
-- 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: ARUN_STK_SEL

CREATE VIEW arun_stock_sel1 AS
SELECT
  Material,
  Plant,
  CompanyCode,
  StorageLocation,
  Batch,
  Supplier,
  ShelfExpDate,
  MfgDate,
  BatchCreationDate,
  LastGRDate,
  StockSegment,
  SeasonYear,
  Season,
  SCollection,
  Theme,
  sum( StockQty ) AS stockqty,
  sum( OpenStockQty ) AS openstockqty,
  MaterialBaseUnit,
  StockSource,
  ArunFixBatch,
  SegmentStrategy
FROM Arun_Stock_Sel
;