I_ADM_LOGHIST
swwloghist
I_ADM_LOGHIST is a CDS View that provides data about "swwloghist" in SAP S/4HANA. It reads from 3 data sources (swwfbatext, swwloghist, I_BusinessUserBasic) and exposes 20 fields with key fields WiId, Method, MethEdate, MethEtime, LogCount. It has 1 association to related views. Part of development package SWF_FLEX_ADMIN.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| swwfbatext | meth_text | left_outer |
| swwloghist | swwloghist | from |
| I_BusinessUserBasic | User | left_outer |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ADM_LOGHIST | _parent | _parent.entry_node_id = $projection.entry_parent_id |
Annotations (4)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | IADMLOGHIST | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| EndUserText.label | swwloghist | view |
Fields (20)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | WiId | swwloghist | wi_id | WorkItem ID |
| KEY | Method | swwloghist | method | Validation Method |
| KEY | MethEdate | swwloghist | meth_edate | Action end date |
| KEY | MethEtime | swwloghist | meth_etime | Action end time |
| KEY | LogCount | swwloghist | log_count | Log counter |
| PersonFullNameendasAgent | ||||
| chi_logkey | ||||
| par_logkey | ||||
| workarea | swwloghist | workarea | Work Area | |
| message | swwloghist | message | User Message | |
| variable1 | swwloghist | variable1 | Message Variable | |
| variable2 | swwloghist | variable2 | Message Variable | |
| variable3 | swwloghist | variable3 | Message Variable | |
| variable4 | swwloghist | variable4 | Message Variable | |
| clientNULLasmeth_edate_time | ||||
| log_count | swwloghist | log_count | Log counter | |
| meth_user | swwloghist | meth_user | Agent | |
| msgtype | swwloghist | msgtype | Message Type | |
| fb_text | swwfbatext | fb_text | Description | |
| _parent | _parent |
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_ADM_LOGHIST.
-- 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: IADMLOGHIST
CREATE VIEW I_ADM_LOGHIST AS
SELECT
swwloghist.wi_id AS WiId,
swwloghist.method AS Method,
swwloghist.meth_edate AS MethEdate,
swwloghist.meth_etime AS MethEtime,
swwloghist.log_count AS LogCount,
case when User.PersonFullName is null or User.PersonFullName is initial then swwloghist.meth_user else User.PersonFullName end as Agent AS PersonFullNameendasAgent,
bintohex(swwloghist.chi_logkey) AS chi_logkey,
bintohex(swwloghist.par_logkey) AS par_logkey,
swwloghist.workarea AS workarea,
swwloghist.message AS message,
swwloghist.variable1 AS variable1,
swwloghist.variable2 AS variable2,
swwloghist.variable3 AS variable3,
swwloghist.variable4 AS variable4,
DATS_TIMS_TO_TSTMP(swwloghist.meth_edate,swwloghist.meth_etime, abap_system_timezone($session.client, 'NULL'), $session.client, 'NULL') as meth_edate_time AS clientNULLasmeth_edate_time,
swwloghist.log_count AS log_count,
swwloghist.meth_user AS meth_user,
swwloghist.msgtype AS msgtype,
meth_text.fb_text AS fb_text
FROM swwloghist
LEFT OUTER JOIN swwfbatext AS meth_text ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_BusinessUserBasic AS User ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ADM_LOGHIST AS _parent ON _parent.entry_node_id = entry_parent_id -- 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