I_MaintTaskListGroupCounter

DDL: I_MAINTTASKLISTGROUPCOUNTER SQL: IMNTTASKGRPCTR Type: view BASIC Package: ODATA_EAM_TASKLIST_MAN

Maintenance Task List Group Counter

I_MaintTaskListGroupCounter (Basic)

Package: Explore, extend and adapt the SAP S/4HANA Cloud Public Edition with built-in and side-by-side extension capabilities.

Asset Management

I_MaintTaskListGroupCounter is a Basic CDS View that provides data about "Maintenance Task List Group Counter" in SAP S/4HANA. It reads from 1 data source (plkz) and exposes 21 fields with key fields BillOfOperationsType, BillOfOperationsGroup, BillOfOperationsVariant. It has 7 associations to related views. Part of development package ODATA_EAM_TASKLIST_MAN.

SAP API Hub

CategoryBasic
StateC1
Line of BusinessAsset Management
Application ComponentPM-2CL
CapabilitiesData Source for Defining CDS Entities
Extensible (Key User)No
Extensible (Developer)No
Release State (Key User)Released
Release State (Developer)Released
PackageAsset Management for SAP S/4HANA Cloud Public Edition

Documentation

Data Sources (1)

SourceAliasJoin Type
plkz plkz from

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_MaintenanceTaskListType _BillOfOperationsType $projection.BillOfOperationsType = _BillOfOperationsType.TaskListType
[0..1] I_BillOfOperationsVersionType _BillOfOperationsVersionType $projection.BillOfOperationsVersionType = _BillOfOperationsVersionType.BillOfOperationsVersionType
[1..1] I_BillOfOperationsGroup _BillOfOperationsGroup $projection.BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup
[1..1] I_MaintenanceTaskListGroup _BillOfOperationsGroup_2 $projection.BillOfOperationsType = _BillOfOperationsGroup_2.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsGroup_2.BillOfOperationsGroup -- to child: Change State of Root
[1..*] I_BillOfOperationsChangeState _BillOfOperationsChangeState $projection.BillOfOperationsType = _BillOfOperationsChangeState.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsChangeState.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsChangeState.BillOfOperationsVariant -- to child: Sequences
[1..*] I_BillOfOperationsSequence _BillOfOperationsSequence $projection.BillOfOperationsType = _BillOfOperationsSequence.BillOfOperationsType and $projection.BillOfOperationsGroup = _BillOfOperationsSequence.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BillOfOperationsSequence.BillOfOperationsVariant -- to child: Material to BOO assignment
[1..*] I_BOOMaterialAssignment _BOOMaterialAssignment $projection.BillOfOperationsType = _BOOMaterialAssignment.BillOfOperationsType and $projection.BillOfOperationsGroup = _BOOMaterialAssignment.BillOfOperationsGroup and $projection.BillOfOperationsVariant = _BOOMaterialAssignment.BillOfOperationsVariant

Annotations (14)

NameValueLevelField
AbapCatalog.sqlViewName IMNTTASKGRPCTR view
ObjectModel.compositionRoot true view
AccessControl.authorizationCheck #CHECK view
VDM.viewType #BASIC view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey BillOfOperationsVariant view
AbapCatalog.compiler.compareFilter true view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view
AbapCatalog.preserveKey true view
EndUserText.label Maintenance Task List Group Counter view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.modelingPattern #CDS_MODELING_DATA_SOURCE view

Fields (21)

