C_BufBelowSftyStkIndCht
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)
| Source | Alias | Join Type |
|---|---|---|
| I_SDMAreaOfResponsibility | _SDMAreaOfResponsibility | inner |
| P_DemandDrivenCalcValues | calculatedvalues | from |
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Material | _Material | $projection.Material = _Material.Material |
| [0..1] | I_Plant | _Plant | $projection.Plant = _Plant.Plant |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA