/AIF/C_InterfaceStatistics
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)
| Source | Alias | Join Type |
|---|---|---|
| /AIF/I_InterfaceStatistics | /AIF/I_InterfaceStatistics | from |
| /AIF/I_Interface_Display | IFDisp | left_outer |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [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)
| Name | Value | Level | Field |
|---|---|---|---|
| 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)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| 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..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA