C_SubstnCtrlAssgmtByAccUUID
Substituion Control used by Accesses
C_SubstnCtrlAssgmtByAccUUID is a Consumption CDS View that provides data about "Substituion Control used by Accesses" in SAP S/4HANA. It reads from 1 data source (R_SubstnCtrlAssgmtByAccUUID) and exposes 17 fields with key fields MDSubstnObjectType, MDSubstnControl, ObjValDetnAccessUUID. It has 3 associations to related views. It is exposed through 2 OData services (UI_LOCSUBSTN_CTRL_MANAGE, UI_PRODSUBSTN_CTRL_MANAGE). It is used in 2 Fiori applications: Manage Substitution Controls - Products, Manage Substitution Controls - Locations.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| R_SubstnCtrlAssgmtByAccUUID | R_SubstnCtrlAssgmtByAccUUID | from |
Associations (3)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_ObjValDetnAccess | _Access | $projection.ObjValDetnAccessUUID = _Access.ObjValDetnAccessUUID |
| [1..1] | I_SAPObjectType | _MDObjectType | $projection.MDSubstnObjectType = _MDObjectType.SAPObjectType |
| [1..1] | I_MDSubstnCtrl | _SubstnCtrl | $projection.MDSubstnObjectType = _SubstnCtrl.MDSubstnObjectType and $projection.MDSubstnControl = _SubstnCtrl.MDSubstnControl |
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | Substituion Control used by Accesses | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| VDM.viewType | #CONSUMPTION | view |
OData Services (2)
| Service | Binding | Version | Contract | Release |
|---|---|---|---|---|
| UI_LOCSUBSTN_CTRL_MANAGE | UI_LOCSUBSTN_CTRL_MANAGE | V2 | C1 | NOT_RELEASED |
| UI_PRODSUBSTN_CTRL_MANAGE | UI_PRODSUBSTN_CTRL_MANAGE | V2 | C1 | NOT_RELEASED |
Fiori Apps (2)
| App ID | App Name | Type | Description |
|---|---|---|---|
| F4787 | Manage Substitution Controls - Products | Transactional | An application to maintain configuration data for product substitution or exclusion where the user can manage substitution controls |
| F5312 | Manage Substitution Controls - Locations | Transactional | Manage Substitution Controls for Locations |
Manage Substitution Controls - Products
Business Role: Master Data Specialist - Product Data
A control is used to consume one or more predefined groups of substitutions. With this app, you can create and manage controls. By assigning substitution groups to controls, consuming applications can manage substitution groups. You can assign only active and inactive groups to a control. A control can be deleted even if groups are assigned to it. You can use this app if the business role Master Data Specialist – Product Data (R0097-13) is assigned to you.
Key Features: You can use this app to: Create, edit, and delete a control. Create multiple language-specific descriptions for a control. Assign and unassign groups to controls.
Manage Substitution Controls - Locations
Business Role: Order Fulfillment Manager
A control is used to consume one or more predefined groups of substitutions. With this app, you can create and manage controls. By assigning substitution groups to controls, consuming applications can manage substitution groups. You can assign only active and inactive groups to a control. A control can be deleted even if groups are assigned to it. You can use this app if the business role Order Fulfilment Manager (R0226) is assigned to you.
Key Features: You can use this app to: Create, edit, and delete a control. Create multiple language-specific descriptions for a control. Assign and unassign groups to controls. Choose whether you want the system to consider the substitutions and exclusions in the default group.
Fields (17)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | MDSubstnObjectType | MDSubstnObjectType | ||
| KEY | MDSubstnControl | MDSubstnControl | ||
| KEY | ObjValDetnAccessUUID | ObjValDetnAccessUUID | Access UUID | |
| ObjValDetnCharcCombination | ||||
| ObjValDetnCharcCombinationDesc | ||||
| ObjValDetnAccessSequenceValue | _Access | ObjValDetnAccessSequenceValue | ||
| ObjValDetnUsage | _Access | ObjValDetnUsage | Usage | |
| ObjValDetnUsageType | _Access | ObjValDetnUsageType | ||
| ObjValDetnActivationStatus | _Access | ObjValDetnActivationStatus | Status | |
| ObjValDetnActivationStatusDesc | ||||
| NumberOfRelatedSubstnControls | NumberOfRelatedSubstnControls | |||
| _SubstnCtrl | _SubstnCtrl | |||
| _MDObjectType | _MDObjectType | |||
| _Access | _Access | |||
| _Usage | _Access | _Usage | ||
| _UsageType | _Access | _UsageType | ||
| _Status | _Access | _Status |
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 C_SubstnCtrlAssgmtByAccUUID.
-- 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 C_SubstnCtrlAssgmtByAccUUID AS
SELECT
MDSubstnObjectType,
MDSubstnControl,
ObjValDetnAccessUUID,
_Access._Combination.ObjValDetnCharcCombination AS ObjValDetnCharcCombination,
_Access._Combination._Text[1: Language=$session.system_language].ObjValDetnCharcCombinationDesc AS ObjValDetnCharcCombinationDesc,
_Access.ObjValDetnAccessSequenceValue AS ObjValDetnAccessSequenceValue,
_Access.ObjValDetnUsage AS ObjValDetnUsage,
_Access.ObjValDetnUsageType AS ObjValDetnUsageType,
_Access.ObjValDetnActivationStatus AS ObjValDetnActivationStatus,
_Access._Status._Text[1: Language=$session.system_language].ObjValDetnActivationStatusDesc AS ObjValDetnActivationStatusDesc,
NumberOfRelatedSubstnControls,
_Access._Usage AS _Usage,
_Access._UsageType AS _UsageType,
_Access._Status AS _Status
FROM R_SubstnCtrlAssgmtByAccUUID
LEFT OUTER JOIN I_ObjValDetnAccess AS _Access ON ObjValDetnAccessUUID = _Access.ObjValDetnAccessUUID -- association [1..1]
LEFT OUTER JOIN I_SAPObjectType AS _MDObjectType ON MDSubstnObjectType = _MDObjectType.SAPObjectType -- association [1..1]
LEFT OUTER JOIN I_MDSubstnCtrl AS _SubstnCtrl ON MDSubstnObjectType = _SubstnCtrl.MDSubstnObjectType AND MDSubstnControl = _SubstnCtrl.MDSubstnControl -- association [1..1]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- OData Services in SAP S/4HANA Explained
- Service Bindings and Service Definitions in SAP S/4HANA
- SAP Fiori Apps Architecture — How Fiori Apps Connect to Data
- 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