I_OperationActivitySFIGroup

DDL: I_OPERATIONACTIVITYSFIGROUP SQL: IMPEOASFIGRP Type: view BASIC

SFI At Operation Activity Group

I_OperationActivitySFIGroup is a Basic CDS View that provides data about "SFI At Operation Activity Group" in SAP S/4HANA. It reads from 1 data source (mpe_sfi_oai_grp) and exposes 19 fields with key field OperationActivitySFIGroup. It has 7 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mpe_sfi_oai_grp grp from

Associations (7)

CardinalityTargetAliasCondition
[1..1] I_ShopFloorItem _RepresentativeShopFloorItem $projection.RepresentativeShopFloorItem = _RepresentativeShopFloorItem.ShopFloorItem
[0..1] I_OpActyNtwkInstance _RprstvOpActyNtwkInstance $projection.RprstvOpActyNtwkInstance = _RprstvOpActyNtwkInstance.OpActyNtwkInstance
[0..1] I_OperationActivityInstance _RprstvOpActyInstance $projection.RprstvOpActyNtwkInstance = _RprstvOpActyInstance.OpActyNtwkInstance and $projection.RprstvOpActyNtwkElement = _RprstvOpActyInstance.OpActyNtwkElement
[0..1] I_ShopFloorItemStatus _RprstvSFIAtOpActyStatus $projection.RepresentativeShopFloorItem = _RprstvSFIAtOpActyStatus.ShopFloorItem and $projection.RprstvOpActyNtwkInstance = _RprstvSFIAtOpActyStatus.OpActyNtwkInstance and $projection.RprstvOpActyNtwkElement = _RprstvSFIAtOpActyStatus.OpActyNtwkElement
[1..1] I_Plant _ProductionPlant $projection.ProductionPlant = _ProductionPlant.Plant
[0..1] I_WorkCenter _WorkCenterByInternalID _WorkCenterByInternalID.WorkCenterTypeCode = 'A ' and $projection.WorkCenterInternalID = _WorkCenterByInternalID.WorkCenterInternalID
[0..1] I_OperationActivitySFIGroup _SourceOpActySFIGroup $projection.SourceOpActySFIGroup = _SourceOpActySFIGroup.OperationActivitySFIGroup

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName IMPEOASFIGRP view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #A view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #BASIC view
ObjectModel.representativeKey OperationActivitySFIGroup view
EndUserText.label SFI At Operation Activity Group view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY OperationActivitySFIGroup mpe_sfi_oai_grp sfi_group_id Serial Number Group
OpActySFIGroupName mpe_sfi_oai_grp sfi_group_name Group Name
ProductionPlant mpe_sfi_oai_grp werks Receiving Plant
WorkCenterInternalID mpe_sfi_oai_grp arbid WorkCtrGp plan.
RepresentativeShopFloorItem mpe_sfi_oai_grp rprstv_sfi_id Rprstv.Serial.Mat.
RprstvOpActyNtwkInstance mpe_sfi_oai_grp rprstv_oan_instance_id Representative OAN
RprstvOpActyNtwkElement mpe_sfi_oai_grp rprstv_oan_element_number Representative Elmnt
CreatedByUser mpe_sfi_oai_grp created_by Version Created By
CreationDateTime mpe_sfi_oai_grp created_at Uploaded On
LastChangedByUser mpe_sfi_oai_grp changed_by User Name
LastChangeDateTime mpe_sfi_oai_grp changed_at Timestamp
SourceOpActySFIGroup mpe_sfi_oai_grp source_sfi_group_id
_ProductionPlant _ProductionPlant
_WorkCenterByInternalID _WorkCenterByInternalID
_RepresentativeShopFloorItem _RepresentativeShopFloorItem
_RprstvOpActyNtwkInstance _RprstvOpActyNtwkInstance
_RprstvOpActyInstance _RprstvOpActyInstance
_RprstvSFIAtOpActyStatus _RprstvSFIAtOpActyStatus
_SourceOpActySFIGroup _SourceOpActySFIGroup

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_OperationActivitySFIGroup.
-- 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: IMPEOASFIGRP

CREATE VIEW I_OperationActivitySFIGroup AS
SELECT
  grp.sfi_group_id AS OperationActivitySFIGroup,
  grp.sfi_group_name AS OpActySFIGroupName,
  grp.werks AS ProductionPlant,
  grp.arbid AS WorkCenterInternalID,
  grp.rprstv_sfi_id AS RepresentativeShopFloorItem,
  grp.rprstv_oan_instance_id AS RprstvOpActyNtwkInstance,
  grp.rprstv_oan_element_number AS RprstvOpActyNtwkElement,
  grp.created_by AS CreatedByUser,
  grp.created_at AS CreationDateTime,
  grp.changed_by AS LastChangedByUser,
  grp.changed_at AS LastChangeDateTime,
  grp.source_sfi_group_id AS SourceOpActySFIGroup
FROM mpe_sfi_oai_grp AS grp
LEFT OUTER JOIN I_ShopFloorItem AS _RepresentativeShopFloorItem ON RepresentativeShopFloorItem = _RepresentativeShopFloorItem.ShopFloorItem  -- association [1..1]
LEFT OUTER JOIN I_OpActyNtwkInstance AS _RprstvOpActyNtwkInstance ON RprstvOpActyNtwkInstance = _RprstvOpActyNtwkInstance.OpActyNtwkInstance  -- association [0..1]
LEFT OUTER JOIN I_OperationActivityInstance AS _RprstvOpActyInstance ON RprstvOpActyNtwkInstance = _RprstvOpActyInstance.OpActyNtwkInstance AND RprstvOpActyNtwkElement = _RprstvOpActyInstance.OpActyNtwkElement  -- association [0..1]
LEFT OUTER JOIN I_ShopFloorItemStatus AS _RprstvSFIAtOpActyStatus ON RepresentativeShopFloorItem = _RprstvSFIAtOpActyStatus.ShopFloorItem AND RprstvOpActyNtwkInstance = _RprstvSFIAtOpActyStatus.OpActyNtwkInstance AND RprstvOpActyNtwkElement = _RprstvSFIAtOpActyStatus.OpActyNtwkElement  -- association [0..1]
LEFT OUTER JOIN I_Plant AS _ProductionPlant ON ProductionPlant = _ProductionPlant.Plant  -- association [1..1]
LEFT OUTER JOIN I_WorkCenter AS _WorkCenterByInternalID ON _WorkCenterByInternalID.WorkCenterTypeCode = 'A ' AND WorkCenterInternalID = _WorkCenterByInternalID.WorkCenterInternalID  -- association [0..1]
LEFT OUTER JOIN I_OperationActivitySFIGroup AS _SourceOpActySFIGroup ON SourceOpActySFIGroup = _SourceOpActySFIGroup.OperationActivitySFIGroup  -- association [0..1]
;