/AIF/C_InterfaceStatistics

DDL: /AIF/C_INTERFACESTATISTICS SQL: /AIF/CIFSTA Type: view CONSUMPTION

Statistics information by per interface

/AIF/C_InterfaceStatistics is a Consumption CDS View that provides data about "Statistics information by per interface" in SAP S/4HANA. It reads from 2 data sources (/AIF/I_InterfaceStatistics, /AIF/I_Interface_Display) and exposes 16 fields with key fields Namespace, InterfaceName, InterfaceVersion. It has 3 associations to related views.

Data Sources (2)

SourceAliasJoin Type
/AIF/I_InterfaceStatistics /AIF/I_InterfaceStatistics from
/AIF/I_Interface_Display IFDisp left_outer

Associations (3)

CardinalityTargetAliasCondition
[0..*] /AIF/I_Namespace_T _NSDes $projection.Namespace = _NSDes.ns
[0..1] /AIF/I_Namespace_VH _NSValueHelp $projection.Namespace = _NSValueHelp.ns
[0..*] /AIF/I_Interface_T _IFDes $projection.Namespace = _IFDes.ns and $projection.InterfaceName = _IFDes.ifname and $projection.InterfaceVersion = _IFDes.ifversion

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName /AIF/CIFSTA view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
OData.entitySet.name IFStats view
VDM.viewType #CONSUMPTION view
EndUserText.label Statistics information by per interface view

Fields (16)

KeyFieldSource TableSource FieldDescription
KEY Namespace IFSta ns Namespace
KEY InterfaceName IFSta ifname Interface Name
KEY InterfaceVersion IFSta ifver Interface Version
ifdisplayendasInterfaceKey
IndexTable IFSta idxtbl
NumberAllMessages IFSta count_all
NumberWarningMessages IFSta count_w
NumberErrorMessages IFSta count_e
NumberAbortMessages IFSta count_a
NumberInProcessMessages IFSta count_i
NumberSuccessMessages IFSta count_s
NumberCanceledMessages IFSta count_c
IsTechnicalInterface IFSta is_tech_interface
_NSDes _NSDes
_NSValueHelp _NSValueHelp
_IFDes _IFDes

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 /AIF/C_InterfaceStatistics.
-- 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: /AIF/CIFSTA

CREATE VIEW /AIF/C_InterfaceStatistics AS
SELECT
  IFSta.ns AS Namespace,
  IFSta.ifname AS InterfaceName,
  IFSta.ifver AS InterfaceVersion,
  case when IFDisp.ifdisplay is null then IFSta.ifkey when IFDisp.ifdisplay is initial then IFSta.ifkey else IFDisp.ifdisplay end as InterfaceKey AS ifdisplayendasInterfaceKey,
  IFSta.idxtbl AS IndexTable,
  IFSta.count_all AS NumberAllMessages,
  IFSta.count_w AS NumberWarningMessages,
  IFSta.count_e AS NumberErrorMessages,
  IFSta.count_a AS NumberAbortMessages,
  IFSta.count_i AS NumberInProcessMessages,
  IFSta.count_s AS NumberSuccessMessages,
  IFSta.count_c AS NumberCanceledMessages,
  IFSta.is_tech_interface AS IsTechnicalInterface
FROM /AIF/I_InterfaceStatistics
LEFT OUTER JOIN /AIF/I_Interface_Display AS IFDisp ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN /AIF/I_Namespace_T AS _NSDes ON Namespace = _NSDes.ns  -- association [0..*]
LEFT OUTER JOIN /AIF/I_Namespace_VH AS _NSValueHelp ON Namespace = _NSValueHelp.ns  -- association [0..1]
LEFT OUTER JOIN /AIF/I_Interface_T AS _IFDes ON Namespace = _IFDes.ns AND InterfaceName = _IFDes.ifname AND InterfaceVersion = _IFDes.ifversion  -- association [0..*]
;