I_DFS_OrganizationalMeasure

DDL: I_DFS_ORGANIZATIONALMEASURE SQL: IORGM Type: view COMPOSITE

Organizational Measure (for User)

I_DFS_OrganizationalMeasure is a Composite CDS View that provides data about "Organizational Measure (for User)" in SAP S/4HANA. It reads from 2 data sources (I_CaseAttribute, I_WorkflowTaskApplObject) and exposes 37 fields with key field DfsOrglMeasureUUID. It has 5 associations to related views.

Data Sources (2)

SourceAliasJoin Type
I_CaseAttribute _CaseAttribute from
I_WorkflowTaskApplObject TaskApplicationObject inner

Associations (5)

CardinalityTargetAliasCondition
[1..1] I_WorkflowTask _WorkflowTask TaskApplicationObject.WorkflowTaskInternalID = _WorkflowTask.WorkflowTaskInternalID
[1..1] I_DFS_MeasureAttributes _MeasureAttributes $projection.DfsOrglMeasureUUID = _MeasureAttributes.DfsOrglMeasureUUID
[0..1] I_UserContactCard _ResponsiblePerson $projection.DfsOrglMeasureResponsible = _ResponsiblePerson.ContactCardID
[0..1] I_FrcElmntOrgSuplmntyAttrib _FrcElmntSuplmntyAttribAssgmt $projection.dfsorglmeasureheaderid = _FrcElmntSuplmntyAttribAssgmt.ForceElementOrgID and _FrcElmntSuplmntyAttribAssgmt.FrcElmntOrgLanguage = $session.system_language
[1..1] I_FrcElmntOrg _FrcElmntOrg $projection.dfsorglmeasureheaderid = _FrcElmntOrg.ForceElementOrgID

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IORGM view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.representativeKey DfsOrglMeasureUUID view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #COMPOSITE view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
EndUserText.label Organizational Measure (for User) view

Fields (37)

KeyFieldSource TableSource FieldDescription
KEY DfsOrglMeasureUUID CaseUniqueID UUID
CaseType CaseType Upper/Lowercase
DfsOrglMeasureCategoryText
CaseID CaseID Case ID
CaseExternalReference CaseExternalReference External Reference
CaseCreatedBy CaseCreatedBy Created By
CreationDateTime Created At
CaseLastChangedBy CaseLastChangedBy Changed By
LastChangeDateTime Last Changed At
CaseClosedBy CaseClosedBy Closed By
CloseDateTime Closed At
CaseProcessor CaseProcessor Processor
DfsOrglMeasureResponsible CaseResponsible Person Responsible
DfsOrglMeasureDescription CaseTitle Case Title
CaseAuthorizationLevel CaseAuthorizationLevel Auth. Level
CaseStatus CaseStatus Status
CaseStatusName
CaseSystemStatus CaseSystemStatus System Status
CaseStatusObjectNumber CaseStatusObjectNumber Object GUID
CaseSystemStatusName CaseSystemStatusName System Status
CaseUserStatusName CaseUserStatusName User Status
CaseReason CaseReason Reason
WorkflowTaskInternalID I_WorkflowTaskApplObject WorkflowTaskInternalID Work Item ID
DfsOrglMeasureHeaderType _MeasureAttributes DfsOrglMeasureHeaderType
DfsOrglMeasureHeaderID _MeasureAttributes DfsOrglMeasureHeaderID
DfsOrglMeasureTypeText
DfsOrglMeasureType _MeasureAttributes DfsOrglMeasureType
DfsOrglMsrEffectivenessDate _MeasureAttributes DfsOrglMsrEffectivenessDate
_Reasons _Reasons
_CaseSystemStatus _CaseSystemStatus
_CaseEntity _CaseEntity
_CaseTypes _CaseTypes
_WorkflowTask _WorkflowTask
_MeasureAttributes _MeasureAttributes
_ResponsiblePerson _ResponsiblePerson
_FrcElmntSuplmntyAttribAssgmt _FrcElmntSuplmntyAttribAssgmt
_FrcElmntOrg _FrcElmntOrg

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_DFS_OrganizationalMeasure.
-- 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: IORGM

CREATE VIEW I_DFS_OrganizationalMeasure AS
SELECT
  CaseUniqueID AS DfsOrglMeasureUUID,
  CaseType,
  'Organizational Measure' AS DfsOrglMeasureCategoryText,
  CaseID,
  CaseExternalReference,
  CaseCreatedBy,
  cast( CaseCreatedOn as tzntstmps preserving type ) AS CreationDateTime,
  CaseLastChangedBy,
  cast( CaseLastChangedOn as tzntstmps preserving type ) AS LastChangeDateTime,
  CaseClosedBy,
  cast( CaseClosedTime as tzntstmps preserving type ) AS CloseDateTime,
  CaseProcessor,
  CaseResponsible AS DfsOrglMeasureResponsible,
  CaseTitle AS DfsOrglMeasureDescription,
  CaseAuthorizationLevel,
  CaseStatus,
  _CaseAttribute._Individual._Text[1:Language = $session.system_language].CaseStatusName AS CaseStatusName,
  CaseSystemStatus,
  CaseStatusObjectNumber,
  CaseSystemStatusName,
  CaseUserStatusName,
  CaseReason,
  TaskApplicationObject.WorkflowTaskInternalID AS WorkflowTaskInternalID,
  _MeasureAttributes.DfsOrglMeasureHeaderType AS DfsOrglMeasureHeaderType,
  _MeasureAttributes.DfsOrglMeasureHeaderID AS DfsOrglMeasureHeaderID,
  _MeasureAttributes._MeasureType._Text[1:Language = $session.system_language].DfsOrglMeasureTypeText AS DfsOrglMeasureTypeText,
  _MeasureAttributes.DfsOrglMeasureType AS DfsOrglMeasureType,
  _MeasureAttributes.DfsOrglMsrEffectivenessDate AS DfsOrglMsrEffectivenessDate
FROM I_CaseAttribute AS _CaseAttribute
INNER JOIN I_WorkflowTaskApplObject AS TaskApplicationObject ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_WorkflowTask AS _WorkflowTask ON TaskApplicationObject.WorkflowTaskInternalID = _WorkflowTask.WorkflowTaskInternalID  -- association [1..1]
LEFT OUTER JOIN I_DFS_MeasureAttributes AS _MeasureAttributes ON DfsOrglMeasureUUID = _MeasureAttributes.DfsOrglMeasureUUID  -- association [1..1]
LEFT OUTER JOIN I_UserContactCard AS _ResponsiblePerson ON DfsOrglMeasureResponsible = _ResponsiblePerson.ContactCardID  -- association [0..1]
LEFT OUTER JOIN I_FrcElmntOrgSuplmntyAttrib AS _FrcElmntSuplmntyAttribAssgmt ON dfsorglmeasureheaderid = _FrcElmntSuplmntyAttribAssgmt.ForceElementOrgID AND _FrcElmntSuplmntyAttribAssgmt.FrcElmntOrgLanguage = $session.system_language  -- association [0..1]
LEFT OUTER JOIN I_FrcElmntOrg AS _FrcElmntOrg ON dfsorglmeasureheaderid = _FrcElmntOrg.ForceElementOrgID  -- association [1..1]
;