P_CAInterestNoticeDupHeader

DDL: P_CAINTERESTNOTICEDUPHEADER SQL: PCAINTRSTCORRDUP Type: view COMPOSITE

P_CAInterestNoticeDupHeader is a Composite CDS View in SAP S/4HANA. It reads from 1 data source (I_CACorrespondenceHeader) and exposes 2 fields with key field CACorrespondence.

Data Sources (1)

SourceAliasJoin Type
I_CACorrespondenceHeader I_CACorrespondenceHeader from

Annotations (7)

NameValueLevelField
VDM.viewType #COMPOSITE view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #NOT_REQUIRED view
AbapCatalog.preserveKey true view
AbapCatalog.sqlViewName PCAINTRSTCORRDUP view
AbapCatalog.compiler.compareFilter true view
VDM.private true view

Fields (2)

KeyFieldSource TableSource FieldDescription
KEY CACorrespondence CACorrespondence
Correspondence1stEntityData Correspondence1stEntityData
@VDM.viewType: #COMPOSITE
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #NOT_REQUIRED
@AbapCatalog.preserveKey:true
@AbapCatalog.sqlViewName: 'PCAINTRSTCORRDUP'
@AbapCatalog.compiler.compareFilter: true
@VDM.private: true

//In interest overview app, latest created correspondence of a interest notice document is needed

define view P_CAInterestNoticeDupHeader 
as select from I_CACorrespondenceHeader 
{
  key  CACorrespondence,
       CONCAT( CreationDate, CreationTime )as CreationTimestamp,
       Correspondence1stEntityData
}
where
      ( CACorrespondenceType       = '0018' or CACorrespondenceType       = '0007' )
 and Correspondence1stEntityIdn = '0001'
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CACORRESPONDENCEHEADER"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/