P_StorePickingReqAuthzdUser
Authrized users for picking app
P_StorePickingReqAuthzdUser is a Composite CDS View that provides data about "Authrized users for picking app" in SAP S/4HANA. It reads from 3 data sources (P_StorePickingReqAuthzdUserAll, I_Site, I_User) and exposes 2 fields with key fields Store, UserID. Part of development package RFM_STORE_PICK_PRODUCTS.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| P_StorePickingReqAuthzdUserAll | _Auth | inner |
| I_Site | I_Site | inner |
| I_User | I_User | inner |
Annotations (8)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PSTRASSAUTHUSR | 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 | #COMPOSITE | view | |
| VDM.private | true | view |
@AbapCatalog.sqlViewName: 'PSTRASSAUTHUSR'
@AbapCatalog.preserveKey: true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AccessControl.personalData.blocking: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #COMPOSITE
@VDM.private: true
define view P_StorePickingReqAuthzdUser
as select distinct from P_StorePickingReqAuthzdUserAll as auth
inner join P_StorePickingReqAuthzdUserAll as _Auth
on _Auth.bname = auth.bname
and _Auth.object = 'W_ST_PKRQ'
and _Auth.field = 'ACTVT'
and ( _Auth.low = '03'
or _Auth.low = '02'
or _Auth.low = '*')
inner join I_User on auth.bname = I_User.UserID
inner join I_Site on auth.low = I_Site.Site
or auth.low = '*'
or (
auth.low <= I_Site.Site
and auth.high >= I_Site.Site
)
{
key I_Site.Site as Store,
key auth.bname as UserID
}
where
auth.object = 'W_ST_PKRQ'
and auth.field = 'WERKS'
// and I_User.IsTechnicalUser = ' '
and I_Site.SiteCategory = 'A'
Learn More
- What Is a CDS View in SAP S/4HANA?
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- CDS View Annotations — A Complete Guide
- 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