I_RetailStoreUserAssignment

DDL: I_RETAILSTOREUSERASSIGNMENT SQL: IRTSTASSGNDSTORE Type: view BASIC

User-Assigned Store in Retail Store Apps

I_RetailStoreUserAssignment is a Basic CDS View that provides data about "User-Assigned Store in Retail Store Apps" in SAP S/4HANA. It reads from 1 data source (P_RetailStoreUserAssignment) and exposes 3 fields with key fields Store, AssignedUser.

SAP Help Documentation

CategoryIn-Store Inventory Management
Purpose
This CDS view helps to retrieve information of all store associates (employees) assigned to a retail store. This CDS view provides the data to answer the following business questions: Could you provide the list of store associates assigned to store <storeID>? To help you decide which CDS view to use for your purposes, SAP has introduced the annotation ObjectModel.supportedCapabilities that indicates the most appropriate use cases for each CDS view. To find out what use cases are best supported by this CDS view, access the entry of the CDS view in the View Browser app and find the values for this annotation under the Annotation tab. For more information, see Supported Capabilities for CDS Views .

Prerequisites
Authorizations Users who want to use this CDS view don't need any special authorization.

Structure
Important Fields Important fields in this view include the following: Field Name Description Mandatory/Optional Store Retail Store Mandatory AssignedUser User ID Mandatory

View on SAP Help Portal →

Data Sources (1)

SourceAliasJoin Type
P_RetailStoreUserAssignment P_RetailStoreUserAssignment from

Annotations (12)

NameValueLevelField
AbapCatalog.sqlViewName IRTSTASSGNDSTORE view
EndUserText.label User-Assigned Store in Retail Store Apps view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
ObjectModel.representativeKey Store view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (3)

KeyFieldSource TableSource FieldDescription
KEY Store Store Plant
KEY AssignedUser AssignedUser
_Store _Store

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_RetailStoreUserAssignment.
-- 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: IRTSTASSGNDSTORE

CREATE VIEW I_RetailStoreUserAssignment AS
SELECT
  Store,
  AssignedUser
FROM P_RetailStoreUserAssignment
;