C_AURSStore

DDL: C_AURSSTORE Type: view_entity CONSUMPTION Package: RFM_STORE_ASSIGN_USER

Store

C_AURSStore is a Consumption CDS View that provides data about "Store" in SAP S/4HANA. It reads from 1 data source (I_Site) and exposes 12 fields with key field Store. It has 4 associations to related views. It is exposed through 2 OData services (ASQL_F8523, UI_RFM_STORE_ASSIGNUSER). It is used in 2 Fiori applications: My Store Assignment, Assign Associates to Store. Part of development package RFM_STORE_ASSIGN_USER.

Data Sources (1)

SourceAliasJoin Type
I_Site I_Site from

Associations (4)

CardinalityTargetAliasCondition
[0..1] I_RetailStoreUserAssignment _RetailStoreUserAssignment _RetailStoreUserAssignment.Store = $projection.Store and _RetailStoreUserAssignment.AssignedUser = $session.user
[0..*] I_RetailStoreApplicationStore _RetailStoreApplicationStore _RetailStoreApplicationStore.Store = $projection.Store and _RetailStoreApplicationStore.RetailStoreApplicationCategory = '2'
[0..*] C_AURSStoreUser _AssignedUser
[0..*] C_AURSAssignableUser _AssignableUser

Annotations (9)

NameValueLevelField
EndUserText.label Store view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #NOT_REQUIRED view
VDM.viewType #CONSUMPTION view
Metadata.allowExtensions true view
ObjectModel.representativeKey Store view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #M view
ObjectModel.usageType.dataClass #MASTER view

OData Services (2)

ServiceBindingVersionContractRelease
ASQL_F8523 ASQL_F8523 C2 NOT_RELEASED
UI_RFM_STORE_ASSIGNUSER UI_RFM_STORE_ASSIGNUSER V2 C1 NOT_RELEASED

Fiori Apps (2)

App IDApp NameTypeDescription
F4334 My Store Assignment Transactional With this app, you can work in different stores and with various SAP Fiori apps for in-store merchandise and inventory management frequently as a store associate. For example, store associate can view all store assignments and can assign oneself to work with the apps in a specific store.
F8523 Assign Associates to Store Transactional With this app, you can work in different stores and with various SAP Fiori apps for in-store merchandise and inventory management frequently as store manager or associate. For example, store manager can view all store assignments and can assign store associates to work with the apps in a specific store.

My Store Assignment

Business Role: Retail Store Associate

With this app you can assign your own user and other users to stores. You can also display the store assignments of all users.

Assign Associates to Store

Business Role: Retail Store Manager

With this app, as a store manager, you can view available users, their store assignments, and reassign them to different stores. For example, store managers can review all store assignments and grant store associates access to apps for specific stores.

Key Features: Assign users to stores to access all the retail in-store merchandise and inventory management apps. Assign multiple store associates to a store simultaneously. View the store assignments for all store associates.

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY Store Plant
StoreName
AddressID AddressID Ship-to address
FormattedAddress
UserHasStoreUserAssignAuthzn
UserHasStoreUserUnassignAuthzn
PostalCode _Address PostalCode Postal Code
CityName _Address CityName Name
StreetName _Address StreetName Text
_RetailStoreApplicationStore _RetailStoreApplicationStore
_AssignedUser _AssignedUser
_AssignableUser _AssignableUser

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_AURSStore.
-- 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_AURSStore AS
SELECT
  cast(Site as store preserving type) AS Store,
  cast(SiteName as storename preserving type) AS StoreName,
  AddressID,
  cast('' as char200) AS FormattedAddress,
  cast('' as boolean) AS UserHasStoreUserAssignAuthzn,
  cast('' as boolean) AS UserHasStoreUserUnassignAuthzn,
  _Address.PostalCode AS PostalCode,
  _Address.CityName AS CityName,
  _Address.StreetName AS StreetName
FROM I_Site
LEFT OUTER JOIN I_RetailStoreUserAssignment AS _RetailStoreUserAssignment ON _RetailStoreUserAssignment.Store = Store AND _RetailStoreUserAssignment.AssignedUser = $session.user  -- association [0..1]
LEFT OUTER JOIN I_RetailStoreApplicationStore AS _RetailStoreApplicationStore ON _RetailStoreApplicationStore.Store = Store AND _RetailStoreApplicationStore.RetailStoreApplicationCategory = '2'  -- association [0..*]
LEFT OUTER JOIN C_AURSStoreUser AS _AssignedUser ON /* condition not available in parsed metadata */  -- association [0..*]
LEFT OUTER JOIN C_AURSAssignableUser AS _AssignableUser ON /* condition not available in parsed metadata */  -- association [0..*]
;