I_TaskListToFuncnlLocAlloc

DDL: I_TASKLISTTOFUNCNLLOCALLOC Type: view_entity BASIC Package: IMRM

Allocation of Task Lists to Functional Location

I_TaskListToFuncnlLocAlloc is a Basic CDS View that provides data about "Allocation of Task Lists to Functional Location" in SAP S/4HANA. It reads from 1 data source (tapl) and exposes 17 fields with key fields FunctionalLocation, TaskListType, TaskListGroup, TaskListGroupCounter, AdditionalCriteriaCounter. It has 3 associations to related views. Part of development package IMRM.

Data Sources (1)

SourceAliasJoin Type
tapl tapl from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_FunctionalLocation _FunctionalLocation _FunctionalLocation.FunctionalLocation = $projection.FunctionalLocation
[1..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)

NameValueLevelField
AccessControl.authorizationCheck #CHECK view
EndUserText.label Allocation of Task Lists to Functional Location view
ObjectModel.representativeKey ItemCounter view
Analytics.technicalName ITSKLSTTOFLALLOC view
ObjectModel.usageType.dataClass #MASTER view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #M view
VDM.viewType #BASIC view

Fields (17)

KeyFieldSource TableSource FieldDescription
KEY FunctionalLocation tapl tplnr Functional loc.
KEY TaskListType tapl plnty Task List Type
KEY TaskListGroup tapl plnnr Task List Group
KEY TaskListGroupCounter tapl plnal Referenced BOO Variant
KEY AdditionalCriteriaCounter tapl zkriz Add. Crit. Cntr
KEY ItemCounter tapl zaehl Sort pos.
ValidityStartDate tapl datuv Valid-from date
IsDeleted tapl loekz Status
ChangeNumber tapl aennr Change Number
MaintenancePlanningPlant tapl iwerk Planning Plant
CreationDate tapl andat Created On
CreatedByUser
LastChangeDate tapl aedat Obsolete
LastChangedByUser
_FunctionalLocation _FunctionalLocation
_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_TaskListToFuncnlLocAlloc.
-- 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_TaskListToFuncnlLocAlloc AS
SELECT
  tapl.tplnr AS FunctionalLocation,
  tapl.plnty AS TaskListType,
  tapl.plnnr AS TaskListGroup,
  tapl.plnal AS TaskListGroupCounter,
  tapl.zkriz AS AdditionalCriteriaCounter,
  tapl.zaehl AS ItemCounter,
  tapl.datuv AS ValidityStartDate,
  tapl.loekz AS IsDeleted,
  tapl.aennr AS ChangeNumber,
  tapl.iwerk AS MaintenancePlanningPlant,
  tapl.andat AS CreationDate,
  cast(tapl.annam as vdm_createdbyuserid preserving type) AS CreatedByUser,
  tapl.aedat AS LastChangeDate,
  cast(tapl.aenam as vdm_lastchangedbyuserid preserving type) AS LastChangedByUser
FROM tapl
LEFT OUTER JOIN I_FunctionalLocation AS _FunctionalLocation ON _FunctionalLocation.FunctionalLocation = FunctionalLocation  -- association [1..1]
LEFT OUTER JOIN I_MaintenanceTaskList AS _MaintenanceTaskList ON _MaintenanceTaskList.TaskListType = TaskListType AND _MaintenanceTaskList.TaskListGroup = TaskListGroup AND _MaintenanceTaskList.TaskListGroupCounter = TaskListGroupCounter  -- association [1..1]
LEFT OUTER JOIN I_MaintenanceTaskListType AS _MaintenanceTaskListType ON _MaintenanceTaskListType.TaskListType = TaskListType  -- association [1..1]
;