aps_com_cs_read_granttype

DDL: APS_COM_CS_READ_GRANTTYPE Type: view_entity Package: SR_APS_COM_PUB_ODATA_CS_READ

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)

SourceAliasJoin Type
dd07l dd from

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label CS - OAuth2 Grant Type view
Metadata.ignorePropagatedAnnotations true view

Fields (1)

KeyFieldSource TableSource FieldDescription
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'