I_ListingCondition

DDL: I_LISTINGCONDITION SQL: ILISTCOND Type: view BASIC Package: RFM_ASSORTMENT_MODULE_LEG_VDM

Listing conditions

I_ListingCondition is a Basic CDS View that provides data about "Listing conditions" in SAP S/4HANA. It reads from 1 data source (wlk1) and exposes 16 fields with key fields Assortment, Product, SalesUnit, ListingConditionEndDate, SequenceNumber. It has 3 associations to related views. Part of development package RFM_ASSORTMENT_MODULE_LEG_VDM.

Data Sources (1)

SourceAliasJoin Type
wlk1 wlk1 from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Assortment _Assortment $projection.Assortment = _Assortment.Assortment
[1..1] I_Product _Product $projection.Product = _Product.Product
[1..1] I_ListingSource _ListingSource $projection.ListingSource = _ListingSource.ListingSource

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName ILISTCOND view
EndUserText.label Listing conditions view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory XL view
ObjectModel.usageType.dataClass #MASTER view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY Assortment filia Assortment
KEY Product Product
KEY SalesUnit vrkme UoM for SubItm CCD
KEY ListingConditionEndDate datbi Validity period
KEY SequenceNumber lfdnr Tax sequence
ListingConditionStartDate datab Validity period
LastChangeDate datae Last change
IsExcludingListingCondition negat Negative Stock
ListingSource quell Listing Source
IsListedAsComponent strli List as compon.
ProductOfSuprordLstgCondition strnr Structured matl
AssortmentStatus sstat RunIDs Sub Status
RetailPromotion aktio Promotion
_Assortment _Assortment
_Product _Product
_ListingSource _ListingSource

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 I_ListingCondition.
-- 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: ILISTCOND

CREATE VIEW I_ListingCondition AS
SELECT
  filia AS Assortment,
  cast(artnr as productnumber preserving type) AS Product,
  vrkme AS SalesUnit,
  datbi AS ListingConditionEndDate,
  lfdnr AS SequenceNumber,
  datab AS ListingConditionStartDate,
  datae AS LastChangeDate,
  negat AS IsExcludingListingCondition,
  quell AS ListingSource,
  strli AS IsListedAsComponent,
  strnr AS ProductOfSuprordLstgCondition,
  sstat AS AssortmentStatus,
  aktio AS RetailPromotion
FROM wlk1
LEFT OUTER JOIN I_Assortment AS _Assortment ON Assortment = _Assortment.Assortment  -- association [1..1]
LEFT OUTER JOIN I_Product AS _Product ON Product = _Product.Product  -- association [1..1]
LEFT OUTER JOIN I_ListingSource AS _ListingSource ON ListingSource = _ListingSource.ListingSource  -- association [1..1]
;