CNV_2010C_PACK_LOG_STATUS
Package activity status with phase text
CNV_2010C_PACK_LOG_STATUS is a CDS View that provides data about "Package activity status with phase text" in SAP S/4HANA. It reads from 4 data sources (cnvactive, cnvstate, cnvstate, cnvstate) and exposes 6 fields with key field packid. It has 2 associations to related views. Part of development package CNV_2010C.
Data Sources (4)
Associations (2)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | CNV_2010C_JOB_STATUS | state_4 | state_4.packid = state.packid |
| [1..1] | CNV_2010C_DOMAIN_TEXT | domain | domain.dom_val = active_phase.phase and domain.dom = 'CNV_PHASE' and domain.langu = $session.system_language |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CNV_2010C_PACK_V | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Package activity status with phase text | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.dataClass | #MIXED | view | |
| ObjectModel.usageType.sizeCategory | #S | view |
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 CNV_2010C_PACK_LOG_STATUS.
-- 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: CNV_2010C_PACK_V
CREATE VIEW CNV_2010C_PACK_LOG_STATUS AS
SELECT
state.packid AS packid,
domain.text AS phase_text,
count(distinct state_1.state_log) AS error,
count(distinct state_2.state_log) AS warning,
count(distinct state_3.state_tec) AS finished,
count(distinct state_4.abort_status) AS abort
LEFT OUTER JOIN cnvstate AS state_1 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cnvstate AS state_2 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cnvstate AS state_3 ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN cnvactive AS active_phase ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN CNV_2010C_JOB_STATUS AS state_4 ON state_4.packid = state.packid -- association [1..1]
LEFT OUTER JOIN CNV_2010C_DOMAIN_TEXT AS domain ON domain.dom_val = active_phase.phase AND domain.dom = 'CNV_PHASE' AND domain.langu = $session.system_language -- 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