C_CAInvcgClrfctnIsAdmin
Administratorrechte Klärungsfall Fakt.
C_CAInvcgClrfctnIsAdmin is a Consumption CDS View that provides data about "Administratorrechte Klärungsfall Fakt." in SAP S/4HANA. It reads from 1 data source (I_User) and exposes 4 fields with key field CurrentProcessor. It has 1 association to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| I_User | I_User | from |
Associations (1)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [1..1] | I_User | _User | $projection.CurrentProcessor = _User.UserID |
Annotations (10)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | CCAINVCFCISADMIN | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| EndUserText.label | Administratorrechte Klärungsfall Fakt. | view | |
| ClientHandling.algorithm | #SESSION_VARIABLE | view | |
| VDM.viewType | #CONSUMPTION | view | |
| ObjectModel.compositionRoot | true | view | |
| ObjectModel.usageType.serviceQuality | #A | view | |
| ObjectModel.usageType.sizeCategory | #XL | view | |
| ObjectModel.usageType.dataClass | #MIXED | view |
Fields (4)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | CurrentProcessor | |||
| CAClrfctnIsAdmin | ||||
| CAClrfctnApplicationObject | ||||
| _User | _User |
@AbapCatalog.sqlViewName: 'CCAINVCFCISADMIN'
@AbapCatalog.compiler.compareFilter: true
//@AccessControl.authorizationCheck: #PRIVILEGED_ONLY
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Administratorrechte Klärungsfall Fakt.'
@ClientHandling.algorithm: #SESSION_VARIABLE
@VDM.viewType: #CONSUMPTION
@ObjectModel: {
compositionRoot: true,
usageType: { serviceQuality: #A,
sizeCategory: #XL,
dataClass: #MIXED }
}
@AccessControl.privilegedAssociations: [ '_User' ]
// This is only a helper CDS-view to add the fields to the service, where then the permissions are set.
// No permissions are set in this view.
define view C_CAInvcgClrfctnIsAdmin as select from I_User
association [1..1] to I_User as _User on $projection.CurrentProcessor = _User.UserID
{
key $session.user as CurrentProcessor,
@UI.hidden: true
' ' as CAClrfctnIsAdmin,
'FINV' as CAClrfctnApplicationObject, //For authorization check - check if this can be done differently
//expose associations
_User
}where UserID = $session.user
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_USER"
],
"ASSOCIATED":
[
"I_USER"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/
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