I_APS_COM_CA_Root_Core

DDL: I_APS_COM_CA_CORE SQL: APS_COM_CA_ROOTC Type: view Package: SR_APS_COM_CA

Communication Arrangement Root Node Core View

I_APS_COM_CA_Root_Core is a CDS View that provides data about "Communication Arrangement Root Node Core View" in SAP S/4HANA. It reads from 1 data source (aps_ca_d_root) and exposes 20 fields with key field db_key. It has 6 associations to related views. Part of development package SR_APS_COM_CA.

Data Sources (1)

SourceAliasJoin Type
aps_ca_d_root aps_ca_d_root from

Associations (6)

CardinalityTargetAliasCondition
[0..*] I_APS_COM_CA_APIKEY_C _API_Keys $projection.db_key = _API_Keys.parent_key and _API_Keys.parent_prop_str_inst_key is not null
[0..*] I_Aps_Com_Ca_Inb_Defaults_C _InboundDefaults $projection.db_key = _InboundDefaults.parent_key
[0..*] I_APS_COM_CA_INB_SRV_C _InboundServices $projection.db_key = _InboundServices.parent_key
[0..*] I_Aps_Com_Ca_Outb_Defaults_C _OutboundDefaults $projection.db_key = _OutboundDefaults.parent_key
[0..*] I_APS_COM_CA_OUT_SRV_C _OutboundServices $projection.db_key = _OutboundServices.parent_key
[0..1] APS_COM_CSCN_API_ROOT _CommunicationScenario $projection.CommunicationScenario = _CommunicationScenario.communication_scenario_id

Annotations (6)

NameValueLevelField
AbapCatalog.sqlViewName APS_COM_CA_ROOTC view
ObjectModel.compositionRoot true view
ClientHandling.type #CLIENT_DEPENDENT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
EndUserText.label Communication Arrangement Root Node Core View view

Fields (20)

KeyFieldSource TableSource FieldDescription
KEY db_key db_key
CommSyst commsyst
CommArrgmtName commarrgmtname
CommArrgmtDescription commarrgmtdescription
CommunicationScenario communicationscenario
CommArrgmtEditStatus commarrgmteditstatus
CreationDateTime creationdatetime
CreatedByUser createdbyuser
LastChangeDateTime lastchangedatetime
LastChangedByUser lastchangedbyuser
OAuth2Profile oauth2profile
OAuth2ConfigurationID oauth2configurationid
CommScenarioChangeDate commscenariochangedate
CommunicationScenarioType _CommunicationScenario communication_scenario_type
CommScenarioDescription _CommunicationScenario description
_API_Keys _API_Keys
_InboundDefaults _InboundDefaults
_InboundServices _InboundServices
_OutboundDefaults _OutboundDefaults
_OutboundServices _OutboundServices
@AbapCatalog.sqlViewName: 'APS_COM_CA_ROOTC'
@ObjectModel.compositionRoot: true
@ClientHandling.type: #CLIENT_DEPENDENT
@AbapCatalog.compiler.compareFilter: true
@AccessControl.authorizationCheck: #CHECK
@EndUserText.label: 'Communication Arrangement Root Node Core View'
define view I_APS_COM_CA_Root_Core
  as select from aps_ca_d_root

  association [0..*] to I_APS_COM_CA_APIKEY_C        as _API_Keys              on $projection.db_key = _API_Keys.parent_key and
                                                                                   _API_Keys.parent_prop_str_inst_key is not null

  association [0..*] to I_Aps_Com_Ca_Inb_Defaults_C  as _InboundDefaults       on $projection.db_key = _InboundDefaults.parent_key

  association [0..*] to I_APS_COM_CA_INB_SRV_C       as _InboundServices       on $projection.db_key = _InboundServices.parent_key

  association [0..*] to I_Aps_Com_Ca_Outb_Defaults_C as _OutboundDefaults      on $projection.db_key = _OutboundDefaults.parent_key

  association [0..*] to I_APS_COM_CA_OUT_SRV_C       as _OutboundServices      on $projection.db_key = _OutboundServices.parent_key

  // Communication Scenario

  association [0..1] to APS_COM_CSCN_API_ROOT        as _CommunicationScenario on $projection.CommunicationScenario = _CommunicationScenario.communication_scenario_id


{
  key db_key                                             as db_key,
      commsyst                                           as CommSyst,
      commarrgmtname                                     as CommArrgmtName,
      commarrgmtdescription                              as CommArrgmtDescription,
      communicationscenario                              as CommunicationScenario,
      commarrgmteditstatus                               as CommArrgmtEditStatus,
      creationdatetime                                   as CreationDateTime,
      createdbyuser                                      as CreatedByUser,
      lastchangedatetime                                 as LastChangeDateTime,
      lastchangedbyuser                                  as LastChangedByUser,
      oauth2profile                                      as OAuth2Profile,
      oauth2configurationid                              as OAuth2ConfigurationID,
      commscenariochangedate                             as CommScenarioChangeDate,

      @ObjectModel.readOnly: true
      _CommunicationScenario.communication_scenario_type as CommunicationScenarioType,

      @ObjectModel.readOnly: true
      cast (
      case
      when  _CommunicationScenario.communication_scenario_type = #APS_COM_CSCN_TYPE.'1'
      then ''
      else 'X'
      end  as boole_d )                                  as ScenarioIsManagedBySAP,

      @ObjectModel.readOnly: true
      _CommunicationScenario.description                 as CommScenarioDescription,

      /* Associations */
      @ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
      _API_Keys,
      @ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
      _InboundDefaults,
      @ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
      _InboundServices,
      @ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
      _OutboundDefaults,
      @ObjectModel.association.type: [ #TO_COMPOSITION_CHILD ]
      _OutboundServices
}