I_PhysicalAgent

DDL: I_PHYSICALAGENT SQL: IAGTROOT Type: view BASIC

Physical Agent

I_PhysicalAgent is a Basic CDS View (Dimension) that provides data about "Physical Agent" in SAP S/4HANA. It reads from 1 data source (ehhssd_agt_root) and exposes 12 fields with key field PhysicalAgentUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
ehhssd_agt_root ehhssd_agt_root from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_Hazard _Hazard $projection.Hazard = _Hazard.Hazard
[0..*] I_PhysicalAgentNameText _Name $projection.PhysicalAgentUUID = _Name.PhysicalAgentUUID
[0..1] I_User _CreatedByUser $projection.CreatedByUser = _CreatedByUser.UserID
[0..1] I_User _LastChangedByUser $projection.LastChangedByUser = _LastChangedByUser.UserID

Annotations (13)

NameValueLevelField
EndUserText.label Physical Agent view
Analytics.dataCategory #DIMENSION view
Analytics.dataExtraction.enabled true view
VDM.viewType #BASIC view
ObjectModel.representativeKey PhysicalAgentUUID view
Metadata.allowExtensions true view
AccessControl.authorizationCheck #CHECK view
AbapCatalog.sqlViewName IAGTROOT view
AbapCatalog.compiler.compareFilter true view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #S view
ObjectModel.usageType.dataClass #MASTER view

Fields (12)

KeyFieldSource TableSource FieldDescription
KEY PhysicalAgentUUID
_Name _Name
CreationDateTime datetime_cr
CreatedByUser user_id_cr
_CreatedByUser _CreatedByUser
LastChangeDateTime datetime_ch
LastChangedByUser user_id_ch
_LastChangedByUser _LastChangedByUser
PhysicalAgentID id
PhysicalAgentMigrationSource migration_src
Hazard hazard
_Hazard _Hazard
@EndUserText.label: 'Physical Agent'
@Analytics: { dataCategory:#DIMENSION , dataExtraction.enabled:true }
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'PhysicalAgentUUID'
@Metadata.allowExtensions:true

@AccessControl.authorizationCheck: #CHECK
@AccessControl.privilegedAssociations: ['_CreatedByUser','_LastChangedByUser']

@AbapCatalog.sqlViewName: 'IAGTROOT'
@AbapCatalog.compiler.compareFilter: true

// Client handling by session 

@ClientHandling.algorithm: #SESSION_VARIABLE

// used for BOBF Master Data Object

@ObjectModel.usageType:{ serviceQuality: #C,        // < 15 msec   

                         sizeCategory:  #S,         // < 1000

                         dataClass: #MASTER }       
                         
                         

define view I_PhysicalAgent
  as select from ehhssd_agt_root
  association [1..1] to I_Hazard                as _Hazard            on $projection.Hazard = _Hazard.Hazard
  association [0..*] to I_PhysicalAgentNameText as _Name              on $projection.PhysicalAgentUUID = _Name.PhysicalAgentUUID
  association [0..1] to I_User                  as _CreatedByUser     on $projection.CreatedByUser = _CreatedByUser.UserID
  association [0..1] to I_User                  as _LastChangedByUser on $projection.LastChangedByUser = _LastChangedByUser.UserID
{
  @ObjectModel.text.association: '_Name'
   key cast ( db_key as ehhss_agent_uuid_ref preserving type ) as PhysicalAgentUUID,
   _Name,

   datetime_cr as CreationDateTime,
   user_id_cr  as CreatedByUser,
   _CreatedByUser,

   datetime_ch as LastChangeDateTime,
   user_id_ch  as LastChangedByUser,
   _LastChangedByUser,

   id          as PhysicalAgentID,
   
   migration_src as PhysicalAgentMigrationSource,

   @ObjectModel.foreignKey.association: '_Hazard'
   hazard      as Hazard,
   @ObjectModel.association.boundFields.dataMatchesSourceAndTargetTypes:true
   _Hazard

}          
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"EHHSSD_AGT_ROOT"
],
"ASSOCIATED":
[
"I_HAZARD",
"I_PHYSICALAGENTNAMETEXT",
"I_USER"
],
"BASE":
[],
"ANNO_REF":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/