C_DFS_PosToPersonOpRelshp

DDL: C_DFS_POSTOPERSONOPRELSHP SQL: CDFSPOSOPPERS Type: view CONSUMPTION

Consumption view for Pos to Oper Personnel

C_DFS_PosToPersonOpRelshp is a Consumption CDS View that provides data about "Consumption view for Pos to Oper Personnel" in SAP S/4HANA. It has 4 associations to related views.

Associations (4)

CardinalityTargetAliasCondition
[1..1] C_DFS_PositionHeaderTP _PositionHeaderTP $projection.DfsPositionRelatedObjectID = _PositionHeaderTP.DfsPositionID
[1..1] C_DFS_PositionToOperationVH _PositionToOperationVH _PositionToOperationVH.ForceElementOrgID = $projection.DfsPositionOpExerciseID
[1..*] C_FrcElmntOrgOpExerRotationVH _FrcElmntOrgOpExerRotationVH $projection.DfsPositionOpExerciseID = _FrcElmntOrgOpExerRotationVH.ForceElementOrgID and $projection.DfsPositionRotationKey = _FrcElmntOrgOpExerRotationVH.FrcElmntOrgRotationKey
[1..*] C_FrcElmntOrgOpToPersTypeVH _PosOpToPersTypeVH _PosOpToPersTypeVH.FrcElmntOrgType = $projection.DfsPositionRelatedObjectType

Annotations (11)

NameValueLevelField
AbapCatalog.sqlViewName CDFSPOSOPPERS view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #CONSUMPTION view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
Metadata.allowExtensions true view
EndUserText.label Consumption view for Pos to Oper Personnel view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY PersonnelNumber PosToPersonOpRelshp PersonnelNumber Personnel No.
KEY DfsObjectSubType PosToPersonOpRelshp DfsObjectSubType Subtype
KEY DfsPositionValdtyStartDate PosToPersonOpRelshp DfsObjectValdtyStartDate Start date
KEY DfsPositionValdtyEndDate PosToPersonOpRelshp DfsObjectValdtyEndDate End Date
KEY DfsPositionSequenceNumber PosToPersonOpRelshp DfsPositionSequenceNumber
DfsPositionRelatedObjectID PosToPersonOpRelshp DfsPositionRelatedObjectID ID rel.object
DfsPositionRelatedObjectType PosToPersonOpRelshp DfsPositionRelatedObjectType Rel.obj.type
DfsPositionOpExerciseID PosToPersonOpRelshp DfsPositionOpExerciseID
DfsPositionRotationKey PosToPersonOpRelshp DfsPositionRotationKey
EmployeeName PosToPersonOpRelshp EmployeeName
DfsObjectShortName PosToPersonOpRelshp DfsObjectShortName
PersonnelNumberFoEd PosToPersonOpRelshp PersonnelNumberFoEd
FrcElmntOrgName _PositionToOperationVH FrcElmntOrgName Name
FrcElmntOrgRotationName _FrcElmntOrgOpExerRotationVH FrcElmntOrgRotationName
DfsPositionRelshpDesc _PosOpToPersTypeVH FrcElmntOrgRelshpDesc Relationship
_PositionHeaderTP _PositionHeaderTP
_PositionToOperationVH _PositionToOperationVH
_FrcElmntOrgOpExerRotationVH _FrcElmntOrgOpExerRotationVH
_PosOpToPersTypeVH _PosOpToPersTypeVH

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_PosToPersonOpRelshp.
-- 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: CDFSPOSOPPERS

CREATE VIEW C_DFS_PosToPersonOpRelshp AS
SELECT
  PosToPersonOpRelshp.PersonnelNumber AS PersonnelNumber,
  PosToPersonOpRelshp.DfsObjectSubType AS DfsObjectSubType,
  PosToPersonOpRelshp.DfsObjectValdtyStartDate AS DfsPositionValdtyStartDate,
  PosToPersonOpRelshp.DfsObjectValdtyEndDate AS DfsPositionValdtyEndDate,
  PosToPersonOpRelshp.DfsPositionSequenceNumber AS DfsPositionSequenceNumber,
  PosToPersonOpRelshp.DfsPositionRelatedObjectID AS DfsPositionRelatedObjectID,
  PosToPersonOpRelshp.DfsPositionRelatedObjectType AS DfsPositionRelatedObjectType,
  PosToPersonOpRelshp.DfsPositionOpExerciseID AS DfsPositionOpExerciseID,
  PosToPersonOpRelshp.DfsPositionRotationKey AS DfsPositionRotationKey,
  PosToPersonOpRelshp.EmployeeName AS EmployeeName,
  PosToPersonOpRelshp.DfsObjectShortName AS DfsObjectShortName,
  PosToPersonOpRelshp.PersonnelNumberFoEd AS PersonnelNumberFoEd,
  _PositionToOperationVH.FrcElmntOrgName AS FrcElmntOrgName,
  _FrcElmntOrgOpExerRotationVH.FrcElmntOrgRotationName AS FrcElmntOrgRotationName,
  _PosOpToPersTypeVH.FrcElmntOrgRelshpDesc AS DfsPositionRelshpDesc
LEFT OUTER JOIN C_DFS_PositionHeaderTP AS _PositionHeaderTP ON DfsPositionRelatedObjectID = _PositionHeaderTP.DfsPositionID  -- association [1..1]
LEFT OUTER JOIN C_DFS_PositionToOperationVH AS _PositionToOperationVH ON _PositionToOperationVH.ForceElementOrgID = DfsPositionOpExerciseID  -- association [1..1]
LEFT OUTER JOIN C_FrcElmntOrgOpExerRotationVH AS _FrcElmntOrgOpExerRotationVH ON DfsPositionOpExerciseID = _FrcElmntOrgOpExerRotationVH.ForceElementOrgID AND DfsPositionRotationKey = _FrcElmntOrgOpExerRotationVH.FrcElmntOrgRotationKey  -- association [1..*]
LEFT OUTER JOIN C_FrcElmntOrgOpToPersTypeVH AS _PosOpToPersTypeVH ON _PosOpToPersTypeVH.FrcElmntOrgType = DfsPositionRelatedObjectType  -- association [1..*]
;