I_LogAccMContext
Access Control Context
I_LogAccMContext is a Basic CDS View that provides data about "Access Control Context" in SAP S/4HANA. It reads from 1 data source (hrp7600) and exposes 16 fields with key field LogAccMContextInternalId. It has 7 associations to related views. Part of development package VDM_PLMB_ACM.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| hrp7600 | hrp7600 | from |
Associations (7)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_LogAccMContextText | _LogAccMContextText | $projection.LogAccMContextInternalId = _LogAccMContextText.LogAccMContextInternalId |
| [0..1] | I_User | _CreatedByUser | $projection.CreatedByUser = _CreatedByUser.UserID |
| [0..1] | I_User | _LastChangedByUser | $projection.LastChangedByUser = _LastChangedByUser.UserID |
| [0..*] | I_LogAccMSecureIDRepository | _LogAccMSecureIDRepository | $projection.LogAccMContextInternalId = _LogAccMSecureIDRepository.LogAccMSecureIDOwnerID |
| [0..1] | I_LogAccMObjectTypeActive | _LogAccMObjectTypeActive | _LogAccMObjectTypeActive.LogAccMObjectType = 'PLM_ACC' |
| [0..*] | I_LogAccMObjSecureIDAssgmt | _LogAccMObjSecureIDAssgmt | $projection.LogAccMContextInternalId = _LogAccMObjSecureIDAssgmt.LogAccMObjectID and _LogAccMObjSecureIDAssgmt.LogAccMObjectType = 'PLM_ACC' |
| [0..*] | I_LogAccMObjectUserAuthzn | _LogAccMObjectUserAuthzn | $projection.LogAccMContextInternalId = _LogAccMObjectUserAuthzn.LogAccMObjectID and _LogAccMObjectUserAuthzn.LogAccMObjectType = 'PLM_ACC' and _LogAccMObjectUserAuthzn.LogAccMUserAuthznObject = 'PLM_ACC' and ( _LogAccMObjectUserAuthzn.LogAccMUserAuthznFrom = '03' or _LogAccMObjectUserAuthzn.LogAccMUserAuthznFrom = '*' ) and _LogAccMObjectUserAuthzn.LogAccMUserAuthznField = 'ACTVT' and ( _LogAccMObjectUserAuthzn.LogAccMUserEntityID = $session.user or _LogAccMObjectUserAuthzn.UserID = $session.user ) |
Annotations (12)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ILOGACCMCONTEXT | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AbapCatalog.preserveKey | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| ObjectModel.representativeKey | LogAccMContextInternalId | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.dataClass | #MASTER | view | |
| VDM.lifecycle.contract.type | #PUBLIC_LOCAL_API | view | |
| VDM.viewType | #BASIC | view | |
| EndUserText.label | Access Control Context | view |
Fields (16)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | LogAccMContextInternalId | objid | Work Center | |
| LogAccMContext | context_id_ext | Context | ||
| LogAccMContextType | context_type | Context Type | ||
| LogAccMContextIsActivated | is_active | Truth Value | ||
| LogAccMContextIsDeleted | is_deleted | Truth Value | ||
| CreationDateTime | create_datetime | Created On / At | ||
| CreatedByUser | create_user_id | Created By | ||
| LastChangeDateTime | change_datetime | RuleLogicChangeDT | ||
| LastChangedByUser | change_user_id | Changed By | ||
| _LogAccMContextText | _LogAccMContextText | |||
| _LogAccMSecureIDRepository | _LogAccMSecureIDRepository | |||
| _CreatedByUser | _CreatedByUser | |||
| _LastChangedByUser | _LastChangedByUser | |||
| _LogAccMObjectTypeActive | _LogAccMObjectTypeActive | |||
| _LogAccMObjectUserAuthzn | _LogAccMObjectUserAuthzn | |||
| _LogAccMObjSecureIDAssgmt | _LogAccMObjSecureIDAssgmt |
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_LogAccMContext.
-- 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: ILOGACCMCONTEXT
CREATE VIEW I_LogAccMContext AS
SELECT
objid AS LogAccMContextInternalId,
context_id_ext AS LogAccMContext,
context_type AS LogAccMContextType,
is_active AS LogAccMContextIsActivated,
is_deleted AS LogAccMContextIsDeleted,
create_datetime AS CreationDateTime,
create_user_id AS CreatedByUser,
change_datetime AS LastChangeDateTime,
change_user_id AS LastChangedByUser
FROM hrp7600
LEFT OUTER JOIN I_LogAccMContextText AS _LogAccMContextText ON LogAccMContextInternalId = _LogAccMContextText.LogAccMContextInternalId -- association [0..*]
LEFT OUTER JOIN I_User AS _CreatedByUser ON CreatedByUser = _CreatedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_User AS _LastChangedByUser ON LastChangedByUser = _LastChangedByUser.UserID -- association [0..1]
LEFT OUTER JOIN I_LogAccMSecureIDRepository AS _LogAccMSecureIDRepository ON LogAccMContextInternalId = _LogAccMSecureIDRepository.LogAccMSecureIDOwnerID -- association [0..*]
LEFT OUTER JOIN I_LogAccMObjectTypeActive AS _LogAccMObjectTypeActive ON _LogAccMObjectTypeActive.LogAccMObjectType = 'PLM_ACC' -- association [0..1]
LEFT OUTER JOIN I_LogAccMObjSecureIDAssgmt AS _LogAccMObjSecureIDAssgmt ON LogAccMContextInternalId = _LogAccMObjSecureIDAssgmt.LogAccMObjectID AND _LogAccMObjSecureIDAssgmt.LogAccMObjectType = 'PLM_ACC' -- association [0..*]
LEFT OUTER JOIN I_LogAccMObjectUserAuthzn AS _LogAccMObjectUserAuthzn ON LogAccMContextInternalId = _LogAccMObjectUserAuthzn.LogAccMObjectID AND _LogAccMObjectUserAuthzn.LogAccMObjectType = 'PLM_ACC' AND _LogAccMObjectUserAuthzn.LogAccMUserAuthznObject = 'PLM_ACC' AND ( _LogAccMObjectUserAuthzn.LogAccMUserAuthznFrom = '03' OR _LogAccMObjectUserAuthzn.LogAccMUserAuthznFrom = '*' ) AND _LogAccMObjectUserAuthzn.LogAccMUserAuthznField = 'ACTVT' AND ( _LogAccMObjectUserAuthzn.LogAccMUserEntityID = $session.user OR _LogAccMObjectUserAuthzn.UserID = $session.user ) -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- 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