P_TotalTskCount

DDL: P_TOTALTSKCOUNT SQL: PTOTALTSKCOUNT Type: view CONSUMPTION Package: ODATA_SLC_PURG_CAT

Total number of Tasks of an Activity

P_TotalTskCount is a Consumption CDS View that provides data about "Total number of Tasks of an Activity" in SAP S/4HANA. It reads from 1 data source (I_SupplierActivityTaskActRef) and exposes 2 fields with key field SuplrActyUUID. Part of development package ODATA_SLC_PURG_CAT.

Data Sources (1)

SourceAliasJoin Type
I_SupplierActivityTaskActRef I_SupplierActivityTaskActRef from

Annotations (6)

NameValueLevelField
VDM.private true view
VDM.viewType #CONSUMPTION view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
AbapCatalog.sqlViewName PTOTALTSKCOUNT view
EndUserText.label Total number of Tasks of an Activity view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY SuplrActyUUID I_SupplierActivityTaskActRef SuplrActyUUID
SuplrActyTaskCount

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 P_TotalTskCount.
-- 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: PTOTALTSKCOUNT

CREATE VIEW P_TotalTskCount AS
SELECT
  I_SupplierActivityTaskActRef.SuplrActyUUID AS SuplrActyUUID,
  count(* ) AS SuplrActyTaskCount
FROM I_SupplierActivityTaskActRef
;