APS_SEC_MTS_TRUST_CDOC_GEN
CSP Trust Change Logs
APS_SEC_MTS_TRUST_CDOC_GEN is a CDS View that provides data about "CSP Trust Change Logs" in SAP S/4HANA. It reads from 3 data sources (t100, t100, http_log_trusts) and exposes 9 fields with key field SortKey. It has 1 association to related views. Part of development package SR_APS_SEC_MTS_ODATA.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| t100 | _Text_Created | left_outer |
| t100 | _Text_Deleted | left_outer |
| http_log_trusts | cdoc | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | aps_user_ddl | _user | cdoc.username = _user.UserID |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | CSP Trust Change Logs | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| ObjectModel.usageType.serviceQuality | #X | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (9)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | SortKey | http_log_trusts | sort_key | |
| Namespace | http_log_trusts | namespace | ||
| TrustedSiteList | http_log_trusts | trusted_site_list | ||
| Content | http_log_trusts | content | ||
| Action | http_log_trusts | action | ||
| ChangedBy | http_log_trusts | username | ||
| ChangedAt | http_log_trusts | time | ||
| textelseendasActionText | ||||
| ChangedByName | _user | UserDescription |
@AbapCatalog.viewEnhancementCategory: [#NONE]
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'CSP Trust Change Logs'
@Metadata.ignorePropagatedAnnotations: true
@ObjectModel.usageType:{
serviceQuality: #X,
sizeCategory: #M,
dataClass: #MIXED
}
define view entity APS_SEC_MTS_TRUST_CDOC_GEN
as select from http_log_trusts as cdoc
left outer join t100 as _Text_Created on _Text_Created.sprsl = $session.system_language
and _Text_Created.arbgb = 'CM_APS_SEC_MTS_CDS'
and _Text_Created.msgnr = '000'
left outer join t100 as _Text_Deleted on _Text_Deleted.sprsl = $session.system_language
and _Text_Deleted.arbgb = 'CM_APS_SEC_MTS_CDS'
and _Text_Deleted.msgnr = '001'
association [0..1] to aps_user_ddl as _user on cdoc.username = _user.UserID
{
key cdoc.sort_key as SortKey,
cdoc.namespace as Namespace,
cdoc.trusted_site_list as TrustedSiteList,
cdoc.content as Content,
cdoc.action as Action,
cdoc.username as ChangedBy,
cdoc.time as ChangedAt,
case $projection.Action
when 'A' then _Text_Created.text
when 'D' then _Text_Deleted.text
else ''
end as ActionText,
_user.UserDescription as ChangedByName
}
where
cdoc.namespace = 'C'
Learn More
- 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 Annotations — A Complete Guide
- 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