aps_com_cs_read_cs

DDL: APS_COM_CS_READ_CS Type: view_entity Package: SR_APS_COM_PUB_ODATA_CS_READ

Communication Systems

aps_com_cs_read_cs is a CDS View that provides data about "Communication Systems" in SAP S/4HANA. It reads from 2 data sources (aps_com_l_string, aps_cs_d_root) and exposes 44 fields with key field CommunicationSystemID. It has 7 associations 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.

Data Sources (2)

SourceAliasJoin Type
aps_com_l_string _String left_outer
aps_cs_d_root cs from

Associations (7)

CardinalityTargetAliasCondition
[0..1] aps_iam_busr_core _ChangeUser cs.lastchangedbyuser = _ChangeUser.UserID
[0..*] APS_COM_CS_READ_CS_CDOC _ChangeDocs cs.commsyst = _ChangeDocs.CommunicationSystemID
[0..*] aps_com_cs_read_cs_inbnd InboundUsers cs.commsyst = InboundUsers.CommunicationSystemID
[0..*] aps_com_cs_read_cs_outbnd OutboundUsers cs.commsyst = OutboundUsers.CommunicationSystemID
[0..*] aps_com_cs_read_cs_ca CommunicationArrangements cs.commsyst = CommunicationArrangements.CommunicationSystemID
[0..*] APS_COM_CS_READ_CS_ECHANNEL EventChannel cs.commsyst = EventChannel.CommunicationSystemID
[0..*] APS_COM_CS_READ_CS_OIDC OIDCProvider cs.commsyst = OIDCProvider.CommunicationSystemID

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Communication Systems view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
APS_COM_API_CS_READ APS_COM_API_CS_READ V4 C2 C1

Fields (44)

KeyFieldSource TableSource FieldDescription
KEY CommunicationSystemID aps_cs_d_root commsyst System ID
CommunicationSystemName aps_cs_d_root commsystname
HostName aps_cs_d_root commsysthostname
UIHostName aps_cs_d_root commsystuihostname
commsystportendasint4asTCPPort
LogicalSystemID aps_cs_d_root intermediatedoclogicalsystem
BusinessSystemID aps_cs_d_root businesssystemname Business System
InboundOnly aps_cs_d_root inboundonly
HubSystem aps_cs_d_root ishubsystem
SAPClient aps_cs_d_root commsystsapclient
RFCLoadBalancing aps_cs_d_root isloadbalancing
RFCSAPSystemID aps_cs_d_root sapsystemid
RFCSAPSystemNumber aps_cs_d_root sapsystemnumber
RFCLogonGroup aps_cs_d_root logongroup
RFCMessageServerTargetHost aps_cs_d_root messageservertargethost
is_RFC_fast_serializ_active aps_cs_d_root fastserializer
OwnSystem aps_cs_d_root isownsystem
SystemCipherSuiteDefault aps_com_l_string string String
OAuth2IdentityProviderActive aps_cs_d_root oauth2idpenabled
OAuth2IdentityProviderName aps_cs_d_root oauth2idpname
OAuth2IDPUserLogonType aps_cs_d_root oauth2idpuserlogontype
OAuth2AuthEndpoint aps_cs_d_root oauth2authendpoint
OAuth2TokenEndpoint aps_cs_d_root oauth2tokenendpoint
OAuth2Audience aps_cs_d_root oauth2audience
SAPCloudConnectorActive aps_cs_d_root isabapsystem
SAPCloudConnectorLocationID aps_cs_d_root scclocationid
SAMLBearerAssertionProvActive aps_cs_d_root samlbapenabled
SAMLBearerAssertionProvName aps_cs_d_root samlbapname
SAMLBearerAssProvUserLogonType aps_cs_d_root samlbapuserlogontype
OwnerContactPersonName aps_cs_d_root commsystownrcntctpersnname
OwnerContactPersonPhone aps_cs_d_root commsystownrcntctpersnphnmbr
OwnerContactPersonEMail aps_cs_d_root commsystownrcntctpersnemladdr
LastChangedDateTime aps_cs_d_root lastchangedatetime Timestamp
LastChangedByUserID aps_cs_d_root lastchangedbyuser User Name
LastChangedByUserName _ChangeUser UserName User who owns item
LastChangedByUserDescription _ChangeUser FullName Name
LastChangedByEMailAddress _ChangeUser EmailAddress E-Mail Address
LastChangedByGlobalUserID _ChangeUser GlobalUserID Global User ID
InboundUsers InboundUsers
OutboundUsers OutboundUsers
CommunicationArrangements CommunicationArrangements
EventChannel EventChannel
OIDCProvider OIDCProvider
_ChangeDocs _ChangeDocs

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view aps_com_cs_read_cs.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.

