I_ChangeRecordStatusAccess
Accessability of CR Based on the Status
I_ChangeRecordStatusAccess is a Basic CDS View that provides data about "Accessability of CR Based on the Status" in SAP S/4HANA. It reads from 2 data sources (plm_stprf_actn, plm_stprf_cond) and exposes 7 fields with key fields ChangeRecordType, ChangeRecordStatus, ChangeRecordStatusNext. It has 1 association to related views. Part of development package PLM_SAM.
Data Sources (2)
| Source | Alias | Join Type |
|---|---|---|
| plm_stprf_actn | StatusAction | inner |
| plm_stprf_cond | StatusActionCondition | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..*] | I_ChangeRecordType_2 | ChangeRecordType | StatusActionCondition.status_profile = ChangeRecordType.ChangeRecordUserStatusProfile or StatusActionCondition.status_profile = ChangeRecordType.ChangeRecdLifeCycleStsProfile |
Annotations (7)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #MANDATORY | view | |
| VDM.viewType | #BASIC | view | |
| Metadata.ignorePropagatedAnnotations | true | view | |
| EndUserText.label | Accessability of CR Based on the Status | view | |
| ObjectModel.usageType.serviceQuality | #B | view | |
| ObjectModel.usageType.dataClass | #CUSTOMIZING | view | |
| ObjectModel.usageType.sizeCategory | #S | view |
Fields (7)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | ChangeRecordType | ChangeRecordType | ChangeRecordType | Record Type |
| KEY | ChangeRecordStatus | plm_stprf_cond | status | Workflow Status |
| KEY | ChangeRecordStatusNext | plm_stprf_actn | next_status | Status |
| ChangeRecordActionBehavior | plm_stprf_actn | action_behavior | ||
| ChangeRecordStatusAction | plm_stprf_cond | action | User action | |
| ChangeRecordStatusProfile | plm_stprf_cond | status_profile | User Status Profile | |
| ChangeRecordStatusField2 | plm_stprf_cond | status_field | UsrStatusField |
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_ChangeRecordStatusAccess.
-- 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.
CREATE VIEW I_ChangeRecordStatusAccess AS
SELECT
ChangeRecordType.ChangeRecordType AS ChangeRecordType,
StatusActionCondition.status AS ChangeRecordStatus,
StatusAction.next_status AS ChangeRecordStatusNext,
StatusAction.action_behavior AS ChangeRecordActionBehavior,
StatusActionCondition.action AS ChangeRecordStatusAction,
StatusActionCondition.status_profile AS ChangeRecordStatusProfile,
StatusActionCondition.status_field AS ChangeRecordStatusField2
FROM plm_stprf_cond AS StatusActionCondition
INNER JOIN plm_stprf_actn AS StatusAction ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN I_ChangeRecordType_2 AS ChangeRecordType ON StatusActionCondition.status_profile = ChangeRecordType.ChangeRecordUserStatusProfile OR StatusActionCondition.status_profile = ChangeRecordType.ChangeRecdLifeCycleStsProfile -- 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