I_SuplrInvoiceAdditionalData

DDL: I_SUPLRINVOICEADDITIONALDATA SQL: ISIADDITIONLDATA Type: view BASIC

Supplier Invoice Additional Data

I_SuplrInvoiceAdditionalData is a Basic CDS View that provides data about "Supplier Invoice Additional Data" in SAP S/4HANA. It reads from 1 data source (rbkp) and exposes 48 fields with key fields SupplierInvoice, FiscalYear. It has 3 associations to related views.

Data Sources (1)

SourceAliasJoin Type
rbkp rbkp from

Associations (3)

CardinalityTargetAliasCondition
[1..1] I_SupplierInvoice _SupplierInvoice $projection.SupplierInvoice = _SupplierInvoice.SupplierInvoice and $projection.FiscalYear = _SupplierInvoice.FiscalYear
[1..1] I_Bank_2 _Bank $projection.BankCountry = _Bank.BankCountry and $projection.Bank = _Bank.BankInternalID
[1..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode

Annotations (12)

NameValueLevelField
EndUserText.label Supplier Invoice Additional Data view
VDM.viewType #BASIC view
VDM.lifecycle.contract.type #SAP_INTERNAL_API view
AbapCatalog.sqlViewName ISIADDITIONLDATA view
AccessControl.authorizationCheck #MANDATORY view
ClientHandling.algorithm #SESSION_VARIABLE view
ObjectModel.usageType.serviceQuality #B view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AccessControl.personalData.blocking #REQUIRED view
AbapCatalog.preserveKey true view
AbapCatalog.compiler.compareFilter true view

Fields (48)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice rbkp belnr
KEY FiscalYear rbkp gjahr
InvoicingPartyName1 rbkp name1
InvoicingPartyName2 rbkp name2
InvoicingPartyName3 rbkp name3
InvoicingPartyName4 rbkp name4
PostalCode rbkp pstlz
CityName rbkp ort01
Country rbkp land1
StreetAddressName rbkp stras
POBox rbkp pfach
POBoxPostalCode rbkp pstl2
PostOfficeBankAccount rbkp pskto
BankAccount rbkp bankn
Bank rbkp bankl
BankCountry rbkp banks
TaxID1 rbkp stcd1
TaxID2 rbkp stcd2
TaxID3 rbkp stcd3
TaxID4 rbkp stcd4
TaxID5 rbkp stcd5
OneTmeAccountIsVATLiable rbkp stkzu
OneTmeAcctIsEqualizationTxSubj
Region rbkp regio
BankControlKey rbkp bkont
DataExchangeInstructionKey rbkp dtaws
DataMediumExchangeIndicator rbkp dtams
LanguageCode
IsOneTimeAccount rbkp xcpdk
PaymentRecipient rbkp empfg
AccountTaxType rbkp fityp
TaxNumberType rbkp stcdt
IsNaturalPerson
BankDetailReference rbkp bkref
RepresentativeName rbkp j_1kfrepre
BusinessType rbkp j_1kftbus
IndustryType rbkp j_1kftind
FormOfAddressName rbkp anred
VATRegistration rbkp stceg
OneTimeAcctCntrySpecificRef1 rbkp glo_re1_ot
IBAN rbkp pyiban
SWIFTCode _Bank SWIFTCode
OneTimeBusinessPartnerEmail rbkp intad
CompanyCode _SupplierInvoice CompanyCode
IsEndOfPurposeBlocked _SupplierInvoice IsEndOfPurposeBlocked
_SupplierInvoice _SupplierInvoice
_Bank _Bank
_CompanyCode _CompanyCode
@EndUserText.label: 'Supplier Invoice Additional Data'
@VDM.viewType : #BASIC
@VDM.lifecycle.contract.type: #SAP_INTERNAL_API 
@AbapCatalog.sqlViewName: 'ISIADDITIONLDATA'
@AccessControl.authorizationCheck: #MANDATORY
@ClientHandling.algorithm: #SESSION_VARIABLE
@ObjectModel.usageType.serviceQuality: #B
@ObjectModel.usageType.sizeCategory: #L
@ObjectModel.usageType.dataClass: #TRANSACTIONAL
@AccessControl.personalData.blocking:#REQUIRED 
@AbapCatalog.preserveKey:true 
@AbapCatalog.compiler.compareFilter:true

define view I_SuplrInvoiceAdditionalData
  as select from    rbkp
   
  association [1..1] to I_SupplierInvoice as _SupplierInvoice on  $projection.SupplierInvoice = _SupplierInvoice.SupplierInvoice
                                                              and $projection.FiscalYear      = _SupplierInvoice.FiscalYear                                                   
  association [1..1] to I_Bank_2          as _Bank            on  $projection.BankCountry     = _Bank.BankCountry
                                                              and $projection.Bank            = _Bank.BankInternalID    
  association [1..1] to I_CompanyCode     as _CompanyCode     on  $projection.CompanyCode     = _CompanyCode.CompanyCode                                                                                                         
    
{ 

  key rbkp.belnr                                        as SupplierInvoice, 
  key rbkp.gjahr                                        as FiscalYear, 
      rbkp.name1                                        as InvoicingPartyName1,
      rbkp.name2                                        as InvoicingPartyName2,
      rbkp.name3                                        as InvoicingPartyName3,
      rbkp.name4                                        as InvoicingPartyName4,
      rbkp.pstlz                                        as PostalCode,
      rbkp.ort01                                        as CityName,
      rbkp.land1                                        as Country,
      rbkp.stras                                        as StreetAddressName,
      rbkp.pfach                                        as POBox,
      rbkp.pstl2                                        as POBoxPostalCode,
      rbkp.pskto                                        as PostOfficeBankAccount,
      rbkp.bankn                                        as BankAccount,      
      rbkp.bankl                                        as Bank,   
      rbkp.banks                                        as BankCountry,
      rbkp.stcd1                                        as TaxID1,
      rbkp.stcd2                                        as TaxID2,
      rbkp.stcd3                                        as TaxID3,
      rbkp.stcd4                                        as TaxID4,
      rbkp.stcd5                                        as TaxID5,
      rbkp.stkzu                                        as OneTmeAccountIsVATLiable,
      cast (rbkp.stkza as xfeld preserving type)        as OneTmeAcctIsEqualizationTxSubj,
      rbkp.regio                                        as Region,
      rbkp.bkont                                        as BankControlKey,
      rbkp.dtaws                                        as DataExchangeInstructionKey,
      rbkp.dtams                                        as DataMediumExchangeIndicator,
      cast (rbkp.spras as spras)                        as LanguageCode,
      rbkp.xcpdk                                        as IsOneTimeAccount,
      rbkp.empfg                                        as PaymentRecipient,
      rbkp.fityp                                        as AccountTaxType,
      rbkp.stcdt                                        as TaxNumberType,
      cast (rbkp.stkzn as xfeld preserving type)        as IsNaturalPerson,
      rbkp.bkref                                        as BankDetailReference,
      rbkp.j_1kfrepre                                   as RepresentativeName,
      rbkp.j_1kftbus                                    as BusinessType,
      rbkp.j_1kftind                                    as IndustryType,
      rbkp.anred                                        as FormOfAddressName,
      rbkp.stceg                                        as VATRegistration,
      rbkp.glo_re1_ot                                   as OneTimeAcctCntrySpecificRef1,
      rbkp.pyiban                                       as IBAN,   
      _Bank.SWIFTCode                                   as SWIFTCode,
      rbkp.intad                                        as OneTimeBusinessPartnerEmail, 
      
      @ObjectModel.foreignKey.association: '_CompanyCode'
      _SupplierInvoice.CompanyCode                      as CompanyCode, 
      _SupplierInvoice.IsEndOfPurposeBlocked            as IsEndOfPurposeBlocked,  
                                         
      /* Associations */
      @ObjectModel.association.type: [#TO_COMPOSITION_ROOT, #TO_COMPOSITION_PARENT]
      _SupplierInvoice,
      _Bank,
      _CompanyCode
} 
/*+[internal] {
"BASEINFO":
{
"FROM":
[
"I_BANK_2",
"I_SUPPLIERINVOICE",
"RBKP"
],
"ASSOCIATED":
[
"I_BANK_2",
"I_COMPANYCODE",
"I_SUPPLIERINVOICE"
],
"BASE":
[],
"ANNO_REF":
[],
"SCALAR_FUNCTION":
[],
"VERSION":0,
"ANNOREF_EVALUATION_ERROR":""
}
}*/