aps_com_cs_read_cs_outbnd is a CDS View that provides data about "Outbound Users" in SAP S/4HANA. It reads from 1 data source (aps_cs_d_outbnd) and exposes 5 fields with key fields CommunicationSystemID, OutboundUUID, commsystoutboundusernameendasUserName. It has 1 association to related views. It is exposed through 1 OData service (APS_COM_API_CS_READ). Part of development package SR_APS_COM_PUB_ODATA_CS_READ.
@AccessControl.authorizationCheck: #NOT_REQUIRED@EndUserText.label: 'Outbound Users'
@Metadata.ignorePropagatedAnnotations: truedefineviewentity aps_com_cs_read_cs_outbnd
asselectfrom aps_cs_d_outbnd as cs_outb
join aps_cs_d_root as cs on cs.db_key = cs_outb.parent_key
// Authentication Method
association [0..1] to aps_com_cs_read_auth as _Auth on cs_outb.systemauthenticationmode = _Auth.AuthMethodCode
{
@EndUserText: { label: 'Communication System ID', quickInfo: 'Communication System ID' }key cs.commsyst as CommunicationSystemID,
@EndUserText: { label: 'Outbound UUID', quickInfo: 'Outbound UUID' }key cs_outb.db_key as OutboundUUID,
@EndUserText: { label: 'Communication User Name', quickInfo: 'Communication User Name' }keycasewhen cs_outb.systemauthenticationmode = '4' then '' // oauth2
when cs_outb.systemauthenticationmode = '8' then '' // oauth2_mtls
when cs_outb.systemauthenticationmode = '41' then ''
when cs_outb.systemauthenticationmode = '42' then ''
when cs_outb.systemauthenticationmode = '43' then ''
when cs_outb.systemauthenticationmode = '44' then ''
else cs_outb.commsystoutboundusername
endas UserName,
@EndUserText: { label: 'OAuth 2.0 Client ID', quickInfo: 'OAuth 2.0 Client ID' }keycasewhen cs_outb.systemauthenticationmode = '4' then cs_outb.commsystoutboundusername // oauth2
when cs_outb.systemauthenticationmode = '8' then cs_outb.commsystoutboundusername // oauth2_mtls
when cs_outb.systemauthenticationmode = '41' then cs_outb.commsystoutboundusername
when cs_outb.systemauthenticationmode = '42' then cs_outb.commsystoutboundusername
when cs_outb.systemauthenticationmode = '43' then cs_outb.commsystoutboundusername
when cs_outb.systemauthenticationmode = '44' then cs_outb.commsystoutboundusername
else ''
endas OAuth2ClientID,
@EndUserText: { label: 'Certificate ID', quickInfo: 'Certificate ID' }
cs_outb.certificatetext as CertificateID,
@EndUserText: { label: 'Authentication Method', quickInfo: 'Authentication Method' }
_Auth.AuthMethod as AuthMethod
// @Consumption.hidden: true// cs_outb.parent_key as ParentKey
}
where
(
cs.commsysttype = '1'
or cs.commsysttype = ''
)
and cs.commsyst notlike 'SAP_%'