Aps_Com_Cs_D2_Inbound_C

DDL: APS_COM_CS_D2_INBOUND_C SQL: APS_COM_CS_I_C_2 Type: view Package: SR_APS_COM_CS

CS Draft 2.0 Inbound consumption view

Aps_Com_Cs_D2_Inbound_C is a CDS View that provides data about "CS Draft 2.0 Inbound consumption view" in SAP S/4HANA. It reads from 1 data source (Aps_Com_Cs_D2_Inbound_Tp) and exposes 19 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_Com_Cs_D2_Inbound_Tp Document from

Associations (5)

CardinalityTargetAliasCondition
[1..1] Aps_Com_Cs_D2_Root_C _Root _Root.db_key = $projection.parent_key
[0..1] aps_iam_cusr_ddl _CommunicationUser _CommunicationUser.UserID = $projection.CommSystInboundUserName
[0..1] aps_user_ddl _ChangedBy _ChangedBy.UserID = Document.LastChangedByUser
[0..1] aps_user_ddl _CreatedBy _CreatedBy.UserID = Document.CreatedByUser
[1..1] I_Aps_Com_Domain_Value_Text _AuthentificationModeText _AuthentificationModeText.Name = 'APS_CS_SYS_AUTH_MC' and _AuthentificationModeText.Code = Document.SystemAuthenticationMode

Annotations (10)

NameValueLevelField
AbapCatalog.sqlViewName APS_COM_CS_I_C_2 view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label CS Draft 2.0 Inbound consumption view view
Search.searchable true view
ObjectModel.transactionalProcessingDelegated true view
ObjectModel.semanticKey CommSystInboundUserName view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled EXTERNAL_CALCULATION view

Fields (19)

KeyFieldSource TableSource FieldDescription
KEY db_key Aps_Com_Cs_D2_Inbound_Tp db_key UUID
parent_key Aps_Com_Cs_D2_Inbound_Tp parent_key UUID
CommSystInboundUserName Aps_Com_Cs_D2_Inbound_Tp CommSystInboundUserName
SystemAuthenticationMode Aps_Com_Cs_D2_Inbound_Tp SystemAuthenticationMode
SystemAuthenticationModeText _AuthentificationModeText Description Well Code Des.
CommSystInboundUserDesc Aps_Com_Cs_D2_Inbound_Tp CommSystInboundUserDesc
OAuth2GrantType Aps_Com_Cs_D2_Inbound_Tp OAuth2GrantType
OAuth2ClientId Aps_Com_Cs_D2_Inbound_Tp OAuth2ClientId
OAuth2RefreshAllowed Aps_Com_Cs_D2_Inbound_Tp OAuth2RefreshAllowed
OAuth2RefreshExpiry Aps_Com_Cs_D2_Inbound_Tp OAuth2RefreshExpiry
OAuth2RefreshExpiryUnit Aps_Com_Cs_D2_Inbound_Tp OAuth2RefreshExpiryUnit
CreationDateTime Aps_Com_Cs_D2_Inbound_Tp CreationDateTime Timestamp
LastChangeDateTime Aps_Com_Cs_D2_Inbound_Tp LastChangeDateTime Timestamp
CreatedByUserName _CreatedBy UserDescription Created By
LastChangedByUserName _ChangedBy UserDescription Changed By
UserAlias _CommunicationUser UserName User who owns item
_Root _Root
_CommunicationUser _CommunicationUser
_AuthentificationModeText _AuthentificationModeText

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_D2_Inbound_C.
-- 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.
-- SQL view name: APS_COM_CS_I_C_2

CREATE VIEW Aps_Com_Cs_D2_Inbound_C AS
SELECT
  Document.db_key AS db_key,
  Document.parent_key AS parent_key,
  Document.CommSystInboundUserName AS CommSystInboundUserName,
  Document.SystemAuthenticationMode AS SystemAuthenticationMode,
  _AuthentificationModeText.Description AS SystemAuthenticationModeText,
  Document.CommSystInboundUserDesc AS CommSystInboundUserDesc,
  Document.OAuth2GrantType AS OAuth2GrantType,
  Document.OAuth2ClientId AS OAuth2ClientId,
  Document.OAuth2RefreshAllowed AS OAuth2RefreshAllowed,
  Document.OAuth2RefreshExpiry AS OAuth2RefreshExpiry,
  Document.OAuth2RefreshExpiryUnit AS OAuth2RefreshExpiryUnit,
  Document.CreationDateTime AS CreationDateTime,
  Document.LastChangeDateTime AS LastChangeDateTime,
  _CreatedBy.UserDescription AS CreatedByUserName,
  _ChangedBy.UserDescription AS LastChangedByUserName,
  _CommunicationUser.UserName AS UserAlias
FROM Aps_Com_Cs_D2_Inbound_Tp AS Document
LEFT OUTER JOIN Aps_Com_Cs_D2_Root_C AS _Root ON _Root.db_key = parent_key  -- association [1..1]
LEFT OUTER JOIN aps_iam_cusr_ddl AS _CommunicationUser ON _CommunicationUser.UserID = CommSystInboundUserName  -- association [0..1]
LEFT OUTER JOIN aps_user_ddl AS _ChangedBy ON _ChangedBy.UserID = Document.LastChangedByUser  -- association [0..1]
LEFT OUTER JOIN aps_user_ddl AS _CreatedBy ON _CreatedBy.UserID = Document.CreatedByUser  -- association [0..1]
LEFT OUTER JOIN I_Aps_Com_Domain_Value_Text AS _AuthentificationModeText ON _AuthentificationModeText.Name = 'APS_CS_SYS_AUTH_MC' AND _AuthentificationModeText.Code = Document.SystemAuthenticationMode  -- association [1..1]
;