I_CAInterestNoticeHeader

DDL: I_CAINTERESTNOTICEHEADER SQL: ICAINTRSTNTCHDR Type: view COMPOSITE

View for Interest Notice Header Data

I_CAInterestNoticeHeader is a Composite CDS View that provides data about "View for Interest Notice Header Data" in SAP S/4HANA. It reads from 1 data source (I_CADocumentHeader) and exposes 24 fields with key fields CACorrespondence, CACorrespondenceType.

Data Sources (1)

SourceAliasJoin Type
I_CADocumentHeader Interest from

Parameters (1)

NameTypeDefault
P_Language sylangu

Annotations (9)

NameValueLevelField
EndUserText.label View for Interest Notice Header Data view
VDM.viewType #COMPOSITE view
ObjectModel.usageType.serviceQuality #D view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.authorizationCheck #CHECK view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.sqlViewName ICAINTRSTNTCHDR view

Fields (24)

KeyFieldSource TableSource FieldDescription
KEY CACorrespondence Correspndc CACorrespondence
KEY CACorrespondenceType Correspndc CACorrespondenceType
BusinessPartner Correspndc BusinessPartner
CAContract Correspndc CAContract
ContractAccount Correspndc ContractAccount
CompanyCode Correspndc CompanyCode
Language Correspndc Language
ContractAccountName
CorrespondenceIssueDate Correspndc CorrespondenceIssueDate
CADocumentNumber I_CADocumentHeader CADocumentNumber
CAApplicationArea I_CADocumentHeader CAApplicationArea
CADocumentType I_CADocumentHeader CADocumentType
CADocumentOriginCode I_CADocumentHeader CADocumentOriginCode
CreatedByUser I_CADocumentHeader CreatedByUser
CreationDate I_CADocumentHeader CreationDate
CreationTime I_CADocumentHeader CreationTime
DocumentDate I_CADocumentHeader DocumentDate
CAPostingDate I_CADocumentHeader CAPostingDate
CADocumentClass I_CADocumentHeader CADocumentClass
CATaxCompanyCode I_CADocumentHeader CATaxCompanyCode
CAReversalDocumentNumber I_CADocumentHeader CAReversalDocumentNumber
CADocumentVersion I_CADocumentHeader CADocumentVersion
TransactionCurrency Amount TransactionCurrency
TotalInterestAmountInTransCrcy Amount TotalInterestAmountInTransCrcy
@EndUserText.label: 'View for Interest Notice Header Data'
@VDM.viewType: #COMPOSITE
@ObjectModel.usageType.serviceQuality: #D
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass: #MIXED
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.authorizationCheck: #CHECK
@AccessControl.personalData.blocking: #REQUIRED
@AbapCatalog.sqlViewName: 'ICAINTRSTNTCHDR'
define view I_CAInterestNoticeHeader 
  with parameters
  @Consumption.hidden: true
  @Environment.systemField: #SYSTEM_LANGUAGE
  P_Language:sylangu
  as select from I_CADocumentHeader as Interest
    join I_CACorrespondenceHeader as Correspndc 
           on  Interest.CADocumentNumber              = Correspndc.Correspondence1stEntityData
           and Correspndc.Correspondence1stEntityIdn  = '0001'
           and (Correspndc.CACorrespondenceType = '0007' or Correspndc.CACorrespondenceType = '0018')
    join P_CAInterestNoticeTotalAmount as Amount
           on Interest.CADocumentNumber               = Amount.CADocumentNumber
           {
    key Correspndc.CACorrespondence,
    key Correspndc.CACorrespondenceType,
        Correspndc.BusinessPartner,
        Correspndc.CAContract,
        Correspndc.ContractAccount,
        Correspndc.CompanyCode,
        Correspndc.Language,
        Correspndc._ContrAcc.ContractAccountName,
        Correspndc.CorrespondenceIssueDate,
        Interest.CADocumentNumber,
        Interest.CAApplicationArea,
        Interest.CADocumentType,
        Interest.CADocumentOriginCode,
        Interest.CreatedByUser,
        Interest.CreationDate,
        Interest.CreationTime,
        Interest.DocumentDate,
        Interest.CAPostingDate,
        Interest.CADocumentClass, 
        Interest.CATaxCompanyCode,
        Interest.CAReversalDocumentNumber,
        Interest.CADocumentVersion,
        Amount.TransactionCurrency,
        @Semantics.amount.currencyCode: 'TransactionCurrency'
        Amount.TotalInterestAmountInTransCrcy  
}

/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_CACORRESPONDENCEHEADER",
"I_CADOCUMENTHEADER",
"I_CONTRACTACCOUNTHEADER",
"P_CAINTERESTNOTICETOTALAMOUNT"
],
"ASSOCIATED":
[],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/