aps_com_ca_read_ca_outbnd_scp

DDL: APS_COM_CA_READ_CA_OUTBND_SCP Type: view_entity Package: SR_APS_COM_PUB_ODATA_CA_READ

Outbound User Scopes

aps_com_ca_read_ca_outbnd_scp is a CDS View that provides data about "Outbound User Scopes" in SAP S/4HANA. It reads from 3 data sources (aps_ca_d_doutbnd, aps_cs_d_outbnd, aps_ca_d_dobscpe) and exposes 4 fields with key fields CommunicationArrangementUUID, commsystoutboundusernameendasUserName, AdditionalScopeAssignmentUUID. 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 (3)

SourceAliasJoin Type
aps_ca_d_doutbnd ca_outb inner
aps_cs_d_outbnd cs_outb inner
aps_ca_d_dobscpe scp from

Annotations (3)

NameValueLevelField
AccessControl.authorizationCheck #NOT_REQUIRED view
EndUserText.label Outbound User Scopes view
Metadata.ignorePropagatedAnnotations true view

OData Services (1)

ServiceBindingVersionContractRelease
APS_COM_API_CA_READ APS_COM_API_CA_READ V4 C2 C1

Fields (4)

KeyFieldSource TableSource FieldDescription
KEY CommunicationArrangementUUID aps_ca_d_dobscpe root_key UUID
KEY commsystoutboundusernameendasUserName
KEY AdditionalScopeAssignmentUUID aps_ca_d_dobscpe db_key UUID
AdditionalScope aps_ca_d_dobscpe authscope

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_outbnd_scp.
-- 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_outbnd_scp AS
SELECT
  scp.root_key AS CommunicationArrangementUUID,
  case when cs_outb.systemauthenticationmode = '4' then '' when cs_outb.systemauthenticationmode = '8' then '' else cs_outb.commsystoutboundusername end as UserName AS commsystoutboundusernameendasUserName,
  scp.db_key AS AdditionalScopeAssignmentUUID,
  scp.authscope AS AdditionalScope
FROM aps_ca_d_dobscpe AS scp
INNER JOIN aps_ca_d_doutbnd AS ca_outb ON /* join condition not captured in parsed metadata */
INNER JOIN aps_cs_d_outbnd AS cs_outb ON /* join condition not captured in parsed metadata */
;