I_FrcElmntToPosExtRelshpUnion

DDL: I_FRCELMNTTOPOSEXTRELSHPUNION SQL: IFEPOSEXTRELUNIN Type: view COMPOSITE

Interface View of FE To Pos Ext Relshp With Union

I_FrcElmntToPosExtRelshpUnion is a Composite CDS View that provides data about "Interface View of FE To Pos Ext Relshp With Union" in SAP S/4HANA. It reads from 4 data sources (I_FrcElmntToPosExtRelshpDrft, I_FrcElmntToPosExtRelshpDrft, I_DFS_ObjExternalRelationship, I_DraftAdministrativeData) and exposes 30 fields with key fields DfsPositionID, DfsObjectDraftUUID.

Data Sources (4)

SourceAliasJoin Type
I_FrcElmntToPosExtRelshpDrft FrcElmntToPosExtRelshpDrft left_outer
I_FrcElmntToPosExtRelshpDrft FrcElmntToPosExtRelshpDrft union_all
I_DFS_ObjExternalRelationship FrcElmntToPosExtRelshpUnion from
I_DraftAdministrativeData I_DraftAdministrativeData inner

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IFEPOSEXTRELUNIN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Interface View of FE To Pos Ext Relshp With Union view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view

Fields (30)

KeyFieldSource TableSource FieldDescription
KEY DfsPositionID I_DFS_ObjExternalRelationship DfsObjectID Object ID
KEY DfsObjectDraftUUID UUID
DfsAssgmtActiveDraft
DfsObjectPlanVersion I_DFS_ObjExternalRelationship DfsObjectPlanVersion Plan version
DfsObjectPlngStatus I_DFS_ObjExternalRelationship DfsObjectPlngStatus Planning status
DfsObjectValdtyStartDate I_DFS_ObjExternalRelationship DfsObjectValdtyStartDate Start date
DfsObjectValdtyEndDate I_DFS_ObjExternalRelationship DfsObjectValdtyEndDate End Date
DfsObjectType I_DFS_ObjExternalRelationship DfsObjectType Object type
DfsObjectSubType I_DFS_ObjExternalRelationship DfsObjectSubType Subtype
DfsObjectInfoType I_DFS_ObjExternalRelationship DfsObjectInfoType Infotype
DfsObjectRelatedObjectType I_DFS_ObjExternalRelationship DfsObjectRelatedObjectType Rel.obj.type
DfsObjectRelatedObjectID I_DFS_ObjExternalRelationship DfsObjectRelatedObjectID ID rel.object
DfsObjectRelshpPriority I_DFS_ObjExternalRelationship DfsObjectRelshpPriority Priority
IsActiveEntity
HasActiveEntity TRUE
DfsObjectIDasDfsPositionID
DfsObjectDraftUUID I_FrcElmntToPosExtRelshpDrft DfsObjectDraftUUID UUID
DfsObjectPlanVersion I_FrcElmntToPosExtRelshpDrft DfsObjectPlanVersion Plan version
DfsObjectPlngStatus I_FrcElmntToPosExtRelshpDrft DfsObjectPlngStatus Planning status
DfsObjectValdtyStartDate I_FrcElmntToPosExtRelshpDrft DfsPositionValdtyStartDate Start date
DfsObjectValdtyEndDate I_FrcElmntToPosExtRelshpDrft DfsPositionValdtyEndDate End Date
DfsObjectType I_FrcElmntToPosExtRelshpDrft DfsObjectType Object type
DfsObjectSubType I_FrcElmntToPosExtRelshpDrft DfsObjectSubType Subtype
DfsObjectInfoType I_FrcElmntToPosExtRelshpDrft DfsObjectInfoType Infotype
DfsObjectRelatedObjectType I_FrcElmntToPosExtRelshpDrft DfsObjectRelatedObjectType Rel.obj.type
DfsObjectRelatedObjectID I_FrcElmntToPosExtRelshpDrft DfsObjectRelatedObjectID ID rel.object
DfsObjectRelshpPriority I_FrcElmntToPosExtRelshpDrft DfsObjectRelshpPriority Priority
IsActiveEntity
HasActiveEntity I_FrcElmntToPosExtRelshpDrft HasActiveEntity TRUE
HasDraftEntity

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_FrcElmntToPosExtRelshpUnion.
-- 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: IFEPOSEXTRELUNIN

CREATE VIEW I_FrcElmntToPosExtRelshpUnion AS
SELECT
  FrcElmntToPosExtRelshpUnion.DfsObjectID AS DfsPositionID,
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) AS DfsObjectDraftUUID,
  '1' AS DfsAssgmtActiveDraft,
  FrcElmntToPosExtRelshpUnion.DfsObjectPlanVersion AS DfsObjectPlanVersion,
  FrcElmntToPosExtRelshpUnion.DfsObjectPlngStatus AS DfsObjectPlngStatus,
  FrcElmntToPosExtRelshpUnion.DfsObjectValdtyStartDate AS DfsObjectValdtyStartDate,
  FrcElmntToPosExtRelshpUnion.DfsObjectValdtyEndDate AS DfsObjectValdtyEndDate,
  FrcElmntToPosExtRelshpUnion.DfsObjectType AS DfsObjectType,
  FrcElmntToPosExtRelshpUnion.DfsObjectSubType AS DfsObjectSubType,
  FrcElmntToPosExtRelshpUnion.DfsObjectInfoType AS DfsObjectInfoType,
  FrcElmntToPosExtRelshpUnion.DfsObjectRelatedObjectType AS DfsObjectRelatedObjectType,
  FrcElmntToPosExtRelshpUnion.DfsObjectRelatedObjectID AS DfsObjectRelatedObjectID,
  FrcElmntToPosExtRelshpUnion.DfsObjectRelshpPriority AS DfsObjectRelshpPriority,
  cast( 'X' as boole_d preserving type ) AS IsActiveEntity,
  cast( ' ' as boole_d preserving type ) AS HasActiveEntity,
  3 as Criticality AS DfsObjectIDasDfsPositionID,
  cast( ' ' as boole_d preserving type) AS HasDraftEntity
FROM I_DFS_ObjExternalRelationship AS FrcElmntToPosExtRelshpUnion
LEFT OUTER JOIN I_FrcElmntToPosExtRelshpDrft AS FrcElmntToPosExtRelshpDrft ON /* join condition not captured in parsed metadata */
INNER JOIN I_DraftAdministrativeData ON /* join condition not captured in parsed metadata */
-- UNION ALL with additional select branch(es): I_FrcElmntToPosExtRelshpDrft
;