C_ProdCostCollectorKeyStatus

DDL: C_PRODCOSTCOLLECTORKEYSTATUS SQL: CPCCKEYSTS Type: view CONSUMPTION

Event-Based Product Cost Collector Key Status

C_ProdCostCollectorKeyStatus is a Consumption CDS View that provides data about "Event-Based Product Cost Collector Key Status" in SAP S/4HANA. It reads from 1 data source (P_EBPCC_OrderKeyStatus) and exposes 5 fields with key field StatusCode. It has 1 association to related views.

Data Sources (1)

SourceAliasJoin Type
P_EBPCC_OrderKeyStatus P_EBPCC_OrderKeyStatus from

Parameters (1)

NameTypeDefault
P_StatusObject j_objnr

Associations (1)

CardinalityTargetAliasCondition
[0..*] I_SystemStatusText _SystemStatusText $projection.StatusCode = _SystemStatusText.SystemStatus

Annotations (13)

NameValueLevelField
AbapCatalog.sqlViewName CPCCKEYSTS view
AbapCatalog.preserveKey true view
ClientHandling.type #CLIENT_DEPENDENT view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MIXED view
Metadata.ignorePropagatedAnnotations true view
AccessControl.personalData.blocking #NOT_REQUIRED view
EndUserText.label Event-Based Product Cost Collector Key Status view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY StatusCode StatusCode Statuscode
SortSequence SortSequence Sort sequence
StatusIsActive
StatusShortName
StatusName

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 C_ProdCostCollectorKeyStatus.
-- 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: CPCCKEYSTS
-- Parameters: P_StatusObject : j_objnr

CREATE VIEW C_ProdCostCollectorKeyStatus AS
SELECT
  StatusCode,
  SortSequence,
  cast('' as fco_key_status_is_active) AS StatusIsActive,
  _SystemStatusText[1: Language = $session.system_language ].SystemStatusShortName AS StatusShortName,
  cast(_SystemStatusText[1: Language = $session.system_language ].SystemStatusName as fco_status_name) AS StatusName
FROM P_EBPCC_OrderKeyStatus
LEFT OUTER JOIN I_SystemStatusText AS _SystemStatusText ON StatusCode = _SystemStatusText.SystemStatus  -- association [0..*]
;