I_CreditorFinancialData

DDL: I_CREDITORFINANCIALDATA SQL: IFICREFIDAT Type: view BASIC

Creditor Financial Data

I_CreditorFinancialData is a Basic CDS View (Dimension) that provides data about "Creditor Financial Data" in SAP S/4HANA. It reads from 1 data source (lfb1) and exposes 18 fields with key fields Creditor, CompanyCode. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
lfb1 lfb1 from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_Supplier _Supplier $projection.Creditor = _Supplier.Supplier
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_AccountingClerk _AccountingClerk $projection.CompanyCode = _AccountingClerk.CompanyCode and $projection.AccountingClerk = _AccountingClerk.AccountingClerk

Annotations (12)

NameValueLevelField
EndUserText.label Creditor Financial Data view
AbapCatalog.sqlViewName IFICREFIDAT view
VDM.viewType #BASIC view
ObjectModel.representativeKey Creditor view
Analytics.dataCategory #DIMENSION view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
Metadata.allowExtensions true view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #XL view
ObjectModel.usageType.dataClass #MIXED view

Fields (18)

KeyFieldSource TableSource FieldDescription
KEY Creditor
KEY CompanyCode lfb1 bukrs
ReconciliationAccount
AuthorizationGroup lfb1 begru
InterestCalculationCode
PaymentBlockingReason
Note
AccountingClerk
AlternativePayee
InterestCalculationDate
IntrstCalcFrequencyInMonths
APARToleranceGroup
HouseBank
ItemIsToBePaidSeparately
PaymentIsToBeSentByEDI
_CompanyCode _CompanyCode
_Supplier _Supplier
_AccountingClerk _AccountingClerk
@EndUserText.label: 'Creditor Financial Data'
@AbapCatalog.sqlViewName: 'IFICREFIDAT'
@VDM.viewType: #BASIC
@ObjectModel.representativeKey: 'Creditor'
@Analytics: { dataCategory: #DIMENSION }
@AccessControl.authorizationCheck: #CHECK
@ClientHandling.algorithm: #SESSION_VARIABLE
@AccessControl.personalData.blocking: #REQUIRED
@Metadata.allowExtensions:true
@ObjectModel.usageType.serviceQuality:#C
@ObjectModel.usageType.sizeCategory: #XL
@ObjectModel.usageType.dataClass:#MIXED

define view I_CreditorFinancialData
  as select from lfb1
  //left outer join t001s on  lfb1.bukrs = t001s.bukrs and

  //                          lfb1.busab = t001s.busab


  association [0..1] to I_Supplier        as _Supplier        on  $projection.Creditor = _Supplier.Supplier
  association [0..1] to I_CompanyCode     as _CompanyCode     on  $projection.CompanyCode = _CompanyCode.CompanyCode
  association [0..1] to I_AccountingClerk as _AccountingClerk on  $projection.CompanyCode     = _AccountingClerk.CompanyCode
                                                              and $projection.AccountingClerk = _AccountingClerk.AccountingClerk

{

      @ObjectModel.foreignKey.association: '_Supplier'
  key cast(lfb1.lifnr as fis_lifnr)    as Creditor,
      @ObjectModel.foreignKey.association: '_CompanyCode'
  key lfb1.bukrs                       as CompanyCode,
      cast( lfb1.akont as farp_akont)  as ReconciliationAccount,
      lfb1.begru                       as AuthorizationGroup,
      cast( lfb1.vzskz as farp_vzskz)  as InterestCalculationCode,
      cast(lfb1.zahls as dzahls)       as PaymentBlockingReason,
      cast( lfb1.kverm as farp_kverm)  as Note,
      @ObjectModel.foreignKey.association: '_AccountingClerk'
      cast( lfb1.busab as farp_busab)  as AccountingClerk,
      //t001s.sname as AccountingClerkName, // Can be retrieved via the association _AccountingClerk if needed

      //cast(lfb1.lnrze as FARP_LNRZE) as HeadOfficeAccount,

      cast( lfb1.lnrzb as farp_lnrzb)  as AlternativePayee,
      cast( lfb1.zindt as farp_dzindt) as InterestCalculationDate,
      cast( lfb1.zinrt as farp_dzinrt) as IntrstCalcFrequencyInMonths,
      cast( lfb1.togru as farp_togru)  as APARToleranceGroup,
      cast( lfb1.hbkid as farp_hbkid)  as HouseBank,
      cast( lfb1.xpore as farp_xpore)  as ItemIsToBePaidSeparately,
      cast( lfb1.xedip as farp_xedip)  as PaymentIsToBeSentByEDI,
      _CompanyCode,
      _Supplier,
      _AccountingClerk

}
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"LFB1"
],
"ASSOCIATED":
[
"I_ACCOUNTINGCLERK",
"I_COMPANYCODE",
"I_SUPPLIER"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/