I_EngSnpshtObjRefTP

DDL: I_ENGSNPSHTOBJREFTP SQL: IENGSNPOBJREFTP Type: view TRANSACTIONAL

Snapshot Object Reference for transactional

I_EngSnpshtObjRefTP is a Transactional CDS View that provides data about "Snapshot Object Reference for transactional" in SAP S/4HANA. It reads from 1 data source (mpe_snp_obj_ref) and exposes 13 fields with key field EngSnapshotRefUUID. It has 4 associations to related views.

Data Sources (1)

SourceAliasJoin Type
mpe_snp_obj_ref reference from

Associations (4)

CardinalityTargetAliasCondition
[1..1] I_EngSnpshtHdrTP _EngSnpshtHdr $projection.EngSnapshotUUID = _EngSnpshtHdr.EngSnapshotUUID
[0..1] E_EngSnpshtRefEngBOM _EngBOMExtension $projection.EngSnapshotRefUUID = _EngBOMExtension.EngSnapshotRefUUID
[0..1] E_EngSnpshtRefDoc _DocExtension $projection.EngSnapshotRefUUID = _DocExtension.EngSnapshotRefUUID
[0..1] E_EngSnpshtRefVislDoc _VisualDocExtension $projection.EngSnapshotRefUUID = _VisualDocExtension.EngSnapshotRefUUID

Annotations (15)

NameValueLevelField
AbapCatalog.sqlViewName IENGSNPOBJREFTP view
AbapCatalog.compiler.compareFilter true view
AbapCatalog.preserveKey true view
AccessControl.authorizationCheck #NOT_REQUIRED view
ClientHandling.algorithm #SESSION_VARIABLE view
EndUserText.label Snapshot Object Reference for transactional view
VDM.viewType #TRANSACTIONAL view
ObjectModel.transactionalProcessingEnabled true view
ObjectModel.createEnabled true view
ObjectModel.updateEnabled true view
ObjectModel.deleteEnabled true view
ObjectModel.writeActivePersistence MPE_SNP_OBJREF_V view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.dataClass #MIXED view
ObjectModel.usageType.sizeCategory #L view

Fields (13)

KeyFieldSource TableSource FieldDescription
KEY EngSnapshotRefUUID mpe_snp_obj_ref uuid
EngSnapshotUUID mpe_snp_obj_ref hdr_uuid
EngSnpshtRefType mpe_snp_obj_ref type
EngSnpshtRefKey1 mpe_snp_obj_ref ref_key1
EngSnpshtRefKey2 mpe_snp_obj_ref ref_key2
EngSnpshtRefKey3 mpe_snp_obj_ref ref_key3
EngSnpshtRefKey4 mpe_snp_obj_ref ref_key4
EngSnpshtRefKey5 mpe_snp_obj_ref ref_key5
CreatedByUser mpe_snp_obj_ref created_by
CreationDateTime mpe_snp_obj_ref created_at
LastChangedByUser mpe_snp_obj_ref changed_by
LastChangeDateTime mpe_snp_obj_ref changed_at
_EngSnpshtHdr _EngSnpshtHdr
@AbapCatalog.sqlViewName: 'IENGSNPOBJREFTP'
@AbapCatalog.compiler.compareFilter: true
@AbapCatalog.preserveKey: true
@AccessControl.authorizationCheck: #NOT_REQUIRED
@ClientHandling.algorithm: #SESSION_VARIABLE
@EndUserText.label: 'Snapshot Object Reference for transactional'

@VDM.viewType: #TRANSACTIONAL

@ObjectModel: {
-- Annotations for transactional processing  
  transactionalProcessingEnabled: true,
  createEnabled: true,
  updateEnabled: true,
  deleteEnabled: true,
  writeActivePersistence: 'MPE_SNP_OBJREF_V'
  //semanticKey: ['ref_key1','ref_key2','ref_key3','ref_key4','ref_key5'],

}

@ObjectModel.usageType: {serviceQuality: #C,
                         dataClass: #MIXED,
                         sizeCategory: #L}
                         
define view I_EngSnpshtObjRefTP
 as select from mpe_snp_obj_ref as reference
 association [1..1] to I_EngSnpshtHdrTP as _EngSnpshtHdr  on $projection.EngSnapshotUUID = _EngSnpshtHdr.EngSnapshotUUID
 association [0..1] to E_EngSnpshtRefEngBOM  as _EngBOMExtension  on $projection.EngSnapshotRefUUID = _EngBOMExtension.EngSnapshotRefUUID
 association [0..1] to E_EngSnpshtRefDoc     as _DocExtension     on $projection.EngSnapshotRefUUID = _DocExtension.EngSnapshotRefUUID
 association [0..1] to E_EngSnpshtRefVislDoc as _VisualDocExtension on $projection.EngSnapshotRefUUID = _VisualDocExtension.EngSnapshotRefUUID     
{
  key reference.uuid as EngSnapshotRefUUID,
      reference.hdr_uuid as EngSnapshotUUID,                                
      reference.type as EngSnpshtRefType,
      reference.ref_key1 as EngSnpshtRefKey1,
      reference.ref_key2 as EngSnpshtRefKey2,
      reference.ref_key3 as EngSnpshtRefKey3,
      reference.ref_key4 as EngSnpshtRefKey4,
      reference.ref_key5 as EngSnpshtRefKey5,
      @Semantics.user.createdBy: true    
      reference.created_by as CreatedByUser,
      @Semantics.systemDateTime.createdAt: true
      reference.created_at as CreationDateTime,
      @Semantics.user.lastChangedBy: true
      reference.changed_by as LastChangedByUser,
      @Semantics.systemDateTime.lastChangedAt: true
      reference.changed_at as LastChangeDateTime,
      
      @ObjectModel.association.type:  [ #TO_COMPOSITION_PARENT, #TO_COMPOSITION_ROOT ]
      _EngSnpshtHdr
}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"MPE_SNP_OBJ_REF"
],
"ASSOCIATED":
[
"E_ENGSNPSHTREFDOC",
"E_ENGSNPSHTREFENGBOM",
"E_ENGSNPSHTREFVISLDOC",
"I_ENGSNPSHTHDRTP"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/