P_Ftr_Cl_Keydate_Utilization
Facility Utilization by Key Date
P_Ftr_Cl_Keydate_Utilization is a Composite CDS View that provides data about "Facility Utilization by Key Date" in SAP S/4HANA. It reads from 4 data sources (vtb_asgn_limit, P_Ftr_Asgn_Facility_Period, P_Ftr_Asgn_Keydate_Fac_Amt, P_Ftr_Asgn_Pos_With_Ratio) and exposes 24 fields. Part of development package FTTR_CORE.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| vtb_asgn_limit | limit | inner |
| P_Ftr_Asgn_Facility_Period | P_Ftr_Asgn_Facility_Period | union_all |
| P_Ftr_Asgn_Keydate_Fac_Amt | P_Ftr_Asgn_Keydate_Fac_Amt | from |
| P_Ftr_Asgn_Pos_With_Ratio | P_Ftr_Asgn_Pos_With_Ratio | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_KeyDate | vdm_v_key_date |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PCLKEYDATEUTI | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| VDM.viewType | #COMPOSITE | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| VDM.private | true | view |
Fields (24)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| CompanyCode | Facility | CompanyCode | Receiver Company Code | |
| FinancialTransaction | Facility | FinancialTransaction | Transaction | |
| RelatObject | Facility | RelatObject | ||
| PositionObject | ||||
| FacilityDate | Facility | LimitDate | ||
| TransactionCurrency | Facility | TransactionCurrency | Transaction Currency | |
| TotalAmount | ||||
| UtilizedChangeAmount | ||||
| CompanyCode | Receiver Company Code | |||
| FinancialTransaction | Facility | FinancialTransaction | Transaction | |
| RelatObject | Facility | RelatObject | ||
| PositionObject | Position | PositionObject | ||
| FacilityDate | Position | ChangeDate | ||
| TransactionCurrency | Facility | TransactionCurrency | Transaction Currency | |
| TotalAmount | ||||
| CompanyCode | Receiver Company Code | |||
| FinancialTransaction | Facility | FinancialTransaction | Transaction | |
| RelatObject | Facility | RelatObject | ||
| PositionObject | ||||
| FacilityDate | Facility | TermEndDate | ||
| TransactionCurrency | Facility | TransactionCurrency | Transaction Currency | |
| TotalAmount | ||||
| UtilizedChangeAmount | ||||
| AvailableAmount |
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 P_Ftr_Cl_Keydate_Utilization.
-- 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: PCLKEYDATEUTI
-- Parameters: P_KeyDate : vdm_v_key_date
CREATE VIEW P_Ftr_Cl_Keydate_Utilization AS
SELECT
Facility.CompanyCode AS CompanyCode,
Facility.FinancialTransaction AS FinancialTransaction,
Facility.RelatObject AS RelatObject,
cast( '' as tb_pos_obj) AS PositionObject,
Facility.LimitDate AS FacilityDate,
Facility.TransactionCurrency AS TransactionCurrency,
cast(Facility.ChangeAmount as ftr_totamtintranscrcy) AS TotalAmount,
cast(0 as ftr_utilamtintranscrcy) AS UtilizedChangeAmount,
cast(limit.limit_pos_amount * -1 as ftr_availamtintranscrcy) AS AvailableAmount
FROM P_Ftr_Asgn_Keydate_Fac_Amt
INNER JOIN P_Ftr_Asgn_Pos_With_Ratio ON /* join condition not captured in parsed metadata */
INNER JOIN vtb_asgn_limit AS limit ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): P_Ftr_Asgn_Facility_Period
;
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