aps_com_cs_read_granttype
CS - OAuth2 Grant Type
aps_com_cs_read_granttype is a CDS View that provides data about "CS - OAuth2 Grant Type" in SAP S/4HANA. It reads from 1 data source (dd07l) and exposes 1 field with key field domvalue_lasint4asGrantTypeCode. Part of development package SR_APS_COM_PUB_ODATA_CS_READ.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| dd07l | dd | from |
Annotations (3)
| Name | Value | Level | Field |
|---|---|---|---|
| AccessControl.authorizationCheck | #NOT_REQUIRED | view | |
| EndUserText.label | CS - OAuth2 Grant Type | view | |
| Metadata.ignorePropagatedAnnotations | true | view |
Fields (1)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | domvalue_lasint4asGrantTypeCode |
@AccessControl.authorizationCheck: #NOT_REQUIRED
@EndUserText.label: 'CS - OAuth2 Grant Type'
@Metadata.ignorePropagatedAnnotations: true
/*+[hideWarning] { "IDS" : [ "KEY_CHECK" ] } */
define view entity aps_com_cs_read_granttype
as select from dd07l as dd
{
key cast(
dd.domvalue_l
as int4) as GrantTypeCode,
cast(
case
when ($projection.GrantTypeCode = 1) then 'authorization_code'
when ($projection.GrantTypeCode = 2) then 'saml2-bearer'
when ($projection.GrantTypeCode = 3) then 'ropc'
when ($projection.GrantTypeCode = 4) then 'client_credentials'
else 'unknown'
end
as text20) as GrantType
}
where
dd.domname = 'OA2C_GRANTTYPE'
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