I_TDAUnitTest

DDL: I_TDAUNITTEST Type: view_entity BASIC Package: FRM_S4C_DB

ABAP unit tests detail

I_TDAUnitTest is a Basic CDS View that provides data about "ABAP unit tests detail" in SAP S/4HANA. It reads from 1 data source (start_a_put_au) and exposes 26 fields with key fields PUTExecID, ABAPObjectType, ABAPObject. It has 1 association to related views. Part of development package FRM_S4C_DB.

Data Sources (1)

SourceAliasJoin Type
start_a_put_au Aut from

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_ReadDomainFixedValues _AunitStatus Aut.aunit_status = _AunitStatus.DomainValue and _AunitStatus.SAPDataDictionaryDomain = 'START_DO_AUNIT_STATUS' and _AunitStatus.LanguageCode = $session.system_language

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label ABAP unit tests detail view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view

Fields (26)

KeyFieldSource TableSource FieldDescription
KEY PUTExecID exec_id Search Execution ID
KEY ABAPObjectType obj_type Type
KEY ABAPObject obj_name Object Name
PUTStmntCvrgPercent stat_cov Coverage Details
PUTBrnchCvrgPercent branch_cov Coverage Details
PUTStmntTotalValue stat_total Coverage Details
PUTStmntExecutedValue stat_exe Coverage Details
PUTStmntNotExecutedValue stat_not_exe Coverage Details
PUTBrnchTotalValue branch_total Total
PUTBrnchExecutedValue branch_exe Coverage Details
PUTBrnchNotExecutedValue branch_not_exe Coverage Details
PUTUnitTestsValue count_tests Coverage Details
PUTUnitTestsErrorValue count_errors Coverage Details
PUTUnitTestsFailureValue count_failures Coverage Details
PUTUnitTestsSkippedValue count_skipped Coverage Details
PUTUnitTestsAssertValue count_asserts Coverage Details
PUTUnitTestsSuccessValue count_success Coverage Details
PUTUnitTestsWarningValue count_warning Coverage Details
PUTUnitTestsUnknownValue count_unknown Coverage Details
PUTExecStatusText exec_status Exec Status
PUTUnitTestRunUUID run_id UUID
PUTUnitTestCvrgUUID coverage_id UUID
TDAFieldLabelText _AunitStatus DomainText Short Description
PUTExecRemarksText remarks Remarks
TDAScopeText exe_varid Process Id
TDAScopeVariantName exe_var_name Variant Name

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 I_TDAUnitTest.
-- 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.

CREATE VIEW I_TDAUnitTest AS
SELECT
  exec_id AS PUTExecID,
  obj_type AS ABAPObjectType,
  obj_name AS ABAPObject,
  stat_cov AS PUTStmntCvrgPercent,
  branch_cov AS PUTBrnchCvrgPercent,
  stat_total AS PUTStmntTotalValue,
  stat_exe AS PUTStmntExecutedValue,
  stat_not_exe AS PUTStmntNotExecutedValue,
  branch_total AS PUTBrnchTotalValue,
  branch_exe AS PUTBrnchExecutedValue,
  branch_not_exe AS PUTBrnchNotExecutedValue,
  count_tests AS PUTUnitTestsValue,
  count_errors AS PUTUnitTestsErrorValue,
  count_failures AS PUTUnitTestsFailureValue,
  count_skipped AS PUTUnitTestsSkippedValue,
  count_asserts AS PUTUnitTestsAssertValue,
  count_success AS PUTUnitTestsSuccessValue,
  count_warning AS PUTUnitTestsWarningValue,
  count_unknown AS PUTUnitTestsUnknownValue,
  exec_status AS PUTExecStatusText,
  run_id AS PUTUnitTestRunUUID,
  coverage_id AS PUTUnitTestCvrgUUID,
  _AunitStatus.DomainText AS TDAFieldLabelText,
  remarks AS PUTExecRemarksText,
  exe_varid AS TDAScopeText,
  exe_var_name AS TDAScopeVariantName
FROM start_a_put_au AS Aut
LEFT OUTER JOIN I_ReadDomainFixedValues AS _AunitStatus ON Aut.aunit_status = _AunitStatus.DomainValue AND _AunitStatus.SAPDataDictionaryDomain = 'START_DO_AUNIT_STATUS' AND _AunitStatus.LanguageCode = $session.system_language  -- association [0..1]
;