SAIS_APP_STAT_GET_ALL
SAIS: Application Start Statistic - Simple
SAIS_APP_STAT_GET_ALL is a CDS View that provides data about "SAIS: Application Start Statistic - Simple" in SAP S/4HANA. It reads from 3 data sources (SUIM_2X_APPL_TYPE, rsau_app_stat, P_UserAddress002) and exposes 9 fields with key field bname. It has 2 associations to related views.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| SUIM_2X_APPL_TYPE | atype_tx | left_outer |
| rsau_app_stat | stat | from |
| P_UserAddress002 | user | left_outer |
Associations (2)
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | SAISAPPSTATALL | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | SAIS: Application Start Statistic - Simple | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | bname | rsau_app_stat | bname | User name |
| tstmp | rsau_app_stat | tstmp | Time Stamp | |
| tstmp_to | rsau_app_stat | tstmp_to | Time Stamp | |
| appl_type | rsau_app_stat | appl_type | System Type | |
| appl_name | rsau_app_stat | appl_name | Application Name | |
| bname_tx | P_UserAddress002 | NAME_TEXTC | Full Name | |
| appl_name_tx | ||||
| appl_type_tx | SUIM_2X_APPL_TYPE | ddtext | Short text | |
| counter | rsau_app_stat | counter | Version |
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 SAIS_APP_STAT_GET_ALL.
-- 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: SAISAPPSTATALL
CREATE VIEW SAIS_APP_STAT_GET_ALL AS
SELECT
stat.bname AS bname,
stat.tstmp AS tstmp,
stat.tstmp_to AS tstmp_to,
stat.appl_type AS appl_type,
stat.appl_name AS appl_name,
user.NAME_TEXTC AS bname_tx,
coalesce( tran_tx.ttext, tran_tx_e.ttext ) AS appl_name_tx,
atype_tx.ddtext AS appl_type_tx,
stat.counter AS counter
FROM rsau_app_stat AS stat
LEFT OUTER JOIN SUIM_2X_APPL_TYPE AS atype_tx ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN P_UserAddress002 AS user ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN tstct AS tran_tx ON tran_tx.tcode = stat.appl_name AND tran_tx.sprsl = $session.system_language -- association [0..1]
LEFT OUTER JOIN tstct AS tran_tx_e ON tran_tx_e.tcode = stat.appl_name AND tran_tx_e.sprsl = 'E' -- association [0..1]
;
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