C_DFS_AssgmtFrcToTechObjList

DDL: C_DFS_ASSGMTFRCTOTECHOBJLIST SQL: CDFSASGMTFETOBS Type: view CONSUMPTION

Assignment of Force Element to Technical Objects

C_DFS_AssgmtFrcToTechObjList is a Consumption CDS View that provides data about "Assignment of Force Element to Technical Objects" in SAP S/4HANA. It reads from 1 data source (I_DFS_UniversalAssignmentUnion) and exposes 39 fields with key fields DfsAssgmtUUID, DraftUUID. It has 5 associations to related views.

Data Sources (1)

SourceAliasJoin Type
I_DFS_UniversalAssignmentUnion I_DFS_UniversalAssignmentUnion from

Associations (5)

CardinalityTargetAliasCondition
[0..1] I_DFS_StatusAttributes _StatusAttributes $projection.DfsAssgmtStatusCode = _StatusAttributes.SystemStatus
[0..*] I_DFS_TechnicalStatusText _TechnicalStatusText $projection.DfsAssgmtActiveDraft = _TechnicalStatusText.DfsAssgmtTechnicalStatus
[1..1] C_FrcElmntOrgMasterEquipVH _FrcElmntOrgMasterEquipVH $projection.Equipment = _FrcElmntOrgMasterEquipVH.Equipment
[0..1] C_FrcElmntSuplmntyAttribAssgmt _SrceFrcElmntOrgTP $projection.ForceElementOrgSrceID = _SrceFrcElmntOrgTP.ForceElementOrgID
[0..1] C_ObjPgTechnicalObject _ObjPgTechnicalObject $projection.TechnicalObject = _ObjPgTechnicalObject.TechnicalObject and $projection.TechObjIsEquipOrFuncnlLoc = _ObjPgTechnicalObject.TechObjIsEquipOrFuncnlLoc

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CDFSASGMTFETOBS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
EndUserText.label Assignment of Force Element to Technical Objects view

Fields (39)

KeyFieldSource TableSource FieldDescription
KEY DfsAssgmtUUID DfsAssgmtUUID Assigment GUID
KEY DraftUUID DraftUUID UUID
DfsAssgmtActiveDraft DfsAssgmtActiveDraft
HasActiveEntity HasActiveEntity TRUE
HasDraftEntity HasDraftEntity Has Draft
DfsAssgmtCreationDateTime DfsAssgmtCreationDateTime Created On
DfsAssgmtCreatedByUser DfsAssgmtCreatedByUser Created By
DfsAssgmtChangeDateTime DfsAssgmtChangeDateTime Changed On
DfsAssgmtLastChgdByUser DfsAssgmtLastChgdByUser Changed By
DfsAssgmtValdtyStrtDate DfsAssgmtValdtyStrtDate Valid Start Date
DfsAssgmtValdtyStrtTime DfsAssgmtValdtyStrtTime Valid Start Time
DfsAssgmtValdtyEndDate DfsAssgmtValdtyEndDate Valid End Date
DfsAssgmtValdtyEndTime DfsAssgmtValdtyEndTime Valid End Time
DfsAssgmtValdtyTimeZone DfsAssgmtValdtyTimeZone Time Zone
DfsAssgmtSourceType DfsAssgmtSourceType Source Object Type
DfsAssgmtType DfsAssgmtType Assignment Type
ForceElementOrgSrceUUID ForceElementOrgSrceUUID GUID 32
ForceElementOrgSrceID ForceElementOrgSrceID Object ID
Equipment Equipment Equipment check
DfsAssgmtStatusObject DfsAssgmtStatusObject Object Number
DfsAssgmtStatusCode DfsAssgmtStatusCode Status Code
Status
EquipmentName _FrcElmntOrgMasterEquipVH EquipmentName Tech. Obj. Desc
FrcElmntOrgType _SrceFrcElmntOrgTP FrcElmntOrgType Object type
ForceElementOrgUUID _SrceFrcElmntOrgTP ForceElementOrgUUID GUID 32
TechnicalObject Equipment check
TechObjIsEquipOrFuncnlLoc
DfsAssgmtPlanOperationCode DfsAssgmtPlanOperationCode Planned Op. Code
DfsAssgmtPlanOperationCodeDesc
DfsAssgmtPlanStatusObject DfsAssgmtPlanStatusObject Planning status
DfsAssgmtPlanDelimitDate DfsAssgmtPlanDelimitDate Planned Del. Date
DfsAssgmtPlanOperationStatus
DfsAssgmtPlanOpStsCriticality _PlanStatusObjectActiveStatus StatusCriticality
_ObjPgTechnicalObject _ObjPgTechnicalObject
_StatusAttributes _StatusAttributes
_TechnicalStatusText _TechnicalStatusText
_FrcElmntOrgMasterEquipVH _FrcElmntOrgMasterEquipVH
_SrceFrcElmntOrgTP _SrceFrcElmntOrgTP
_PlannedOperation _PlannedOperation

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 C_DFS_AssgmtFrcToTechObjList.
-- 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: CDFSASGMTFETOBS

CREATE VIEW C_DFS_AssgmtFrcToTechObjList AS
SELECT
  DfsAssgmtUUID,
  DraftUUID,
  DfsAssgmtActiveDraft,
  HasActiveEntity,
  HasDraftEntity,
  DfsAssgmtCreationDateTime,
  DfsAssgmtCreatedByUser,
  DfsAssgmtChangeDateTime,
  DfsAssgmtLastChgdByUser,
  DfsAssgmtValdtyStrtDate,
  DfsAssgmtValdtyStrtTime,
  DfsAssgmtValdtyEndDate,
  DfsAssgmtValdtyEndTime,
  DfsAssgmtValdtyTimeZone,
  DfsAssgmtSourceType,
  DfsAssgmtType,
  ForceElementOrgSrceUUID,
  ForceElementOrgSrceID,
  Equipment,
  DfsAssgmtStatusObject,
  DfsAssgmtStatusCode,
  _StatusAttributes._SystemStatusText[1:Language = $session.system_language].SystemStatusName AS Status,
  _FrcElmntOrgMasterEquipVH.EquipmentName AS EquipmentName,
  _SrceFrcElmntOrgTP.FrcElmntOrgType AS FrcElmntOrgType,
  _SrceFrcElmntOrgTP.ForceElementOrgUUID AS ForceElementOrgUUID,
  cast( Equipment as eams_tec_obj ) AS TechnicalObject,
  cast( 'EAMS_EQUI' as eams_tec_obj_type_value ) AS TechObjIsEquipOrFuncnlLoc,
  DfsAssgmtPlanOperationCode,
  _PlannedOperation._Text[1:Language = $session.system_language].DfsAssgmtPlanOperationCodeDesc AS DfsAssgmtPlanOperationCodeDesc,
  DfsAssgmtPlanStatusObject,
  DfsAssgmtPlanDelimitDate,
  _PlanStatusObjectActiveStatus._StatusCode._StatusCodeText[1:Language = $session.system_language].StatusName AS DfsAssgmtPlanOperationStatus,
  _PlanStatusObjectActiveStatus.StatusCriticality AS DfsAssgmtPlanOpStsCriticality
FROM I_DFS_UniversalAssignmentUnion
LEFT OUTER JOIN I_DFS_StatusAttributes AS _StatusAttributes ON DfsAssgmtStatusCode = _StatusAttributes.SystemStatus  -- association [0..1]
LEFT OUTER JOIN I_DFS_TechnicalStatusText AS _TechnicalStatusText ON DfsAssgmtActiveDraft = _TechnicalStatusText.DfsAssgmtTechnicalStatus  -- association [0..*]
LEFT OUTER JOIN C_FrcElmntOrgMasterEquipVH AS _FrcElmntOrgMasterEquipVH ON Equipment = _FrcElmntOrgMasterEquipVH.Equipment  -- association [1..1]
LEFT OUTER JOIN C_FrcElmntSuplmntyAttribAssgmt AS _SrceFrcElmntOrgTP ON ForceElementOrgSrceID = _SrceFrcElmntOrgTP.ForceElementOrgID  -- association [0..1]
LEFT OUTER JOIN C_ObjPgTechnicalObject AS _ObjPgTechnicalObject ON TechnicalObject = _ObjPgTechnicalObject.TechnicalObject AND TechObjIsEquipOrFuncnlLoc = _ObjPgTechnicalObject.TechObjIsEquipOrFuncnlLoc  -- association [0..1]
;