KeyFieldSource TableSource FieldDescription
KEY BillOfOperationsType plkz plnty Task List Type
KEY BillOfOperationsGroup plkz plnnr Key for Task List Group
KEY BillOfOperationsVariant plkz plnal Referenced BOO Variant
BillOfOperationsVersionType plkz subtype Version Profile
BillOfOperationsSubtype plkz subtype Version Profile
LastUsageDate plkz abdat Date of the Last Call
NumberOfUsages plkz abanz Number of Calls
HasChangeNumber plkz flg_ecm Task list with change number
HasParameterEffectivity plkz flg_ecm_par Task list with parameter effectivity
aedatasLastChangeDate
LastChangeTime plkz aeuzeit Time of last change made to the task list
LastChangedByUser Last Changed By User
RoutingIsReworkRouting plkz rework Rework Routing
ProdnProcgIsFlexible plkz relaxed Flexible Processing
_BOOMaterialAssignment _BOOMaterialAssignment
_BillOfOperationsChangeState _BillOfOperationsChangeState
_BillOfOperationsGroup _BillOfOperationsGroup
_BillOfOperationsGroup_2 _BillOfOperationsGroup_2
_BillOfOperationsSequence _BillOfOperationsSequence
_BillOfOperationsType _BillOfOperationsType
_BillOfOperationsVersionType _BillOfOperationsVersionType

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_MaintTaskListGroupCounter.
-- 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: IMNTTASKGRPCTR

CREATE VIEW I_MaintTaskListGroupCounter AS
SELECT
  plkz.plnty AS BillOfOperationsType,
  plkz.plnnr AS BillOfOperationsGroup,
  plkz.plnal AS BillOfOperationsVariant,
  plkz.subtype AS BillOfOperationsVersionType,
  plkz.subtype AS BillOfOperationsSubtype,
  plkz.abdat AS LastUsageDate,
  plkz.abanz AS NumberOfUsages,
  plkz.flg_ecm AS HasChangeNumber,
  plkz.flg_ecm_par AS HasParameterEffectivity,
  plkz.aeuzeit AS LastChangeTime,
  cast(plkz.aenam as vdm_lastchangedbyuserid preserving type) AS LastChangedByUser,
  plkz.rework AS RoutingIsReworkRouting,
  plkz.relaxed AS ProdnProcgIsFlexible
FROM plkz
LEFT OUTER JOIN I_MaintenanceTaskListType AS _BillOfOperationsType ON BillOfOperationsType = _BillOfOperationsType.TaskListType  -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsVersionType AS _BillOfOperationsVersionType ON BillOfOperationsVersionType = _BillOfOperationsVersionType.BillOfOperationsVersionType  -- association [0..1]
LEFT OUTER JOIN I_BillOfOperationsGroup AS _BillOfOperationsGroup ON BillOfOperationsType = _BillOfOperationsGroup.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperationsGroup.BillOfOperationsGroup  -- association [1..1]
LEFT OUTER JOIN I_MaintenanceTaskListGroup AS _BillOfOperationsGroup_2 ON BillOfOperationsType = _BillOfOperationsGroup_2.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperationsGroup_2.BillOfOperationsGroup  -- association [1..1]
LEFT OUTER JOIN I_BillOfOperationsChangeState AS _BillOfOperationsChangeState ON BillOfOperationsType = _BillOfOperationsChangeState.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperationsChangeState.BillOfOperationsGroup AND BillOfOperationsVariant = _BillOfOperationsChangeState.BillOfOperationsVariant  -- association [1..*]
LEFT OUTER JOIN I_BillOfOperationsSequence AS _BillOfOperationsSequence ON BillOfOperationsType = _BillOfOperationsSequence.BillOfOperationsType AND BillOfOperationsGroup = _BillOfOperationsSequence.BillOfOperationsGroup AND BillOfOperationsVariant = _BillOfOperationsSequence.BillOfOperationsVariant  -- association [1..*]
LEFT OUTER JOIN I_BOOMaterialAssignment AS _BOOMaterialAssignment ON BillOfOperationsType = _BOOMaterialAssignment.BillOfOperationsType AND BillOfOperationsGroup = _BOOMaterialAssignment.BillOfOperationsGroup AND BillOfOperationsVariant = _BOOMaterialAssignment.BillOfOperationsVariant  -- association [1..*]
;