I_SupDmndComponentBasic

DDL: I_SUPDMNDCOMPONENTBASIC Type: view BASIC

Basic View for Components

I_SupDmndComponentBasic is a Basic CDS View that provides data about "Basic View for Components" in SAP S/4HANA. It reads from 2 data sources (afpo, resb) and exposes 23 fields.

Data Sources (2)

SourceAliasJoin Type
afpo item inner
resb resb from

Annotations (10)

NameValueLevelField
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Basic View for Components view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #PUBLIC_LOCAL_API view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName ISDOCOMPONENTB view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #X view
ObjectModel.usageType.sizeCategory #XXL view

Fields (23)

KeyFieldSource TableSource FieldDescription
PurchasingDocument
PurchasingDocumentItem
OpenDemandQuantity
RequirementDate resb bdter Reqmts date
RequirementSegment resb sgt_rcat Req. Segment
Material resb matnr Vehicle Model
Plant resb werks Receiving Plant
StorageLocation resb lgort Sublocation
RequirementType resb bdart RequirementType
Batch resb charg Chargeable Proc.
BaseUnit resb meins Valuation Unit
OrderItemQtyToBaseQtyNmrtr resb umrez Numerator
OrderItemQtyToBaseQtyDnmntr resb umren Denominator
RequirementDocumentNumber resb rsnum Reservation
RequirementDocumentItem resb rspos Item no.
OrderID resb aufnr SettlementOrder
RequestedDate resb bdter Reqmts date
ProductAvailabilityDate resb bdter Reqmts date
StockSegment resb sgt_scat Stock Segment
ProductSeasonYear afpo fsh_season_year Season Year
ProductSeason afpo fsh_season Season
ProductCollection afpo fsh_collection Collection
ProductTheme afpo fsh_theme Theme

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_SupDmndComponentBasic.
-- 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.

CREATE VIEW I_SupDmndComponentBasic AS
SELECT
  '' AS PurchasingDocument,
  '00000' AS PurchasingDocumentItem,
  resb.bdmng * DIV(resb.umrez,resb.umren) AS OpenDemandQuantity,
  resb.bdter AS RequirementDate,
  resb.sgt_rcat AS RequirementSegment,
  resb.matnr AS Material,
  resb.werks AS Plant,
  resb.lgort AS StorageLocation,
  resb.bdart AS RequirementType,
  resb.charg AS Batch,
  resb.meins AS BaseUnit,
  resb.umrez AS OrderItemQtyToBaseQtyNmrtr,
  resb.umren AS OrderItemQtyToBaseQtyDnmntr,
  resb.rsnum AS RequirementDocumentNumber,
  resb.rspos AS RequirementDocumentItem,
  resb.aufnr AS OrderID,
  resb.bdter AS RequestedDate,
  resb.bdter AS ProductAvailabilityDate,
  resb.sgt_scat AS StockSegment,
  item.fsh_season_year AS ProductSeasonYear,
  item.fsh_season AS ProductSeason,
  item.fsh_collection AS ProductCollection,
  item.fsh_theme AS ProductTheme
FROM resb
INNER JOIN afpo AS item ON /* join condition not captured in parsed metadata */
;