CREATE VIEW aps_com_cs_read_cs AS
SELECT
  cs.commsyst AS CommunicationSystemID,
  cs.commsystname AS CommunicationSystemName,
  cs.commsysthostname AS HostName,
  cs.commsystuihostname AS UIHostName,
  cast( case when cs.commsystport = '' then '0' else cs.commsystport end as int4) as TCPPort AS commsystportendasint4asTCPPort,
  cs.intermediatedoclogicalsystem AS LogicalSystemID,
  cs.businesssystemname AS BusinessSystemID,
  cs.inboundonly AS InboundOnly,
  cs.ishubsystem AS HubSystem,
  cs.commsystsapclient AS SAPClient,
  cs.isloadbalancing AS RFCLoadBalancing,
  cs.sapsystemid AS RFCSAPSystemID,
  cs.sapsystemnumber AS RFCSAPSystemNumber,
  cs.logongroup AS RFCLogonGroup,
  cs.messageservertargethost AS RFCMessageServerTargetHost,
  cs.fastserializer AS is_RFC_fast_serializ_active,
  cs.isownsystem AS OwnSystem,
  _String.string AS SystemCipherSuiteDefault,
  cs.oauth2idpenabled AS OAuth2IdentityProviderActive,
  cs.oauth2idpname AS OAuth2IdentityProviderName,
  cs.oauth2idpuserlogontype AS OAuth2IDPUserLogonType,
  cs.oauth2authendpoint AS OAuth2AuthEndpoint,
  cs.oauth2tokenendpoint AS OAuth2TokenEndpoint,
  cs.oauth2audience AS OAuth2Audience,
  cs.isabapsystem AS SAPCloudConnectorActive,
  cs.scclocationid AS SAPCloudConnectorLocationID,
  cs.samlbapenabled AS SAMLBearerAssertionProvActive,
  cs.samlbapname AS SAMLBearerAssertionProvName,
  cs.samlbapuserlogontype AS SAMLBearerAssProvUserLogonType,
  cs.commsystownrcntctpersnname AS OwnerContactPersonName,
  cs.commsystownrcntctpersnphnmbr AS OwnerContactPersonPhone,
  cs.commsystownrcntctpersnemladdr AS OwnerContactPersonEMail,
  cs.lastchangedatetime AS LastChangedDateTime,
  cs.lastchangedbyuser AS LastChangedByUserID,
  _ChangeUser.UserName AS LastChangedByUserName,
  _ChangeUser.FullName AS LastChangedByUserDescription,
  _ChangeUser.EmailAddress AS LastChangedByEMailAddress,
  _ChangeUser.GlobalUserID AS LastChangedByGlobalUserID,
  InboundUsers,
  OutboundUsers,
  CommunicationArrangements,
  EventChannel,
  OIDCProvider
FROM aps_cs_d_root AS cs
LEFT OUTER JOIN aps_com_l_string AS _String ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN aps_iam_busr_core AS _ChangeUser ON cs.lastchangedbyuser = _ChangeUser.UserID  -- association [0..1]
LEFT OUTER JOIN APS_COM_CS_READ_CS_CDOC AS _ChangeDocs ON cs.commsyst = _ChangeDocs.CommunicationSystemID  -- association [0..*]
LEFT OUTER JOIN aps_com_cs_read_cs_inbnd AS InboundUsers ON cs.commsyst = InboundUsers.CommunicationSystemID  -- association [0..*]
LEFT OUTER JOIN aps_com_cs_read_cs_outbnd AS OutboundUsers ON cs.commsyst = OutboundUsers.CommunicationSystemID  -- association [0..*]
LEFT OUTER JOIN aps_com_cs_read_cs_ca AS CommunicationArrangements ON cs.commsyst = CommunicationArrangements.CommunicationSystemID  -- association [0..*]
LEFT OUTER JOIN APS_COM_CS_READ_CS_ECHANNEL AS EventChannel ON cs.commsyst = EventChannel.CommunicationSystemID  -- association [0..*]
LEFT OUTER JOIN APS_COM_CS_READ_CS_OIDC AS OIDCProvider ON cs.commsyst = OIDCProvider.CommunicationSystemID  -- association [0..*]
;