Accessible_Views
Accessible views(START auth checked)
Accessible_Views is a CDS View that provides data about "Accessible views(START auth checked)" in SAP S/4HANA. It reads from 5 data sources (Accessible_Views_Comp, CDS_VIEW_FIRST_REFERENCE, ust12, ust12, ust12) and exposes 1 field. Part of development package S_DICT_VB.
Data Sources (5)
| Source | Alias | Join Type |
|---|---|---|
| Accessible_Views_Comp | Accessible_Views_Comp | inner |
| CDS_VIEW_FIRST_REFERENCE | allViews | inner |
| ust12 | compID | inner |
| ust12 | ddlname | inner |
| ust12 | ddlscrname | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_User | syuname |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ACCESSIBLEVIEWS | view | |
| EndUserText.label | Accessible views(START auth checked) | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| SqlViewName |
@AbapCatalog.sqlViewName: 'ACCESSIBLEVIEWS'
@EndUserText.label: 'Accessible views(START auth checked)'
@ObjectModel.usageType.serviceQuality: #P
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view Accessible_Views
with parameters P_User: syuname
as select distinct from Auth_Profiles(P_User : $parameters.P_User ) as validRSComp1
inner join ust12 as compID
on compID.auth = validRSComp1.Authorization_Profile and validRSComp1.Authorization_Object = 'S_RS_COMP1'
and compID.field = 'RSZCOMPID'
inner join Accessible_Views_Comp( P_User:$parameters.P_User ) as allViews
on ((compID.von = '*' or compID.von = '2C*' or compID.von = allViews.csqlviewname)) {
allViews.sqlviewname
}
union
select distinct from Auth_Profiles(P_User : $parameters.P_User ) as validRSComp
inner join ust12 as ddlname
on ddlname.auth = validRSComp.Authorization_Profile and validRSComp.Authorization_Object = 'SDDLVIEW'
and ddlname.field = 'DDLNAME'
inner join ust12 as ddlscrname
on ddlscrname.auth = ddlname.auth and ddlscrname.objct = ddlname.objct and ddlscrname.field = 'DDLSRCNAME'
inner join CDS_VIEW_FIRST_REFERENCE as allViews
on (allViews.ReferredObjectDDLSourceName = ddlscrname.von and allViews.ObjectDDLSourceName = ddlname.von) {
allViews.SqlViewName
}
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