I_FrcElmntToWBSElmntUnion

DDL: I_FRCELMNTTOWBSELMNTUNION SQL: IFETOWBSEUNIN Type: view COMPOSITE

Interface View of FE to additional WBS Element with Union

I_FrcElmntToWBSElmntUnion is a Composite CDS View that provides data about "Interface View of FE to additional WBS Element with Union" in SAP S/4HANA. It reads from 3 data sources (I_FrcElmntToWBSElmntDraft, I_FrcElmntToWBSElmnt, I_DraftAdministrativeData) and exposes 65 fields with key fields ForceElementOrgID, FrcElmntOrgRelatedOrgID, FrcElmntOrgDraftUUID, FrcElmntOrgRelatedOrgID, FrcElmntOrgDraftUUID. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
I_FrcElmntToWBSElmntDraft FrcElmntToWBSElmntDraft union_all
I_FrcElmntToWBSElmnt FrcElmntToWBSElmntUnion from
I_DraftAdministrativeData I_DraftAdministrativeData inner

Associations (1)

CardinalityTargetAliasCondition
[1..1] I_DFS_FrcElmntPlndOpTP _FrcElmntPlndOpTP $projection.ForceElementOrgID = _FrcElmntPlndOpTP.ForceElementOrgID and $projection.FrcElmntOrgValdtyStartDate = _FrcElmntPlndOpTP.FrcElmntOrgValdtyRefStartDate and $projection.FrcElmntOrgValdtyEndDate = _FrcElmntPlndOpTP.FrcElmntOrgValdtyRefEndDate and $projection.FrcElmntOrgSubType = _FrcElmntPlndOpTP.FrcElmntOrgRefSubtype and _FrcElmntPlndOpTP.FrcElmntOrgRefInfoType = '1001' and $projection.FrcElmntOrgRelatedOrgID = _FrcElmntPlndOpTP.FrcElmntOrgRelatedOrgID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IFETOWBSEUNIN view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED 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
EndUserText.label Interface View of FE to additional WBS Element with Union view

Fields (65)

