P_RSAU_LOG_TCD
Read RSAU_LOG with Meta Data for AU3/AU4
P_RSAU_LOG_TCD is a CDS View that provides data about "Read RSAU_LOG with Meta Data for AU3/AU4" in SAP S/4HANA. It reads from 3 data sources (CDS_GET_RSAU_LOG, I_RSAU_META_DATA, I_RSAU_UGROUP) and exposes 34 fields with key fields log_tstmp, msg, slgproc, slgmand, sid.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| CDS_GET_RSAU_LOG | _log | from |
| I_RSAU_META_DATA | _meta | left_outer |
| I_RSAU_UGROUP | _usr | left_outer |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PRSAULOG_TCD | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Read RSAU_LOG with Meta Data for AU3/AU4 | view |
Fields (34)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | log_tstmp | CDS_GET_RSAU_LOG | log_tstmp | Time Stamp |
| KEY | msg | CDS_GET_RSAU_LOG | event | Time |
| KEY | slgproc | CDS_GET_RSAU_LOG | slgproc | Process |
| KEY | slgmand | CDS_GET_RSAU_LOG | slgmand | Client |
| KEY | sid | CDS_GET_RSAU_LOG | sid | SID |
| KEY | instance | CDS_GET_RSAU_LOG | instance | TaskCount |
| KEY | counter | CDS_GET_RSAU_LOG | counter | Version |
| tasktype | ||||
| taskno | ||||
| slgltrm2 | CDS_GET_RSAU_LOG | slgltrm2 | Terminal | |
| slguser | CDS_GET_RSAU_LOG | slguser | User | |
| useralias | I_RSAU_UGROUP | useralias | Alias | |
| smtp_addr | I_RSAU_UGROUP | smtp_addr | E-Mail Address | |
| class | I_RSAU_UGROUP | class | User Group | |
| class_shtxt | I_RSAU_UGROUP | text | User Group | |
| slgtc | CDS_GET_RSAU_LOG | slgtc | Transaction Code | |
| slgrepna | CDS_GET_RSAU_LOG | slgrepna | Program | |
| term_ipv6 | CDS_GET_RSAU_LOG | term_ipv6 | Peer Address | |
| sal_data | CDS_GET_RSAU_LOG | sal_data | Variable Data | |
| epp | CDS_GET_RSAU_LOG | suid_globaluid | EPP ID | |
| mfd_flag | CDS_GET_RSAU_LOG | mfd_flag | Deletion Flag | |
| alert_flag | CDS_GET_RSAU_LOG | alert_flag | Alert ID | |
| area | I_RSAU_META_DATA | area | Settings Area | |
| subid | I_RSAU_META_DATA | subid | Topic ID | |
| subclasid | I_RSAU_META_DATA | subclasid | Subgroup | |
| txsubclsid | I_RSAU_META_DATA | txsubclsid | ||
| severity | I_RSAU_META_DATA | severity | Thresh.Val. Severity | |
| severity_s | I_RSAU_META_DATA | severity_s | ||
| txseverity | I_RSAU_META_DATA | txseverity | ||
| txt | I_RSAU_META_DATA | txt | Version Dscrptn | |
| var_set_1 | I_RSAU_META_DATA | var_set_1 | ||
| slgdattim | ||||
| sal_date | ||||
| sal_time |
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_RSAU_LOG_TCD.
-- 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: PRSAULOG_TCD
CREATE VIEW P_RSAU_LOG_TCD AS
SELECT
_log.log_tstmp AS log_tstmp,
_log.event AS msg,
_log.slgproc AS slgproc,
_log.slgmand AS slgmand,
_log.sid AS sid,
_log.instance AS instance,
_log.counter AS counter,
substring( _log.slgproc, 11, 2 ) AS tasktype,
substring( _log.slgproc, 8, 3 ) AS taskno,
_log.slgltrm2 AS slgltrm2,
_log.slguser AS slguser,
_usr.useralias AS useralias,
_usr.smtp_addr AS smtp_addr,
_usr.class AS class,
_usr.text AS class_shtxt,
_log.slgtc AS slgtc,
_log.slgrepna AS slgrepna,
_log.term_ipv6 AS term_ipv6,
_log.sal_data AS sal_data,
_log.suid_globaluid AS epp,
_log.mfd_flag AS mfd_flag,
_log.alert_flag AS alert_flag,
_meta.area AS area,
_meta.subid AS subid,
_meta.subclasid AS subclasid,
_meta.txsubclsid AS txsubclsid,
_meta.severity AS severity,
_meta.severity_s AS severity_s,
_meta.txseverity AS txseverity,
_meta.txt AS txt,
_meta.var_set_1 AS var_set_1,
substring ( cast( floor( _log.log_tstmp) as char30 ) , 1, 14) AS slgdattim,
tstmp_to_dats( _log.log_tstmp , abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) AS sal_date,
tstmp_to_tims( _log.log_tstmp, abap_system_timezone( $session.client,'NULL' ), $session.client, 'NULL' ) AS sal_time
FROM CDS_GET_RSAU_LOG AS _log
LEFT OUTER JOIN I_RSAU_META_DATA AS _meta ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_RSAU_UGROUP AS _usr ON /* join condition not captured in parsed metadata */
;
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