C_CndnContrMainStatusVH

DDL: C_CNDNCONTRMAINSTATUSVH SQL: CWCBMAINSTATUSVH Type: view CONSUMPTION

Condition Contract Main Status VH

C_CndnContrMainStatusVH is a Consumption CDS View that provides data about "Condition Contract Main Status VH" in SAP S/4HANA. It reads from 1 data source (I_SystemStatus) and exposes 2 fields with key field CndnContrMainSystemStatus.

Data Sources (1)

SourceAliasJoin Type
I_SystemStatus I_SystemStatus from

Annotations (16)

NameValueLevelField
AbapCatalog.sqlViewName CWCBMAINSTATUSVH view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
Search.searchable true view
Consumption.ranked true view
ClientHandling.type #INHERITED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey CndnContrMainSystemStatus view
ObjectModel.usageType.dataClass #META view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #CONSUMPTION view
VDM.lifecycle.contract.type #NONE view
EndUserText.label Condition Contract Main Status VH view
ObjectModel.dataCategory #VALUE_HELP view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CndnContrMainSystemStatus System status
SystemStatusName

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_CndnContrMainStatusVH.
-- 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: CWCBMAINSTATUSVH

CREATE VIEW C_CndnContrMainStatusVH AS
SELECT
  cast( SystemStatus as wcb_main_system_status preserving type ) AS CndnContrMainSystemStatus,
  cast( _SystemStatusText[1: Language = $session.system_language ].SystemStatusName as wcb_status_text preserving type) AS SystemStatusName
FROM I_SystemStatus
;