Aps_Com_Cs_D2_Root

DDL: APS_COM_CS_D2_ROOT SQL: APS_COM_CS_R_2 Type: view Package: SR_APS_COM_CS

Communication System Draft 2.0 root view

Aps_Com_Cs_D2_Root is a CDS View that provides data about "Communication System Draft 2.0 root view" in SAP S/4HANA. It reads from 1 data source (aps_cs_d_root) and exposes 62 fields with key field db_key. It has 5 associations to related views. Part of development package SR_APS_COM_CS.

Data Sources (1)

SourceAliasJoin Type
aps_cs_d_root Document from

Associations (5)

CardinalityTargetAliasCondition
[0..*] Aps_Com_Cs_D2_Inbound _Inbound _Inbound.parent_key = $projection.db_key
[0..*] Aps_Com_Cs_D2_Outbound _Outbound _Outbound.parent_key = $projection.db_key
[0..*] APS_COM_CS_D2_PARTNER _Partner _Partner.parent_key = $projection.db_key
[0..*] APS_COM_CS_D2_OIDC _Oidc _Oidc.parent_key = $projection.db_key
[0..*] APS_COM_CS_D2_EVENT _Event _Event.parent_key = $projection.db_key

Annotations (5)

NameValueLevelField
AbapCatalog.sqlViewName APS_COM_CS_R_2 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Communication System Draft 2.0 root view view
ObjectModel.compositionRoot true view

Fields (62)

KeyFieldSource TableSource FieldDescription
KEY db_key aps_cs_d_root db_key
CommSyst aps_cs_d_root commsyst
CommSystName aps_cs_d_root commsystname
CommSystPort aps_cs_d_root commsystport
CommSystDescription aps_cs_d_root commsystdescription
CommunicationProtocol aps_cs_d_root communicationprotocol
IntermediateDocLogicalSystem aps_cs_d_root intermediatedoclogicalsystem
CommSystSAPClient aps_cs_d_root commsystsapclient
CommSystHostName aps_cs_d_root commsysthostname
CommSystUIHostName aps_cs_d_root commsystuihostname
CommSystOwnrCntCtPersnName aps_cs_d_root commsystownrcntctpersnname
CommSystOwnrCntCtPersnPhnmbr aps_cs_d_root commsystownrcntctpersnphnmbr
CommSystOwnrCntCtPersnEmlAddr aps_cs_d_root commsystownrcntctpersnemladdr
CommSystEditStatus aps_cs_d_root commsysteditstatus
CommSystType aps_cs_d_root commsysttype
BusinessSystemName aps_cs_d_root businesssystemname
IsOwnSystem aps_cs_d_root isownsystem
CreationDateTime
CreatedByUser aps_cs_d_root createdbyuser
LastChangeDateTime
LastChangedByUser aps_cs_d_root lastchangedbyuser
OAuth2IDPEnabled aps_cs_d_root oauth2idpenabled
OAuth2IDPCertificate aps_cs_d_root oauth2idpcertificate
OAuth2IDPCertificateUUID aps_cs_d_root oauth2idpcertificateuuid
OAuth2IDPName aps_cs_d_root oauth2idpname
OAuth2IDPCTFSubject aps_cs_d_root oauth2idpctfsubject
OAuth2IDPCTFIssuer aps_cs_d_root oauth2idpctfissuer
OAuth2IDPUserLogonType aps_cs_d_root oauth2idpuserlogontype
OAuth2RedirectUri aps_cs_d_root oauth2redirecturi
OAuth2RedirectUriIsLoopback aps_cs_d_root oauth2redirecturiisloopback
OAuth2AuthEndpoint aps_cs_d_root oauth2authendpoint
OAuth2TokenEndpoint aps_cs_d_root oauth2tokenendpoint
OAuth2Audience aps_cs_d_root oauth2audience
OAuth2mTLSEndpoint aps_cs_d_root oauth2mtlsendpoint
CipherSuiteCode aps_cs_d_root ciphersuitecode
IsABAPSystem aps_cs_d_root isabapsystem
SccLocationID aps_cs_d_root scclocationid
TechnicalUserPropagation aps_cs_d_root technicaluserpropagation
IsLoadBalancing aps_cs_d_root isloadbalancing
SAPSystemID aps_cs_d_root sapsystemid
SAPSystemNumber aps_cs_d_root sapsystemnumber
LogonGroup aps_cs_d_root logongroup
MessageServerTargetHost aps_cs_d_root messageservertargethost
FastSerializer aps_cs_d_root fastserializer
RFCNonUnicodeSystem aps_cs_d_root rfcnonunicodesystem
DestinationService aps_cs_d_root destinationservice
DestinationServiceName aps_cs_d_root destinationservicename
IsHubSystem aps_cs_d_root ishubsystem
InboundOnly aps_cs_d_root inboundonly
UseDefaultDestService aps_cs_d_root usedefaultdestservice
SAMLBAPEnabled aps_cs_d_root samlbapenabled
SAMLBAPName aps_cs_d_root samlbapname
SAMLBAPUserLogonType aps_cs_d_root samlbapuserlogontype
SAMLBAPCertUUID aps_cs_d_root samlbapcertuuid
RemoteSqlEnabled aps_cs_d_root remotesqlenabled
RemoteSqlAdapterName aps_cs_d_root remotesqladaptername
RemoteSqlAdapterConfig aps_cs_d_root remotesqladapterconfig
_Inbound _Inbound
_Outbound _Outbound
_Partner _Partner
_Oidc _Oidc
_Event _Event
@AbapCatalog.sqlViewName: 'APS_COM_CS_R_2'
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Communication System Draft 2.0 root view'
@ObjectModel.compositionRoot: true

