P_RetailStoreAssignableUser

DDL: P_RETAILSTOREASSIGNABLEUSER SQL: PRTSTASSGBLUSER Type: view BASIC

P_RetailStoreAssignableUser is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (I_Site, I_User) and exposes 2 fields with key fields Store, UserID.

Data Sources (2)

SourceAliasJoin Type
I_Site I_Site inner
I_User I_User inner

Annotations (8)

NameValueLevelField
AbapCatalog.sqlViewName PRTSTASSGBLUSER view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #PRIVILEGED_ONLY view
AccessControl.personalData.blocking #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
VDM.viewType #BASIC view
VDM.private true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY Store I_Site Site Plant
KEY UserID bname User name

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 P_RetailStoreAssignableUser.
-- 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: PRTSTASSGBLUSER

CREATE VIEW P_RetailStoreAssignableUser AS
SELECT
  I_Site.Site AS Store,
  bname AS UserID
INNER JOIN I_User ON /* join condition not captured in parsed metadata */
INNER JOIN I_Site ON /* join condition not captured in parsed metadata */
;