Accessible_Views_Comp
User Accessible Views - S_RS_COMP validation
Accessible_Views_Comp is a CDS View that provides data about "User Accessible Views - S_RS_COMP validation" in SAP S/4HANA. It reads from 3 data sources (cdsviewfirstref, ust12, ust12) and exposes 2 fields.
Data Sources (3)
| Source | Alias | Join Type |
|---|---|---|
| cdsviewfirstref | allViews | inner |
| ust12 | compID | inner |
| ust12 | infoCube | inner |
Parameters (1)
| Name | Type | Default |
|---|---|---|
| P_User | syuname |
Annotations (5)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | ACCESSVIEWSCOMP | view | |
| EndUserText.label | User Accessible Views - S_RS_COMP validation | view | |
| ObjectModel.usageType.serviceQuality | #P | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| csqlviewname | cdsviewfirstref | csqlviewname | ||
| sqlviewname | cdsviewfirstref | sqlviewname |
@AbapCatalog.sqlViewName: 'ACCESSVIEWSCOMP'
@EndUserText.label: 'User Accessible Views - S_RS_COMP validation'
@ObjectModel.usageType.serviceQuality: #P
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
define view Accessible_Views_Comp
with parameters P_User: syuname
as select distinct from Auth_Profiles(P_User : $parameters.P_User ) as validRSComp
inner join ust12 as compID
on compID.auth = validRSComp.Authorization_Profile and validRSComp.Authorization_Object = 'S_RS_COMP'
and compID.field = 'RSZCOMPID'
inner join ust12 as infoCube
on infoCube.auth = compID.auth and infoCube.objct = compID.objct and infoCube.field = 'RSINFOCUBE'
inner join cdsviewfirstref as allViews
on ((infoCube.von = '*' or infoCube.von = '2C*' or allViews.creferredobject = infoCube.von)
and (compID.von = '*' or compID.von = '2C*' or compID.von = allViews.csqlviewname)) {
allViews.csqlviewname,
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