C_BufBelowSftyStkIndCht

DDL: C_BUFBELOWSFTYSTKINDCHT SQL: CBUFBELOWSFTYSTK Type: view CONSUMPTION

Replenishment Execution Card

C_BufBelowSftyStkIndCht is a Consumption CDS View that provides data about "Replenishment Execution Card" in SAP S/4HANA. It reads from 2 data sources (I_SDMAreaOfResponsibility, P_DemandDrivenCalcValues) and exposes 23 fields with key fields Material, Plant, MRPArea. It has 2 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_SDMAreaOfResponsibility _SDMAreaOfResponsibility inner
P_DemandDrivenCalcValues calculatedvalues from

Associations (2)

CardinalityTargetAliasCondition
[1..1] I_Material _Material $projection.Material = _Material.Material
[0..1] I_Plant _Plant $projection.Plant = _Plant.Plant

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName CBUFBELOWSFTYSTK view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Replenishment Execution Card view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XXL view
ObjectModel.usageType.dataClass #MIXED view

Fields (23)

KeyFieldSource TableSource FieldDescription
KEY Material Material Vehicle Model
KEY Plant P_DemandDrivenCalcValues Plant Valuation Area
KEY MRPArea P_DemandDrivenCalcValues MRPArea MRP Area
MaterialGroup MaterialGroup Product Group
MRPController P_DemandDrivenCalcValues MRPController MRP Controller
OnHandStockStatus On-Hand Stock Status
ProcurementType ProcurementType Procurement Type
ProcurementTypeDescription _ProcmtText ProcurementTypeDescription
ConsumptionCode ConsumptionCode Value Indicator
ConsumptionDescription _ConsumptionText ConsumptionDescription
ReplenishmentLeadTimeCode ReplenishmentLeadTimeCode Lead Time Indicator
ReplenishmentLeadTimeDesc _ReplnmtText ReplenishmentLeadTimeDesc
VariabilityCode VariabilityCode Variability Indicator
VariabilityDescription _VarText VariabilityDescription
BOMUsageCode BOMUsageCode BOM Usage Indicator
BOMUsageDescription _BOMUsgText BOMUsageDescription
BufferBelowSafetyStock
TotalNmbrOfBufBelowSafetyStk
ProductAuthorizationGroup _Material AuthorizationGroup AuthorizGroup
ProductTypeAuthorizationGroup
ProductGroupAuthorizationGroup
_Material _Material
_Plant _Plant

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 C_BufBelowSftyStkIndCht.
-- 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: CBUFBELOWSFTYSTK

CREATE VIEW C_BufBelowSftyStkIndCht AS
SELECT
  Material,
  calculatedvalues.Plant AS Plant,
  calculatedvalues.MRPArea AS MRPArea,
  MaterialGroup,
  calculatedvalues.MRPController AS MRPController,
  cast (calculatedvalues.OnHandStockStatus as abap.sstring( 3 )) AS OnHandStockStatus,
  ProcurementType,
  _ProcmtText.ProcurementTypeDescription AS ProcurementTypeDescription,
  ConsumptionCode,
  _ConsumptionText.ConsumptionDescription AS ConsumptionDescription,
  ReplenishmentLeadTimeCode,
  _ReplnmtText.ReplenishmentLeadTimeDesc AS ReplenishmentLeadTimeDesc,
  VariabilityCode,
  _VarText.VariabilityDescription AS VariabilityDescription,
  BOMUsageCode,
  _BOMUsgText.BOMUsageDescription AS BOMUsageDescription,
  cast(cast('1' as abap.int8) as pp_bufbelowsafetystkcntind preserving type) AS BufferBelowSafetyStock,
  cast('1' as abap.int8) AS TotalNmbrOfBufBelowSafetyStk,
  _Material.AuthorizationGroup AS ProductAuthorizationGroup,
  _Material._MaterialType.AuthorizationGroup AS ProductTypeAuthorizationGroup,
  _Material._MaterialGroup.MaterialAuthorizationGroup AS ProductGroupAuthorizationGroup
FROM P_DemandDrivenCalcValues AS calculatedvalues
INNER JOIN I_SDMAreaOfResponsibility AS _SDMAreaOfResponsibility ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_Material AS _Material ON Material = _Material.Material  -- association [1..1]
LEFT OUTER JOIN I_Plant AS _Plant ON Plant = _Plant.Plant  -- association [0..1]
;