N_CapacityRequirementItemCap
Capacity Requirement Item Capacity Aux
N_CapacityRequirementItemCap is a CDS View that provides data about "Capacity Requirement Item Capacity Aux" in SAP S/4HANA. It reads from 3 data sources (I_WorkCenter, I_WorkCenterText, kbed) and exposes 14 fields with key fields CapacityRequirement, CapacityRequirementItem, CapacityRqmtItemCapacity. It has 3 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| I_WorkCenter | _WorkCenter | left_outer |
| I_WorkCenterText | _WorkCenterText | left_outer |
| kbed | kbed | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_CapacityRequirement | _CapacityRequirement | $projection.CapacityRequirement = _CapacityRequirement.CapacityRequirement |
| [1..1] | I_CapacityRequirementItem | _CapacityRequirementItem | $projection.CapacityRequirement = _CapacityRequirementItem.CapacityRequirement and $projection.CapacityRequirementItem = _CapacityRequirementItem.CapacityRequirementItem |
| [1..1] | I_WorkCenterType | _WorkCenterType | $projection.WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | NPPCAPRQMTITMCAP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.representativeKey | CapacityRqmtItemCapacity | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.auxiliaryEntity.for.entity | I_CapacityRequirementItemCap | view | |
| EndUserText.label | Capacity Requirement Item Capacity Aux | view |
Fields (14)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CapacityRequirement | kbed | bedid | Id number |
| KEY | CapacityRequirementItem | |||
| KEY | CapacityRqmtItemCapacity | |||
| WorkCenterInternalID | kbed | arbid | WorkCtrGp plan. | |
| WorkCenterTypeCode | ||||
| PlannedOrder | kbed | plnum | Planned Order | |
| OrderInternalID | ||||
| WorkCenter | I_WorkCenter | WorkCenter | Work Center | |
| WorkCenterText | I_WorkCenterText | WorkCenterText | Work Center Text | |
| Plant | I_WorkCenter | Plant | Valuation Area | |
| WorkCenterCategoryCode | I_WorkCenter | WorkCenterCategoryCode | Work Center Category | |
| _CapacityRequirement | _CapacityRequirement | |||
| _CapacityRequirementItem | _CapacityRequirementItem | |||
| _WorkCenterType | _WorkCenterType |
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 N_CapacityRequirementItemCap.
-- 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: NPPCAPRQMTITMCAP
CREATE VIEW N_CapacityRequirementItemCap AS
SELECT
kbed.bedid AS CapacityRequirement,
cast(kbed.bedzl as pph_bedzl preserving type) AS CapacityRequirementItem,
cast(kbed.canum as pph_canum preserving type) AS CapacityRqmtItemCapacity,
kbed.arbid AS WorkCenterInternalID,
'A' AS WorkCenterTypeCode,
kbed.plnum AS PlannedOrder,
cast(kbed.aufpl as pph_aufpl preserving type) AS OrderInternalID,
_WorkCenter.WorkCenter AS WorkCenter,
_WorkCenterText.WorkCenterText AS WorkCenterText,
_WorkCenter.Plant AS Plant,
_WorkCenter.WorkCenterCategoryCode AS WorkCenterCategoryCode
FROM kbed
LEFT OUTER JOIN I_WorkCenter AS _WorkCenter ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_WorkCenterText AS _WorkCenterText ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_CapacityRequirement AS _CapacityRequirement ON CapacityRequirement = _CapacityRequirement.CapacityRequirement -- association [1..1]
LEFT OUTER JOIN I_CapacityRequirementItem AS _CapacityRequirementItem ON CapacityRequirement = _CapacityRequirementItem.CapacityRequirement AND CapacityRequirementItem = _CapacityRequirementItem.CapacityRequirementItem -- association [1..1]
LEFT OUTER JOIN I_WorkCenterType AS _WorkCenterType ON WorkCenterTypeCode = _WorkCenterType.WorkCenterTypeCode -- association [1..1]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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