P_Usersetgetparamforctrlgarea
P_Usersetgetparamforctrlgarea is a Basic CDS View in SAP S/4HANA. It reads from 2 data sources (I_User, usr05) and exposes 2 fields with key field BusinessUser.
Annotations (6)
| Name | Value | Level | Field |
|---|---|---|---|
| AbapCatalog.sqlViewName | PFIUSRPARMCTRLGA | view | |
| ClientDependent | true | view | |
| VDM.viewType | #BASIC | view | |
| VDM.private | true | view | |
| AbapCatalog.compiler.compareFilter | true | view | |
| AccessControl.authorizationCheck | #NOT_REQUIRED | view |
Fields (2)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | BusinessUser | UserID | ||
| parvaendaskokrsasControllingArea |
@AbapCatalog.sqlViewName: 'PFIUSRPARMCTRLGA'
@ClientDependent: true
@VDM.viewType: #BASIC
@VDM.private:true
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
//@EndUserText.label: 'User Set Get Parameter for Controlling Area'
define view P_Usersetgetparamforctrlgarea as select from I_User
left outer join usr05 as usr05
on I_User.UserID = usr05.bname
and usr05.parid = 'CAC'
{
key UserID as BusinessUser,
cast( case when usr05.parva is null
then 'A000'
else usr05.parva
end as kokrs )as ControllingArea
//usr05.parva as ControllingArea
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_USER",
"USR05"
],
"ASSOCIATED":
[],
"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