rfm_scc_salesorder_data_basic

DDL: RFM_SCC_SALESORDER_DATA_BASIC SQL: RFMSCCSOBASICV Type: view

Get Sales Order Data

rfm_scc_salesorder_data_basic is a CDS View that provides data about "Get Sales Order Data" in SAP S/4HANA. It reads from 1 data source (rfm_scc_salesdata_basic_V) and exposes 45 fields with key fields vbeln, posnr. It has 16 associations to related views.

Data Sources (1)

SourceAliasJoin Type
rfm_scc_salesdata_basic_V rfm_scc_salesdata_basic_V from

Associations (16)

CardinalityTargetAliasCondition
[1..1] I_ProductDescription _ProductDescription $projection.matnr = _ProductDescription.Product and _ProductDescription.Language = $session.system_language
[1..1] tvakt tvakt $projection.auart = tvakt.auart and tvakt.spras = $session.system_language
[1..1] tvkot tvkot $projection.vkorg = tvkot.vkorg and tvkot.spras = $session.system_language
[1..1] tvtwt tvtwt $projection.vtweg = tvtwt.vtweg and tvtwt.spras = $session.system_language
[1..1] tspat tspat $projection.spart = tspat.spart and tspat.spras = $session.system_language
[1..1] t001w t001w $projection.werks = t001w.werks
[1..1] I_Customer kna1_vbak $projection.kunnr = kna1_vbak.Customer
[1..1] I_Customer kna1_shipto $projection.shiptoparty = kna1_shipto.Customer
[1..1] rfm_Scc_season_text season_text $projection.fsh_season_year = season_text.fsh_season_year and $projection.fsh_season = season_text.fsh_season and $projection.fsh_collection = season_text.fsh_collection and $projection.fsh_theme = season_text.fsh_theme
[1..1] I_RetailCharacteristicValueT _RetailCharacteristicColor $projection.color_atinn = _RetailCharacteristicColor.CharacteristicInternalID and $projection.color = _RetailCharacteristicColor.RetailCharacteristicValue and _RetailCharacteristicColor.Language = $session.system_language
[1..1] I_RetailCharacteristicValueT _RetailCharacteristicSize1 $projection.size1_atinn = _RetailCharacteristicSize1.CharacteristicInternalID and $projection.size1 = _RetailCharacteristicSize1.RetailCharacteristicValue and _RetailCharacteristicSize1.Language = $session.system_language
[1..1] I_RetailCharacteristicValueT _RetailCharacteristicSize2 $projection.size2_atinn = _RetailCharacteristicSize2.CharacteristicInternalID and $projection.size2 = _RetailCharacteristicSize2.RetailCharacteristicValue and _RetailCharacteristicSize2.Language = $session.system_language
[1..1] I_ProductTypeText _ProductTypeText $projection.mtart = _ProductTypeText.ProductType and _ProductTypeText.Language = $session.system_language
[1..1] I_ProductCategoryText _productcategorytext $projection.attyp = _productcategorytext.ProductCategory and _productcategorytext.Language = $session.system_language
[1..1] I_ProductGroupText _ProductGroupText $projection.matkl = _ProductGroupText.MaterialGroup and _ProductGroupText.Language = $session.system_language
[1..1] rfm_scc_season_indicator_text _SCCSeasonIndicatorText $projection.seasoncompletenessindicator = _SCCSeasonIndicatorText.value and _SCCSeasonIndicatorText.language = $session.system_language

Annotations (9)

NameValueLevelField
AbapCatalog.sqlViewName RFMSCCSOBASICV view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #BLOCKED_DATA_EXCLUDED view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Get Sales Order Data view
ClientHandling.algorithm #SESSION_VARIABLE view

Fields (45)

KeyFieldSource TableSource FieldDescription
KEY vbeln vbeln SD Sched. Agmt
KEY posnr posnr WBS Element
kunnr kunnr Stock customer
auart auart Sales Doc. Type
vkorg vkorg SD Sales Org.
vtweg vtweg RefDistCh-Cust/Mat.
fsh_candate fsh_candate Cancel Date
fsh_season fsh_season Season
fsh_theme fsh_theme Theme
matnr matnr Vehicle Model
kwmeng kwmeng Sales Quantity
vrkme vrkme UoM for SubItm CCD
werks werks Receiving Plant
spart spart Source supplier
size1 size1 Size 1
size2 size2 Size 2
color color Level Color
color_atinn color_atinn Internal Char.
size1_atinn size1_atinn Internal Char.
size2_atinn size2_atinn Internal Char.
mtart mtart Product Type
matkl matkl Product Sold Group
attyp attyp Trdg Goods Cat.
shiptoparty shiptoparty Ship-To Party (obsolete)
edatu edatu Schedule line date
sgt_rcat sgt_rcat Req. Segment
attyp_text _productcategorytext Name Zone name
maktx _ProductDescription ProductDescription Description
matkl_wgbez _ProductGroupText MaterialGroupName prod Grp Desc.
color_desc _RetailCharacteristicColor RetailCharacteristicValue
size1_desc _RetailCharacteristicSize1 RetailCharacteristicValue
size2_desc _RetailCharacteristicSize2 RetailCharacteristicValue
mtart_mtbez _ProductTypeText MaterialTypeName Mat.Type Desc.
vkorg_vtxtk tvkot vtext Wgh.Dat.Ty.Txt.
vtweg_vtxtk tvtwt vtext Wgh.Dat.Ty.Txt.
spart_vtxtk tspat vtext Wgh.Dat.Ty.Txt.
werks_name1 t001w name1 PA text
kunnr_name1 kna1_vbak CustomerName Name of Customer
auart_bezei tvakt bezei TrContType name
_ProductDescription _ProductDescription
_RetailCharacteristicColor _RetailCharacteristicColor
_RetailCharacteristicSize1 _RetailCharacteristicSize1
_RetailCharacteristicSize2 _RetailCharacteristicSize2
_ProductTypeText _ProductTypeText
_ProductGroupText _ProductGroupText

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 rfm_scc_salesorder_data_basic.
-- 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: RFMSCCSOBASICV

