I_TaskListToEquipAlloc

DDL: I_TASKLISTTOEQUIPALLOC SQL: ITSKLSTTOEQALLOC Type: view BASIC

Allocation of Task Lists to Equipments

I_TaskListToEquipAlloc is a Basic CDS View that provides data about "Allocation of Task Lists to Equipments" in SAP S/4HANA. It reads from 1 data source (eapl) and exposes 19 fields with key fields Equipment, TaskListType, TaskListGroup, TaskListGroupCounter, AdditionalCriteriaCounter. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
eapl eapl from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_Equipment _Equipment _Equipment.Equipment = $projection.Equipment
[0..1] I_MaintenanceTaskList _MaintenanceTaskList _MaintenanceTaskList.TaskListType = $projection.TaskListType and _MaintenanceTaskList.TaskListGroup = $projection.TaskListGroup and _MaintenanceTaskList.TaskListGroupCounter = $projection.TaskListGroupCounter
[1..1] I_MaintenanceTaskListType _MaintenanceTaskListType _MaintenanceTaskListType.TaskListType = $projection.TaskListType

Annotations (9)

NameValueLevelField
AbapCatalog.compiler.compareFilter true view
AbapCatalog.sqlViewName ITSKLSTTOEQALLOC view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Allocation of Task Lists to Equipments view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY Equipment eapl equnr Equipment
KEY TaskListType eapl plnty Task List Type
KEY TaskListGroup eapl plnnr Task List Group
KEY TaskListGroupCounter eapl plnal Referenced BOO Variant
KEY AdditionalCriteriaCounter eapl zkriz Add. Crit. Cntr
KEY ItemCounter eapl zaehl Sort pos.
ValidityStartDate eapl datuv Valid-from date
IsDeleted eapl loekz Status
ChangeNumber eapl aennr Change Number
MaintenancePlant eapl swerk MaintPlant
MaintenancePlanningPlant eapl iwerk Planning Plant
TaskListUsage eapl plnvw Usage
CreationDate eapl andat Created On
CreatedByUser
LastChangeDate eapl aedat Obsolete
LastChangedByUser
_Equipment _Equipment
_MaintenanceTaskList _MaintenanceTaskList
_MaintenanceTaskListType _MaintenanceTaskListType

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_TaskListToEquipAlloc.
-- 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: ITSKLSTTOEQALLOC

CREATE VIEW I_TaskListToEquipAlloc AS
SELECT
  eapl.equnr AS Equipment,
  eapl.plnty AS TaskListType,
  eapl.plnnr AS TaskListGroup,
  eapl.plnal AS TaskListGroupCounter,
  eapl.zkriz AS AdditionalCriteriaCounter,
  eapl.zaehl AS ItemCounter,
  eapl.datuv AS ValidityStartDate,
  eapl.loekz AS IsDeleted,
  eapl.aennr AS ChangeNumber,
  eapl.swerk AS MaintenancePlant,
  eapl.iwerk AS MaintenancePlanningPlant,
  eapl.plnvw AS TaskListUsage,
  eapl.andat AS CreationDate,
  cast(eapl.annam as vdm_createdbyuserid preserving type) AS CreatedByUser,
  eapl.aedat AS LastChangeDate,
  cast(eapl.aenam as vdm_lastchangedbyuserid preserving type) AS LastChangedByUser
FROM eapl
LEFT OUTER JOIN I_Equipment AS _Equipment ON _Equipment.Equipment = Equipment  -- association [1..1]
LEFT OUTER JOIN I_MaintenanceTaskList AS _MaintenanceTaskList ON _MaintenanceTaskList.TaskListType = TaskListType AND _MaintenanceTaskList.TaskListGroup = TaskListGroup AND _MaintenanceTaskList.TaskListGroupCounter = TaskListGroupCounter  -- association [0..1]
LEFT OUTER JOIN I_MaintenanceTaskListType AS _MaintenanceTaskListType ON _MaintenanceTaskListType.TaskListType = TaskListType  -- association [1..1]
;