P_OpActyNrOfActvEquipRegn

DDL: P_OPACTYNROFACTVEQUIPREGN SQL: PMPEACTVEQREGOA Type: view CONSUMPTION

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

Data Sources (1)

SourceAliasJoin Type
I_OpActyInstceEquipActvRegn I_OpActyInstceEquipActvRegn from

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName PMPEACTVEQREGOA view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
VDM.viewType #CONSUMPTION view
VDM.private true view

Fields (5)

KeyFieldSource TableSource FieldDescription
KEY OpActyNtwkInstance OpActyNtwkInstance Instance ID
KEY OpActyNtwkElement OpActyNtwkElement Element Number
KEY OrderInternalID OrderInternalID Plan No.f.Oper.
KEY MfgOrderOpProdnRsceToolIntID MfgOrderOpProdnRsceToolIntID
NumberOfActvEquipRegistrations

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_OpActyNrOfActvEquipRegn.
-- 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: PMPEACTVEQREGOA

CREATE VIEW P_OpActyNrOfActvEquipRegn AS
SELECT
  OpActyNtwkInstance,
  OpActyNtwkElement,
  OrderInternalID,
  MfgOrderOpProdnRsceToolIntID,
  cast( count(*) as mpe_exec_nr_of_equip_regns preserving type ) AS NumberOfActvEquipRegistrations
FROM I_OpActyInstceEquipActvRegn
;