CREATE VIEW rfm_scc_salesorder_data_basic AS
SELECT
  vbeln,
  posnr,
  kunnr,
  auart,
  vkorg,
  vtweg,
  fsh_candate,
  fsh_season,
  fsh_theme,
  matnr,
  kwmeng,
  vrkme,
  werks,
  spart,
  size1,
  size2,
  color,
  color_atinn,
  size1_atinn,
  size2_atinn,
  mtart,
  matkl,
  attyp,
  shiptoparty,
  edatu,
  sgt_rcat,
  _productcategorytext.Name AS attyp_text,
  _ProductDescription.ProductDescription AS maktx,
  _ProductGroupText.MaterialGroupName AS matkl_wgbez,
  _RetailCharacteristicColor.RetailCharacteristicValue AS color_desc,
  _RetailCharacteristicSize1.RetailCharacteristicValue AS size1_desc,
  _RetailCharacteristicSize2.RetailCharacteristicValue AS size2_desc,
  _ProductTypeText.MaterialTypeName AS mtart_mtbez,
  tvkot.vtext AS vkorg_vtxtk,
  tvtwt.vtext AS vtweg_vtxtk,
  tspat.vtext AS spart_vtxtk,
  t001w.name1 AS werks_name1,
  kna1_vbak.CustomerName AS kunnr_name1,
  tvakt.bezei AS auart_bezei
FROM rfm_scc_salesdata_basic_V
LEFT OUTER JOIN I_ProductDescription AS _ProductDescription ON matnr = _ProductDescription.Product AND _ProductDescription.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN tvakt ON auart = tvakt.auart AND tvakt.spras = $session.system_language  -- association [1..1]
LEFT OUTER JOIN tvkot ON vkorg = tvkot.vkorg AND tvkot.spras = $session.system_language  -- association [1..1]
LEFT OUTER JOIN tvtwt ON vtweg = tvtwt.vtweg AND tvtwt.spras = $session.system_language  -- association [1..1]
LEFT OUTER JOIN tspat ON spart = tspat.spart AND tspat.spras = $session.system_language  -- association [1..1]
LEFT OUTER JOIN t001w ON werks = t001w.werks  -- association [1..1]
LEFT OUTER JOIN I_Customer AS kna1_vbak ON kunnr = kna1_vbak.Customer  -- association [1..1]
LEFT OUTER JOIN I_Customer AS kna1_shipto ON shiptoparty = kna1_shipto.Customer  -- association [1..1]
LEFT OUTER JOIN rfm_Scc_season_text AS season_text ON fsh_season_year = season_text.fsh_season_year AND fsh_season = season_text.fsh_season AND fsh_collection = season_text.fsh_collection AND fsh_theme = season_text.fsh_theme  -- association [1..1]
LEFT OUTER JOIN I_RetailCharacteristicValueT AS _RetailCharacteristicColor ON color_atinn = _RetailCharacteristicColor.CharacteristicInternalID AND color = _RetailCharacteristicColor.RetailCharacteristicValue AND _RetailCharacteristicColor.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_RetailCharacteristicValueT AS _RetailCharacteristicSize1 ON size1_atinn = _RetailCharacteristicSize1.CharacteristicInternalID AND size1 = _RetailCharacteristicSize1.RetailCharacteristicValue AND _RetailCharacteristicSize1.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_RetailCharacteristicValueT AS _RetailCharacteristicSize2 ON size2_atinn = _RetailCharacteristicSize2.CharacteristicInternalID AND size2 = _RetailCharacteristicSize2.RetailCharacteristicValue AND _RetailCharacteristicSize2.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_ProductTypeText AS _ProductTypeText ON mtart = _ProductTypeText.ProductType AND _ProductTypeText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_ProductCategoryText AS _productcategorytext ON attyp = _productcategorytext.ProductCategory AND _productcategorytext.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN I_ProductGroupText AS _ProductGroupText ON matkl = _ProductGroupText.MaterialGroup AND _ProductGroupText.Language = $session.system_language  -- association [1..1]
LEFT OUTER JOIN rfm_scc_season_indicator_text AS _SCCSeasonIndicatorText ON seasoncompletenessindicator = _SCCSeasonIndicatorText.value AND _SCCSeasonIndicatorText.language = $session.system_language  -- association [1..1]
;