aps_com_ca_read_ca_inbnd

DDL: APS_COM_CA_READ_CA_INBND Type: view_entity Package: SR_APS_COM_PUB_ODATA_CA_READ

Inbound Users

aps_com_ca_read_ca_inbnd is a CDS View that provides data about "Inbound Users" in SAP S/4HANA. It reads from 4 data sources (aps_ca_d_root, aps_ca_d_dinbnd, aps_cs_d_root, aps_cs_d_inbound) and exposes 6 fields with key fields CommunicationArrangementUUID, UserID. It has 4 associations to related views. It is exposed through 1 OData service (APS_COM_API_CA_READ). Part of development package SR_APS_COM_PUB_ODATA_CA_READ.

Data Sources (4)

SourceAliasJoin Type
aps_ca_d_root ca from
aps_ca_d_dinbnd ca_inb inner
aps_cs_d_root cs inner
aps_cs_d_inbound cs_inb inner

Associations (4)

CardinalityTargetAliasCondition
[0..1] aps_com_w_cscn _CommScen ca.communicationscenario = _CommScen.communication_scenario_id
[0..1] aps_iam_customeruser_ddl _ChangeUser cs_inb.commsystinboundusername = _ChangeUser.UserID
[0..1] aps_com_cs_read_auth _Auth cs_inb.systemauthenticationmode = _Auth.AuthMethodCode
[0..1] aps_com_cs_read_granttype _GrantType cs_inb.oauth2granttype = _GrantType.GrantTypeCode

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Inbound Users view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
APS_COM_API_CA_READ APS_COM_API_CA_READ V4 C2 C1

Fields (6)

KeyFieldSource TableSource FieldDescription
KEY CommunicationArrangementUUID aps_ca_d_root db_key UUID
KEY UserID aps_cs_d_inbound commsystinboundusername
UserName _ChangeUser UserName User who owns item
OAuth2ClientID aps_cs_d_inbound oauth2clientid
OAuth2GrantType _GrantType GrantType
AuthMethod _Auth AuthMethod

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_ca_read_ca_inbnd.
-- 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_ca_read_ca_inbnd AS
SELECT
  ca.db_key AS CommunicationArrangementUUID,
  cs_inb.commsystinboundusername AS UserID,
  _ChangeUser.UserName AS UserName,
  cs_inb.oauth2clientid AS OAuth2ClientID,
  _GrantType.GrantType AS OAuth2GrantType,
  _Auth.AuthMethod AS AuthMethod
FROM aps_ca_d_root AS ca
INNER JOIN aps_cs_d_root AS cs ON /* join condition not captured in parsed metadata */
INNER JOIN aps_ca_d_dinbnd AS ca_inb ON /* join condition not captured in parsed metadata */
INNER JOIN aps_cs_d_inbound AS cs_inb ON /* join condition not captured in parsed metadata */
LEFT OUTER JOIN aps_com_w_cscn AS _CommScen ON ca.communicationscenario = _CommScen.communication_scenario_id  -- association [0..1]
LEFT OUTER JOIN aps_iam_customeruser_ddl AS _ChangeUser ON cs_inb.commsystinboundusername = _ChangeUser.UserID  -- association [0..1]
LEFT OUTER JOIN aps_com_cs_read_auth AS _Auth ON cs_inb.systemauthenticationmode = _Auth.AuthMethodCode  -- association [0..1]
LEFT OUTER JOIN aps_com_cs_read_granttype AS _GrantType ON cs_inb.oauth2granttype = _GrantType.GrantTypeCode  -- association [0..1]
;