KeyFieldSource TableSource FieldDescription
KEY ForceElementOrgID I_FrcElmntToWBSElmnt ForceElementOrgID Object ID Processor
KEY FrcElmntOrgRelatedOrgID I_FrcElmntToWBSElmnt FrcElmntOrgRelatedOrgID ID rel.object
KEY FrcElmntOrgDraftUUID UUID
DfsAssgmtActiveDraft
FrcElmntOrgPlngStatus I_FrcElmntToWBSElmnt FrcElmntOrgPlngStatus Planning status
FrcElmntOrgValdtyStartDate I_FrcElmntToWBSElmnt FrcElmntOrgValdtyStartDate Start date
FrcElmntOrgValdtyEndDate I_FrcElmntToWBSElmnt FrcElmntOrgValdtyEndDate End Date
FrcElmntOrgType I_FrcElmntToWBSElmnt FrcElmntOrgType Object type
FrcElmntOrgPlanVersion I_FrcElmntToWBSElmnt FrcElmntOrgPlanVersion Plan version
FrcElmntOrgRelshpSpec I_FrcElmntToWBSElmnt FrcElmntOrgRelshpSpec Relationship
FrcElmntOrgRelshpBtwnObj I_FrcElmntToWBSElmnt FrcElmntOrgRelshpBtwnObj Relnship
FrcElmntOrgRelshpPriority I_FrcElmntToWBSElmnt FrcElmntOrgRelshpPriority Priority
NumberOfForceElementOrg I_FrcElmntToWBSElmnt NumberOfForceElementOrg IT record no.
FrcElmntOrgInfoType I_FrcElmntToWBSElmnt FrcElmntOrgInfoType Infotype
FrcElmntOrgSubType I_FrcElmntToWBSElmnt FrcElmntOrgSubType Subtype
FrcElmntOrgPlngStsCritlty I_FrcElmntToWBSElmnt FrcElmntOrgPlngStsCritlty
FrcElmntOrgRelatedOrgType I_FrcElmntToWBSElmnt FrcElmntOrgRelatedOrgType Rel.obj.type
FrcElmntOrgLastChgdByUser I_FrcElmntToWBSElmnt FrcElmntOrgLastChgdByUser User Name
WBSElementInternalID I_FrcElmntToWBSElmnt WBSElementInternalID WBS Internal ID
WBSElementExternalID I_FrcElmntToWBSElmnt WBSElementExternalID WBS Element External ID
WBSElement I_FrcElmntToWBSElmnt WBSElement WBS Internal ID
WBSDescription I_FrcElmntToWBSElmnt WBSDescription WBS Element Name
ProjectProfileCode I_FrcElmntToWBSElmnt ProjectProfileCode Project Profile
ProjectInternalID I_FrcElmntToWBSElmnt ProjectInternalID Project Def.
ProjectExternalID I_FrcElmntToWBSElmnt ProjectExternalID Project def.
Project I_FrcElmntToWBSElmnt Project WBS Element
ProjectDescription I_FrcElmntToWBSElmnt ProjectDescription Project Name
ProjectProfileCodeText I_FrcElmntToWBSElmnt ProjectProfileCodeText Description
IsActiveEntity
HasActiveEntity TRUE
Criticality
FrcElmntOrgPlanDelimitDate _FrcElmntPlndOpTP FrcElmntOrgPlanDelimitDate Delimit date
char22asDfsAssgmtPlanStatusObject
ForceElementOrgID Object ID Processor
KEY FrcElmntOrgRelatedOrgID I_FrcElmntToWBSElmntDraft FrcElmntOrgRelatedOrgID ID rel.object
KEY FrcElmntOrgDraftUUID I_FrcElmntToWBSElmntDraft FrcElmntOrgDraftUUID UUID
FrcElmntOrgPlngStatus I_FrcElmntToWBSElmntDraft FrcElmntOrgPlngStatus Planning status
FrcElmntOrgValdtyStartDate I_FrcElmntToWBSElmntDraft FrcElmntOrgValdtyStartDate Start date
FrcElmntOrgValdtyEndDate I_FrcElmntToWBSElmntDraft FrcElmntOrgValdtyEndDate End Date
FrcElmntOrgType I_FrcElmntToWBSElmntDraft FrcElmntOrgType Object type
FrcElmntOrgPlanVersion I_FrcElmntToWBSElmntDraft FrcElmntOrgPlanVersion Plan version
FrcElmntOrgRelshpSpec I_FrcElmntToWBSElmntDraft FrcElmntOrgRelshpSpec Relationship
FrcElmntOrgRelshpBtwnObj I_FrcElmntToWBSElmntDraft FrcElmntOrgRelshpBtwnObj Relnship
FrcElmntOrgRelshpPriority I_FrcElmntToWBSElmntDraft FrcElmntOrgRelshpPriority Priority
NumberOfForceElementOrg I_FrcElmntToWBSElmntDraft NumberOfForceElementOrg IT record no.
FrcElmntOrgInfoType I_FrcElmntToWBSElmntDraft FrcElmntOrgInfoType Infotype
FrcElmntOrgSubType I_FrcElmntToWBSElmntDraft FrcElmntOrgSubType Subtype
FrcElmntOrgRelatedOrgType I_FrcElmntToWBSElmntDraft FrcElmntOrgRelatedOrgType Rel.obj.type
FrcElmntOrgLastChgdByUser I_FrcElmntToWBSElmntDraft FrcElmntOrgLastChgdByUser User Name
WBSElementInternalID I_FrcElmntToWBSElmntDraft WBSElementInternalID WBS Internal ID
WBSElementExternalID I_FrcElmntToWBSElmntDraft WBSElementExternalID WBS Element External ID
WBSElement I_FrcElmntToWBSElmntDraft WBSElement WBS Internal ID
WBSDescription I_FrcElmntToWBSElmntDraft WBSDescription WBS Element Name
ProjectProfileCode I_FrcElmntToWBSElmntDraft ProjectProfileCode Project Profile
ProjectInternalID I_FrcElmntToWBSElmntDraft ProjectInternalID Project Def.
ProjectExternalID I_FrcElmntToWBSElmntDraft ProjectExternalID Project def.
Project I_FrcElmntToWBSElmntDraft Project WBS Element
ProjectDescription I_FrcElmntToWBSElmntDraft ProjectDescription Project Name
ProjectProfileCodeText I_FrcElmntToWBSElmntDraft ProjectProfileCodeText Description
IsActiveEntity
HasActiveEntity I_FrcElmntToWBSElmntDraft FrcElmntOrgDrftHasActiveEntity TRUE
HasDraftEntity
FrcElmntOrgPlanDelimitDate _FrcElmntPlndOpTP FrcElmntOrgPlanDelimitDate Delimit date
DfsAssgmtPlanStatusObject _FrcElmntPlndOpTP FrcElmntOrgPlngStatus Planning status
DfsAssgmtPlanOpStsCriticality _FrcElmntPlndOpTP FrcElmntOrgPlngStsCritlty

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_FrcElmntToWBSElmntUnion.
-- 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: IFETOWBSEUNIN

