P_OpActyInstceDstctEquipRegn

DDL: P_OPACTYINSTCEDSTCTEQUIPREGN Type: view_entity CONSUMPTION

P_OpActyInstceDstctEquipRegn is a Consumption CDS View in SAP S/4HANA. It reads from 1 data source (I_OpActyInstceEquipActvRegn) and exposes 10 fields with key fields OpActyNtwkInstance, OpActyNtwkElement, OrderInternalID, MfgOrderOpProdnRsceToolIntID, Equipment.

Data Sources (1)

SourceAliasJoin Type
I_OpActyInstceEquipActvRegn OpActyInstceEquipActvRegn from

Annotations (7)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
Metadata.ignorePropagatedAnnotations true view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (10)

KeyFieldSource TableSource FieldDescription
KEY OpActyNtwkInstance I_OpActyInstceEquipActvRegn OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement I_OpActyInstceEquipActvRegn OpActyNtwkElement Element Number
KEY OrderInternalID I_OpActyInstceEquipActvRegn OrderInternalID Plan No.f.Oper.
KEY MfgOrderOpProdnRsceToolIntID I_OpActyInstceEquipActvRegn MfgOrderOpProdnRsceToolIntID
KEY Equipment I_OpActyInstceEquipActvRegn Equipment Equipment check
NumberOfActvEquipRegistrations
_OpActyNtwkInstance I_OpActyInstceEquipActvRegn _OpActyNtwkInstance
_OperationActivityInstance I_OpActyInstceEquipActvRegn _OperationActivityInstance
_OrderInternalID I_OpActyInstceEquipActvRegn _OrderInternalID
_Equipment I_OpActyInstceEquipActvRegn _Equipment

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 P_OpActyInstceDstctEquipRegn.
-- 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.

CREATE VIEW P_OpActyInstceDstctEquipRegn AS
SELECT
  OpActyInstceEquipActvRegn.OpActyNtwkInstance AS OpActyNtwkInstance,
  OpActyInstceEquipActvRegn.OpActyNtwkElement AS OpActyNtwkElement,
  OpActyInstceEquipActvRegn.OrderInternalID AS OrderInternalID,
  OpActyInstceEquipActvRegn.MfgOrderOpProdnRsceToolIntID AS MfgOrderOpProdnRsceToolIntID,
  OpActyInstceEquipActvRegn.Equipment AS Equipment,
  cast(count(*) as mpe_exec_nr_of_equip_regns preserving type ) AS NumberOfActvEquipRegistrations,
  OpActyInstceEquipActvRegn._OpActyNtwkInstance AS _OpActyNtwkInstance,
  OpActyInstceEquipActvRegn._OperationActivityInstance AS _OperationActivityInstance,
  OpActyInstceEquipActvRegn._OrderInternalID AS _OrderInternalID,
  OpActyInstceEquipActvRegn._Equipment AS _Equipment
FROM I_OpActyInstceEquipActvRegn AS OpActyInstceEquipActvRegn
;