define view Aps_Com_Cs_D2_Root
  as select from aps_cs_d_root as Document
  association [0..*] to Aps_Com_Cs_D2_Inbound  as _Inbound  on _Inbound.parent_key = $projection.db_key
  association [0..*] to Aps_Com_Cs_D2_Outbound as _Outbound on _Outbound.parent_key = $projection.db_key
  association [0..*] to APS_COM_CS_D2_PARTNER  as _Partner  on _Partner.parent_key = $projection.db_key
  association [0..*] to APS_COM_CS_D2_OIDC     as _Oidc     on _Oidc.parent_key = $projection.db_key
  association [0..*] to APS_COM_CS_D2_EVENT    as _Event    on _Event.parent_key = $projection.db_key
{
  key Document.db_key,
      Document.commsyst                                as CommSyst,
      case
       when Document.commsyst like 'SAP_%' then 'X'
       else ''
       end                                             as IsManagedBySAP,
      Document.commsystname                            as CommSystName,
      Document.commsystport                            as CommSystPort,
      Document.commsystdescription                     as CommSystDescription,
      Document.communicationprotocol                   as CommunicationProtocol,
      Document.intermediatedoclogicalsystem            as IntermediateDocLogicalSystem,
      Document.commsystsapclient                       as CommSystSAPClient,
      Document.commsysthostname                        as CommSystHostName,
      Document.commsystuihostname                      as CommSystUIHostName,
      Document.commsystownrcntctpersnname              as CommSystOwnrCntCtPersnName,
      Document.commsystownrcntctpersnphnmbr            as CommSystOwnrCntCtPersnPhnmbr,
      Document.commsystownrcntctpersnemladdr           as CommSystOwnrCntCtPersnEmlAddr,
      Document.commsysteditstatus                      as CommSystEditStatus,
//      case 

//        when Document.commsysttype = '' and Document.commsyst like 'SAP_%' then '2'

//        when Document.commsysttype = '' and Document.commsyst not like 'SAP_%' then '1'

//        else Document.commsysttype  

//        end                                            as CommSystType,

      Document.commsysttype                            as CommSystType,
      Document.businesssystemname                      as BusinessSystemName,
      Document.isownsystem                             as IsOwnSystem,
      cast( Document.creationdatetime as timestamp )   as CreationDateTime,
      Document.createdbyuser                           as CreatedByUser,
      cast( Document.lastchangedatetime as timestamp ) as LastChangeDateTime,
      Document.lastchangedbyuser                       as LastChangedByUser,

      Document.oauth2idpenabled                        as OAuth2IDPEnabled,
      Document.oauth2idpcertificate                    as OAuth2IDPCertificate,
      Document.oauth2idpcertificateuuid                as OAuth2IDPCertificateUUID,
      Document.oauth2idpname                           as OAuth2IDPName,
      Document.oauth2idpctfsubject                     as OAuth2IDPCTFSubject,
      Document.oauth2idpctfissuer                      as OAuth2IDPCTFIssuer,
      Document.oauth2idpuserlogontype                  as OAuth2IDPUserLogonType,
      
      Document.oauth2redirecturi                       as OAuth2RedirectUri,
      Document.oauth2redirecturiisloopback             as OAuth2RedirectUriIsLoopback,

      Document.oauth2authendpoint                      as OAuth2AuthEndpoint,
      Document.oauth2tokenendpoint                     as OAuth2TokenEndpoint,
      Document.oauth2audience                          as OAuth2Audience,
      Document.oauth2mtlsendpoint                      as OAuth2mTLSEndpoint,
      
      Document.ciphersuitecode                         as CipherSuiteCode,
      Document.isabapsystem                            as IsABAPSystem,
      Document.scclocationid                           as SccLocationID,
      Document.technicaluserpropagation                as TechnicalUserPropagation,
      Document.isloadbalancing                         as IsLoadBalancing,
      Document.sapsystemid                             as SAPSystemID,
      Document.sapsystemnumber                         as SAPSystemNumber,
      Document.logongroup                              as LogonGroup,
      Document.messageservertargethost                 as MessageServerTargetHost,
      Document.fastserializer                          as FastSerializer,
      Document.rfcnonunicodesystem                     as RFCNonUnicodeSystem,
      
      Document.destinationservice                      as DestinationService,
      Document.destinationservicename                  as DestinationServiceName,
      Document.ishubsystem                             as IsHubSystem,
      Document.inboundonly                             as InboundOnly,
      Document.usedefaultdestservice                   as UseDefaultDestService,

      Document.samlbapenabled                          as SAMLBAPEnabled,
      Document.samlbapname                             as SAMLBAPName,
      Document.samlbapuserlogontype                    as SAMLBAPUserLogonType,
      Document.samlbapcertuuid                         as SAMLBAPCertUUID,
      
      Document.remotesqlenabled                        as RemoteSqlEnabled,
      Document.remotesqladaptername                    as RemoteSqlAdapterName,
      Document.remotesqladapterconfig                  as RemoteSqlAdapterConfig,
      
      @ObjectModel.association.type: #TO_COMPOSITION_CHILD
      _Inbound,
      @ObjectModel.association.type: #TO_COMPOSITION_CHILD
      _Outbound,
      @ObjectModel.association.type: #TO_COMPOSITION_CHILD
      _Partner,
      @ObjectModel.association.type: #TO_COMPOSITION_CHILD
      _Oidc,
      @ObjectModel.association.type: #TO_COMPOSITION_CHILD
      _Event      
}