I_Aivs_Ai_Report_Type
report types
I_Aivs_Ai_Report_Type is a CDS View that provides data about "report types" in SAP S/4HANA. It reads from 2 data sources (dlv_systc, sadlrepi) and exposes 7 fields with key fields report_id, dlv_unit. It has 4 associations to related views.
Associations (4)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_Aivs_Exposed | _Expos | $projection.report_id = 10 |
| [0..*] | I_Aivs_Ai_Cdsinfo | _Info | _Info.report_id = $projection.report_id and _Info.dlv_unit = $projection.dlv_unit |
| [0..*] | I_Aivs_Ai_Usage | _Usage | _Usage.report_id = $projection.report_id and _Usage.dlv_unit = $projection.dlv_unit |
| [0..*] | I_Aivs_Chart | _Chart | _Chart.report_id = $projection.report_id and _Chart.dlv_unit = $projection.dlv_unit |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | I_AIVS_REP_TYP | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| Metadata.allowExtensions | true | view | |
| EndUserText.label | report types | view | |
| ObjectModel.alternativeKey.id | report_id | view | |
| ObjectModel.alternativeKey.uniqueness | #UNIQUE | view | |
| Search.searchable | true | view |
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_Aivs_Ai_Report_Type.
-- 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: I_AIVS_REP_TYP
CREATE VIEW I_Aivs_Ai_Report_Type AS
SELECT
ReportInfo.report_id AS report_id,
dlv_systc.dlvunit AS dlv_unit,
ReportInfo.report_type AS report_type,
count( distinct _Info.cds_name ) AS Amount
FROM sadlrepi AS ReportInfo
CROSS JOIN dlv_systc
LEFT OUTER JOIN I_Aivs_Exposed AS _Expos ON report_id = 10 -- association [0..*]
LEFT OUTER JOIN I_Aivs_Ai_Cdsinfo AS _Info ON _Info.report_id = report_id AND _Info.dlv_unit = dlv_unit -- association [0..*]
LEFT OUTER JOIN I_Aivs_Ai_Usage AS _Usage ON _Usage.report_id = report_id AND _Usage.dlv_unit = dlv_unit -- association [0..*]
LEFT OUTER JOIN I_Aivs_Chart AS _Chart ON _Chart.report_id = report_id AND _Chart.dlv_unit = dlv_unit -- association [0..*]
;
Learn More
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- 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