CREATE VIEW I_FrcElmntToWBSElmntUnion AS
SELECT
  FrcElmntToWBSElmntUnion.ForceElementOrgID AS ForceElementOrgID,
  FrcElmntToWBSElmntUnion.FrcElmntOrgRelatedOrgID AS FrcElmntOrgRelatedOrgID,
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) AS FrcElmntOrgDraftUUID,
  '1' AS DfsAssgmtActiveDraft,
  FrcElmntToWBSElmntUnion.FrcElmntOrgPlngStatus AS FrcElmntOrgPlngStatus,
  FrcElmntToWBSElmntUnion.FrcElmntOrgValdtyStartDate AS FrcElmntOrgValdtyStartDate,
  FrcElmntToWBSElmntUnion.FrcElmntOrgValdtyEndDate AS FrcElmntOrgValdtyEndDate,
  FrcElmntToWBSElmntUnion.FrcElmntOrgType AS FrcElmntOrgType,
  FrcElmntToWBSElmntUnion.FrcElmntOrgPlanVersion AS FrcElmntOrgPlanVersion,
  FrcElmntToWBSElmntUnion.FrcElmntOrgRelshpSpec AS FrcElmntOrgRelshpSpec,
  FrcElmntToWBSElmntUnion.FrcElmntOrgRelshpBtwnObj AS FrcElmntOrgRelshpBtwnObj,
  FrcElmntToWBSElmntUnion.FrcElmntOrgRelshpPriority AS FrcElmntOrgRelshpPriority,
  FrcElmntToWBSElmntUnion.NumberOfForceElementOrg AS NumberOfForceElementOrg,
  FrcElmntToWBSElmntUnion.FrcElmntOrgInfoType AS FrcElmntOrgInfoType,
  FrcElmntToWBSElmntUnion.FrcElmntOrgSubType AS FrcElmntOrgSubType,
  FrcElmntToWBSElmntUnion.FrcElmntOrgPlngStsCritlty AS FrcElmntOrgPlngStsCritlty,
  FrcElmntToWBSElmntUnion.FrcElmntOrgRelatedOrgType AS FrcElmntOrgRelatedOrgType,
  FrcElmntToWBSElmntUnion.FrcElmntOrgLastChgdByUser AS FrcElmntOrgLastChgdByUser,
  FrcElmntToWBSElmntUnion.WBSElementInternalID AS WBSElementInternalID,
  FrcElmntToWBSElmntUnion.WBSElementExternalID AS WBSElementExternalID,
  FrcElmntToWBSElmntUnion.WBSElement AS WBSElement,
  FrcElmntToWBSElmntUnion.WBSDescription AS WBSDescription,
  FrcElmntToWBSElmntUnion.ProjectProfileCode AS ProjectProfileCode,
  FrcElmntToWBSElmntUnion.ProjectInternalID AS ProjectInternalID,
  FrcElmntToWBSElmntUnion.ProjectExternalID AS ProjectExternalID,
  FrcElmntToWBSElmntUnion.Project AS Project,
  FrcElmntToWBSElmntUnion.ProjectDescription AS ProjectDescription,
  FrcElmntToWBSElmntUnion.ProjectProfileCodeText AS ProjectProfileCodeText,
  cast( 'X' as boole_d preserving type ) AS IsActiveEntity,
  cast( ' ' as boole_d preserving type ) AS HasActiveEntity,
  cast( 3 as int1) AS Criticality,
  _FrcElmntPlndOpTP.FrcElmntOrgPlanDelimitDate AS FrcElmntOrgPlanDelimitDate,
  cast( _FrcElmntPlndOpTP.FrcElmntOrgPlngStatus as abap.char(22) )as DfsAssgmtPlanStatusObject AS char22asDfsAssgmtPlanStatusObject,
  cast( ' ' as boole_d preserving type) AS HasDraftEntity,
  _FrcElmntPlndOpTP.FrcElmntOrgPlngStatus AS DfsAssgmtPlanStatusObject,
  _FrcElmntPlndOpTP.FrcElmntOrgPlngStsCritlty AS DfsAssgmtPlanOpStsCriticality
FROM I_FrcElmntToWBSElmnt AS FrcElmntToWBSElmntUnion
INNER JOIN I_DraftAdministrativeData ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_DFS_FrcElmntPlndOpTP AS _FrcElmntPlndOpTP ON ForceElementOrgID = _FrcElmntPlndOpTP.ForceElementOrgID AND FrcElmntOrgValdtyStartDate = _FrcElmntPlndOpTP.FrcElmntOrgValdtyRefStartDate AND FrcElmntOrgValdtyEndDate = _FrcElmntPlndOpTP.FrcElmntOrgValdtyRefEndDate AND FrcElmntOrgSubType = _FrcElmntPlndOpTP.FrcElmntOrgRefSubtype AND _FrcElmntPlndOpTP.FrcElmntOrgRefInfoType = '1001' AND FrcElmntOrgRelatedOrgID = _FrcElmntPlndOpTP.FrcElmntOrgRelatedOrgID  -- association [1..1]
-- UNION ALL with additional select branch(es): I_FrcElmntToWBSElmntDraft
;