/APE/C_TestCase

DDL: /APE/C_TESTCASE SQL: /APE/C_VTSTCASE Type: view CONSUMPTION

Test Case Header

/APE/C_TestCase is a Consumption CDS View that provides data about "Test Case Header" in SAP S/4HANA. It reads from 1 data source (/APE/I_TSTCASE_TP) and exposes 12 fields with key field config_key. It has 2 associations to related views.

Data Sources (1)

SourceAliasJoin Type
/APE/I_TSTCASE_TP /APE/I_TSTCASE_TP from

Associations (2)

CardinalityTargetAliasCondition
[0..1] /APE/C_TestParGroup _paragroup $projection.param_group_uuid = _paragroup.config_key
[1..1] /APE/C_Process _process $projection.proc_config_uuid = _process.config_key

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName /APE/C_VTSTCASE view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
EndUserText.label Test Case Header view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #CUSTOMIZING view
VDM.viewType #CONSUMPTION view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY config_key config_key Char
proc_cluster _process proc_cluster
proc_id_uuid _process proc_id_uuid
proc_id _process proc_id Processing
version_uuid _process version_uuid
version _process version XML Vers.
test_case_id test_case_id
class class User Group
market_role market_role
config_layer config_layer
_stepas _stepas
_paragroup _paragroup

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 /APE/C_TestCase.
-- 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: /APE/C_VTSTCASE

CREATE VIEW /APE/C_TestCase AS
SELECT
  config_key,
  _process.proc_cluster AS proc_cluster,
  _process.proc_id_uuid AS proc_id_uuid,
  _process.proc_id AS proc_id,
  _process.version_uuid AS version_uuid,
  _process.version AS version,
  test_case_id,
  class,
  market_role,
  config_layer
FROM /APE/I_TSTCASE_TP
LEFT OUTER JOIN /APE/C_TestParGroup AS _paragroup ON param_group_uuid = _paragroup.config_key  -- association [0..1]
LEFT OUTER JOIN /APE/C_Process AS _process ON proc_config_uuid = _process.config_key  -- association [1..1]
;