I_TaskListToEquipAlloc
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. Part of development package IMRM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| eapl | eapl | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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 (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Allocation of Task Lists to Equipments | view | |
| ObjectModel.representativeKey | ItemCounter | view | |
| Analytics.technicalName | ITSKLSTTOEQALLOC | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #BASIC | view |
Fields (19)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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.
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]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA