I_FrcElmntOrgExtRelshpWithDrft

DDL: I_FRCELMNTORGEXTRELSHPWITHDRFT SQL: IFEORGEXTRELDRFT Type: view COMPOSITE

Interface view for the External Relationship with Draft

I_FrcElmntOrgExtRelshpWithDrft is a Composite CDS View that provides data about "Interface view for the External Relationship with Draft" in SAP S/4HANA. It reads from 3 data sources (I_FrcElmntOrgExtRelshpDraft, I_FrcElmntOrgDfsExternalRelshp, I_DraftAdministrativeData) and exposes 45 fields. It has 1 association to related views.

Data Sources (3)

SourceAliasJoin Type
I_FrcElmntOrgExtRelshpDraft DraftFrcElmntExternalRelshp union
I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgDfsExternalRelshp from
I_DraftAdministrativeData I_DraftAdministrativeData inner

Associations (1)

CardinalityTargetAliasCondition
[0..1] I_FrcElmntOrgWithAuthorization _StrucAuth DraftFrcElmntExternalRelshp.FrcElmntOrgRelatedOrgID = _StrucAuth.ForceElementOrgID

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IFEORGEXTRELDRFT view
AbapCatalog.compiler.compareFilter true view
VDM.viewType #COMPOSITE view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #MIXED view
EndUserText.label Interface view for the External Relationship with Draft view

Fields (45)

KeyFieldSource TableSource FieldDescription
FrcElmntOrgPlanVersion I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgPlanVersion Plan version
FrcElmntOrgType I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgType Object type
ForceElementOrgID I_FrcElmntOrgDfsExternalRelshp ForceElementOrgID Object ID Processor
FrcElmntOrgSubType I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgSubType Subtype
FrcElmntOrgPlngStatus I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgPlngStatus Planning status
FrcElmntOrgValdtyStartDate I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgValdtyStartDate Start date
FrcElmntOrgValdtyEndDate I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgValdtyEndDate End Date
NumberOfForceElementOrg I_FrcElmntOrgDfsExternalRelshp NumberOfForceElementOrg IT record no.
FrcElmntOrgDraftUUID UUID
FrcElmntOrgInfoType I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgInfoType Infotype
FrcElmntOrgRelatedOrgType I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgRelatedOrgType Rel.obj.type
FrcElmntOrgRelatedOrgID I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgRelatedOrgID ID rel.object
FrcElmntOrgRelshpPriority I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgRelshpPriority Priority
FrcElmntOrgCnctntdRelshpName I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgCnctntdRelshpName
FrcElmntOrgLastChgdByUserName I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgLastChgdByUserName User Name
FrcElmntOrgRelshpDesc Relationship
FrcElmntOrgDrftHasActiveEntity TRUE
FrcElmntOrgTechnicalStatusName
DfsAssgmtPlanStatusObject
FrcElmntOrgPlanDelimitDate I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgPlanDelimitDate Delimit date
FrcElmntOrgPlngStatusName I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgPlngStatusName Planning Status
FrcElmntOrgPlngStsCritlty I_FrcElmntOrgDfsExternalRelshp FrcElmntOrgPlngStsCritlty
FrcElmntOrgPlanVersion Plan version
FrcElmntOrgType I_FrcElmntOrgExtRelshpDraft FrcElmntOrgType Object type
ForceElementOrgID I_FrcElmntOrgExtRelshpDraft ForceElementOrgID Object ID Processor
FrcElmntOrgSubType I_FrcElmntOrgExtRelshpDraft FrcElmntOrgSubType Subtype
FrcElmntOrgPlngStatus I_FrcElmntOrgExtRelshpDraft FrcElmntOrgPlngStatus Planning status
FrcElmntOrgValdtyStartDate I_FrcElmntOrgExtRelshpDraft FrcElmntOrgValdtyStartDate Start date
FrcElmntOrgValdtyEndDate I_FrcElmntOrgExtRelshpDraft FrcElmntOrgValdtyEndDate End Date
NumberOfForceElementOrg I_FrcElmntOrgExtRelshpDraft NumberOfForceElementOrg IT record no.
FrcElmntOrgDraftUUID I_FrcElmntOrgExtRelshpDraft FrcElmntOrgDraftUUID UUID
FrcElmntOrgInfoType I_FrcElmntOrgExtRelshpDraft FrcElmntOrgInfoType Infotype
FrcElmntOrgRelatedOrgType I_FrcElmntOrgExtRelshpDraft FrcElmntOrgRelatedOrgType Rel.obj.type
FrcElmntOrgRelatedOrgID I_FrcElmntOrgExtRelshpDraft FrcElmntOrgRelatedOrgID ID rel.object
FrcElmntOrgRelshpPriority I_FrcElmntOrgExtRelshpDraft FrcElmntOrgRelshpPriority Priority
FrcElmntOrgCnctntdRelshpName I_FrcElmntOrgExtRelshpDraft FrcElmntOrgCnctntdRelshpName
FrcElmntOrgLastChgdByUserName I_FrcElmntOrgExtRelshpDraft FrcElmntOrgLastChgdByUserName User Name
FrcElmntOrgRelshpDesc I_FrcElmntOrgExtRelshpDraft FrcElmntOrgRelshpDesc Relationship
FrcElmntOrgDrftHasActiveEntity I_FrcElmntOrgExtRelshpDraft FrcElmntOrgDrftHasActiveEntity TRUE
FrcElmntOrgTechnicalStatusName
DfsAssgmtPlanStatusObject
FrcElmntOrgPlanDelimitDate Delimit date
FrcElmntOrgPlngStatusName Planning Status
FrcElmntOrgPlngStsCritlty
_StrucAuth _StrucAuth

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_FrcElmntOrgExtRelshpWithDrft.
-- 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: IFEORGEXTRELDRFT

CREATE VIEW I_FrcElmntOrgExtRelshpWithDrft AS
SELECT
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgPlanVersion AS FrcElmntOrgPlanVersion,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgType AS FrcElmntOrgType,
  FrcElmntOrgDfsExternalRelshp.ForceElementOrgID AS ForceElementOrgID,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgSubType AS FrcElmntOrgSubType,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgPlngStatus AS FrcElmntOrgPlngStatus,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgValdtyStartDate AS FrcElmntOrgValdtyStartDate,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgValdtyEndDate AS FrcElmntOrgValdtyEndDate,
  FrcElmntOrgDfsExternalRelshp.NumberOfForceElementOrg AS NumberOfForceElementOrg,
  cast ( hextobin('00000000000000000000000000000000') as sysuuid_x preserving type ) AS FrcElmntOrgDraftUUID,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgInfoType AS FrcElmntOrgInfoType,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgRelatedOrgType AS FrcElmntOrgRelatedOrgType,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgRelatedOrgID AS FrcElmntOrgRelatedOrgID,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgRelshpPriority AS FrcElmntOrgRelshpPriority,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgCnctntdRelshpName AS FrcElmntOrgCnctntdRelshpName,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgLastChgdByUserName AS FrcElmntOrgLastChgdByUserName,
  _FrcElmntOrgRelshpCode._FrcElmntOrgRelshpText[1:FrcElmntOrgLanguage=$session.system_language].FrcElmntOrgRelshpDesc AS FrcElmntOrgRelshpDesc,
  cast( ' ' as boole_d preserving type ) AS FrcElmntOrgDrftHasActiveEntity,
  '1' AS FrcElmntOrgTechnicalStatusName,
  cast( FrcElmntOrgDfsExternalRelshp.DfsAssgmtPlanStatusObject as abap.char(22) ) AS DfsAssgmtPlanStatusObject,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgPlanDelimitDate AS FrcElmntOrgPlanDelimitDate,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgPlngStatusName AS FrcElmntOrgPlngStatusName,
  FrcElmntOrgDfsExternalRelshp.FrcElmntOrgPlngStsCritlty AS FrcElmntOrgPlngStsCritlty
FROM I_FrcElmntOrgDfsExternalRelshp AS FrcElmntOrgDfsExternalRelshp
INNER JOIN I_DraftAdministrativeData ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_FrcElmntOrgWithAuthorization AS _StrucAuth ON DraftFrcElmntExternalRelshp.FrcElmntOrgRelatedOrgID = _StrucAuth.ForceElementOrgID  -- association [0..1]
-- UNION with additional select branch(es): I_FrcElmntOrgExtRelshpDraft
;