I_RsceAvailTmeDepdntStorCharcs
Resource Time dependent Data
I_RsceAvailTmeDepdntStorCharcs is a Basic CDS View that provides data about "Resource Time dependent Data" in SAP S/4HANA. It reads from 1 data source (katdsc) and exposes 11 fields with key fields CapacityInternalID, ResourceStorageEndDate, ResourceStorageEndTimeID. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| katdsc | katdsc | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_Capacity | _Capacity | $projection.CapacityInternalID = _Capacity.CapacityInternalID |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| EndUserText.label | Resource Time dependent Data | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #S | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view |
Fields (11)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CapacityInternalID | kapid | Capacity ID | |
| KEY | ResourceStorageEndDate | end_date | Valn End date | |
| KEY | ResourceStorageEndTimeID | end_time | Time Stamp | |
| timsasResourceStorageEndTime | Time Stamp | |||
| RsceStorageMinProductionQty | min_storage | Min. Production Qty | ||
| RsceStorageMaxQuantity | max_storage | Max.Stock Level | ||
| RsceStorZeroFillPurityThldQty | threshold | Upper Threshold (%) | ||
| ResourceStorageText | text | User Group | ||
| ResourceStorageIsDefault | is_default | Truth Value | ||
| RsceStorageQuantityUnit | _Capacity | RsceStorageQuantityUnit | ||
| _Capacity | _Capacity |
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_RsceAvailTmeDepdntStorCharcs.
-- 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_RsceAvailTmeDepdntStorCharcs AS
SELECT
kapid AS CapacityInternalID,
end_date AS ResourceStorageEndDate,
end_time AS ResourceStorageEndTimeID,
cast ( substring( cast ( tstmp_add_seconds( cast ('10010102000000' as abap.dec(15,0)), cast( end_time as abap.dec(15,0) ), 'FAIL') as abap.sstring(50)), 9,6) as abap.tims) as ResourceStorageEndTime AS timsasResourceStorageEndTime,
min_storage AS RsceStorageMinProductionQty,
max_storage AS RsceStorageMaxQuantity,
threshold AS RsceStorZeroFillPurityThldQty,
text AS ResourceStorageText,
is_default AS ResourceStorageIsDefault,
_Capacity.RsceStorageQuantityUnit AS RsceStorageQuantityUnit
FROM katdsc
LEFT OUTER JOIN I_Capacity AS _Capacity ON CapacityInternalID = _Capacity.CapacityInternalID -- association [1..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