P_POCDKPILOG2
P_POCDKPILOG2 is a Basic CDS View in SAP S/4HANA. It reads from 4 data sources (poc_d_kpi_log2, poc_d_kpi_log2, poc_d_kpi_log2, poc_d_prc_in) and exposes 39 fields with key fields process_id, kpi_type_id, kpi_type_id, valuation_id, kpi_type_id.
Data Sources (4)
| Source | Alias | Join Type |
|---|---|---|
| poc_d_kpi_log2 | Log | left_outer |
| poc_d_kpi_log2 | Log | union_all |
| poc_d_kpi_log2 | Log | union_all |
| poc_d_prc_in | Process | from |
Annotations (9)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | POC_V_KPI_LOG2 | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| ObjectModel.usageType.serviceQuality | D | view | |
| ObjectModel.usageType.sizeCategory | XL | view | |
| ObjectModel.usageType.dataClass | CUSTOMIZING | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view |
Fields (39)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | process_id | poc_d_prc_in | process_id | Process Instance ID |
| KEY | kpi_type_id | KPICount | kpi_type_id | KPI Definition |
| kpi_duration | kpi_duration | LeadTime | ||
| kpi_category | kpi_category | Prc. Cl. Code | ||
| kpi_dur_unit | kpi_dur_unit | Process KPI Unit | ||
| start_ba_id | start_ba_id | Task Instance ID | ||
| start_bo_id | poc_d_kpi_log2 | start_bo_id | Business Object ID | |
| end_ba_id | end_ba_id | Task Instance ID | ||
| end_bo_type | end_bo_type | Business Object Type | ||
| end_bo_id | end_bo_id | Business Object ID | ||
| end_item_id | end_item_id | Item ID | ||
| process_id | Process Instance ID | |||
| KEY | kpi_type_id | poc_d_kpi_log2 | kpi_type_id | KPI Definition |
| KEY | valuation_id | valuation_id | Valuation ID | |
| kpi_count | kpi_count | Total | ||
| kpi_duration | kpi_duration | LeadTime | ||
| kpi_category | kpi_category | Prc. Cl. Code | ||
| changed_at | ||||
| kpi_dur_unit | kpi_dur_unit | Process KPI Unit | ||
| start_ba_id | start_ba_id | Task Instance ID | ||
| start_bo_id | poc_d_kpi_log2 | start_bo_id | Business Object ID | |
| end_ba_id | end_ba_id | Task Instance ID | ||
| end_bo_type | poc_d_kpi_log2 | end_bo_type | Business Object Type | |
| end_bo_id | end_bo_id | Business Object ID | ||
| end_item_id | end_item_id | Item ID | ||
| process_id | Process Instance ID | |||
| KEY | kpi_type_id | poc_d_kpi_log2 | kpi_type_id | KPI Definition |
| KEY | valuation_id | valuation_id | Valuation ID | |
| kpi_count | kpi_count | Total | ||
| kpi_duration | kpi_duration | LeadTime | ||
| kpi_category | kpi_category | Prc. Cl. Code | ||
| changed_at | ||||
| kpi_dur_unit | kpi_dur_unit | Process KPI Unit | ||
| start_ba_id | start_ba_id | Task Instance ID | ||
| start_bo_id | poc_d_kpi_log2 | start_bo_id | Business Object ID | |
| end_ba_id | end_ba_id | Task Instance ID | ||
| end_bo_type | poc_d_kpi_log2 | end_bo_type | Business Object Type | |
| end_bo_id | end_bo_id | Business Object ID | ||
| end_item_id | end_item_id | Item ID |
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_POCDKPILOG2.
-- 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: POC_V_KPI_LOG2
CREATE VIEW P_POCDKPILOG2 AS
SELECT
Process.process_id AS process_id,
KPICount.kpi_type_id AS kpi_type_id,
kpi_duration,
kpi_category,
kpi_dur_unit,
start_ba_id,
Log.start_bo_id AS start_bo_id,
end_ba_id,
end_bo_type,
end_bo_id,
end_item_id,
valuation_id,
kpi_count,
cast(Log.changed_at as timestampl) AS changed_at
FROM poc_d_prc_in AS Process
LEFT OUTER JOIN poc_d_kpi_log2 AS Log ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): poc_d_kpi_log2
;
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