I_APProcFlwSuplrInvcAcctMaint

DDL: I_APPROCFLWSUPLRINVCACCTMAINT SQL: IAPINVACCMNT Type: view BASIC

Supplier Invoice Account Maintenance

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

Data Sources (1)

SourceAliasJoin Type
rbkp rbkp from

Associations (3)

CardinalityTargetAliasCondition
[0..1] I_CompanyCode _CompanyCode $projection.CompanyCode = _CompanyCode.CompanyCode
[0..1] I_Supplier _Supplier $projection.InvoicingParty = _Supplier.Supplier
[0..1] I_Currency _Currency $projection.DocumentCurrency = _Currency.Currency

Annotations (12)

NameValueLevelField
VDM.viewType #BASIC view
AbapCatalog.sqlViewName IAPINVACCMNT view
AbapCatalog.compiler.compareFilter true view
AccessControl.authorizationCheck #CHECK view
ClientHandling.algorithm #SESSION_VARIABLE view
AccessControl.personalData.blocking #REQUIRED view
DataAging.noAgingRestriction false view
ObjectModel.usageType.serviceQuality #C view
ObjectModel.usageType.sizeCategory #L view
ObjectModel.usageType.dataClass #TRANSACTIONAL view
AbapCatalog.preserveKey true view
EndUserText.label Supplier Invoice Account Maintenance view

Fields (81)

KeyFieldSource TableSource FieldDescription
KEY SupplierInvoice rbkp belnr SD Document
KEY FiscalYear rbkp gjahr Settlement Year
SupplierInvoiceUUID rbkp root_key UUID
CompanyCode rbkp bukrs Value
DocumentDate
PostingDate rbkp budat Posting Date
InvoiceReceiptDate rbkp reindat Inv. Recpt Date
SupplierInvoiceIDByInvcgParty rbkp xblnr Reference
InvoicingParty rbkp lifnr Vendor no.
DocumentCurrency rbkp waers Transaction Currency
InvoiceGrossAmount rbkp rmwwr Gross Inv. Amnt
IsInvoice rbkp xrech Invoice
UnplannedDeliveryCost rbkp beznk Unpl. Del. Csts
DocumentHeaderText rbkp bktxt Header Text
CreatedByUser rbkp erfnam Entered By
LastChangedByUser rbkp usnam User Name
SuplrInvcExtCreatedByUser rbkp ername User Name
CreationDate rbkp cpudt Imported On
ManualCashDiscount rbkp wskto CD Amount
DueCalculationBaseDate
CashDiscount1Percent rbkp zbd1p Max. Cash Dis. (%)
CashDiscount1Days rbkp zbd1t Payment in
CashDiscount2Percent rbkp zbd2p Nrm. Cash Dis. (%)
CashDiscount2Days rbkp zbd2t Payment in
NetPaymentDays rbkp zbd3t Payment in
PaymentBlockingReason rbkp zlspr Pymt Lock Rsn
AccountingDocumentType rbkp blart Rep. rec. doc. type
SupplierInvoiceStatus rbkp rbstat not in use
SupplierInvoiceOrigin rbkp ivtyp IV category
BusinessNetworkOrigin rbkp business_network_origin Bus. Network Origin
ReverseDocument rbkp stblg Reversed With
ReverseDocumentFiscalYear rbkp stjah Year
SuplrInvcTransactionCategory rbkp vgart Transactn Type
SuplrInvcManuallyReducedAmount rbkp lieffn Supp.Error(net)
SuplrInvcManualReductionTaxAmt rbkp lieffmw Tax, Supp.Error
SuplrInvcAutomReducedAmount rbkp arkuen Inv. reduction
SuplrInvcAutomReductionTaxAmt rbkp arkuemw Tax inv. red.
BPBankAccountInternalID rbkp bvtyp Part.bank type
StateCentralBankPaymentReason rbkp lzbkz SCB Ind.
SupplyingCountry rbkp landl Supply C/R
PaymentMethod rbkp zlsch Pymt Meth.
PaymentMethodSupplement rbkp uzawe Pmnt Meth. Sup.
PaymentReference rbkp kidno Payment Ref.
InvoiceReference rbkp rebzg Invoice Ref.
InvoiceReferenceFiscalYear rbkp rebzj Fiscal Year
FixedCashDiscount rbkp zbfix Fixed
UnplannedDeliveryCostTaxCode rbkp mwskz_bnk Tax Code
UnplndDelivCostTaxJurisdiction rbkp txjcd_bnk Tax Jur.
AssignmentReference rbkp zuonr Finance Project
SupplierPostingLineItemText
TaxIsCalculatedAutomatically rbkp xmwst Calculate Tax
BusinessPlace rbkp bupla Business place
PaytSlipWthRefSubscriber rbkp esrnr not in use
PaytSlipWthRefCheckDigit rbkp esrpz not in use
PaytSlipWthRefReference rbkp esrre not in use
IsEndOfPurposeBlocked rbkp iseopblocked Business Usage Comp.
BusinessSectionCode rbkp secco Section Code
BusinessArea rbkp gsber Business Area
TaxDeterminationDate rbkp txdat Tax Date
DeliveryOfGoodsReportingCntry rbkp egmld Reporting C/R
SupplierVATRegistration rbkp stceg VAT Reg. No.
IsEUTriangularDeal rbkp xegdr EU Triang. Deal
TaxReportingDate rbkp vatdate Valid From
TaxCountry rbkp tax_country Tax Ctry/Rgn
UnplndDeliveryCostTaxCountry rbkp tax_country_bnk Tax Ctry/Reg.
SuplrInvcPrepaymentStatus rbkp prepay_status Prepayment Status
JrnlEntryCntrySpecificRef1 rbkp glo_ref1_hd Reference
JrnlEntryCntrySpecificDate1 rbkp glo_dat1_hd Date
JrnlEntryCntrySpecificRef2 rbkp glo_ref2_hd Country/Region Specific Reference 2
JrnlEntryCntrySpecificDate2 rbkp glo_dat2_hd Country/Region Specific Date 2
JrnlEntryCntrySpecificRef3 rbkp glo_ref3_hd Country/Region Specific Reference 3
JrnlEntryCntrySpecificDate3 rbkp glo_dat3_hd Country/Region Specific Date 3
JrnlEntryCntrySpecificRef4 rbkp glo_ref4_hd Country/Region Specific Reference 4
JrnlEntryCntrySpecificDate4 rbkp glo_dat4_hd Country/Region Specific Date 4
JrnlEntryCntrySpecificRef5 rbkp glo_ref5_hd Country/Region Specific Reference 5
JrnlEntryCntrySpecificDate5 rbkp glo_dat5_hd Country/Region Specific Date 5
JrnlEntryCntrySpecificBP1 rbkp glo_bp1_hd Ctry/Reg. Specific Business Partner 1
JrnlEntryCntrySpecificBP2 rbkp glo_bp2_hd Ctry/Reg. Specific Business Partner 2
_CompanyCode _CompanyCode
_Supplier _Supplier
_Currency _Currency

Derived SQL interpretation, reconstructed from the parsed view metadata (data sources, associations, and field mappings). SAP annotations are omitted and the structure is reformulated as SQL — this is a functional approximation, not the verbatim SAP source.

-- Derived SQL interpretation of CDS view I_APProcFlwSuplrInvcAcctMaint.
-- Reconstructed from parsed metadata (data sources, associations, fields).
-- SAP annotations are omitted and the structure is reformulated as SQL;
-- this is a functional approximation, not the verbatim SAP source. Some join
-- conditions may be unavailable and a few CDS constructs are kept as-is.
-- SQL view name: IAPINVACCMNT

CREATE VIEW I_APProcFlwSuplrInvcAcctMaint AS
SELECT
  rbkp.belnr AS SupplierInvoice,
  rbkp.gjahr AS FiscalYear,
  rbkp.root_key AS SupplierInvoiceUUID,
  rbkp.bukrs AS CompanyCode,
  cast( rbkp.bldat as invdt preserving type) AS DocumentDate,
  rbkp.budat AS PostingDate,
  rbkp.reindat AS InvoiceReceiptDate,
  rbkp.xblnr AS SupplierInvoiceIDByInvcgParty,
  rbkp.lifnr AS InvoicingParty,
  rbkp.waers AS DocumentCurrency,
  rbkp.rmwwr AS InvoiceGrossAmount,
  rbkp.xrech AS IsInvoice,
  rbkp.beznk AS UnplannedDeliveryCost,
  rbkp.bktxt AS DocumentHeaderText,
  rbkp.erfnam AS CreatedByUser,
  rbkp.usnam AS LastChangedByUser,
  rbkp.ername AS SuplrInvcExtCreatedByUser,
  rbkp.cpudt AS CreationDate,
  rbkp.wskto AS ManualCashDiscount,
  cast( rbkp.zfbdt as mmiv_zfbdt preserving type ) AS DueCalculationBaseDate,
  rbkp.zbd1p AS CashDiscount1Percent,
  rbkp.zbd1t AS CashDiscount1Days,
  rbkp.zbd2p AS CashDiscount2Percent,
  rbkp.zbd2t AS CashDiscount2Days,
  rbkp.zbd3t AS NetPaymentDays,
  rbkp.zlspr AS PaymentBlockingReason,
  rbkp.blart AS AccountingDocumentType,
  rbkp.rbstat AS SupplierInvoiceStatus,
  rbkp.ivtyp AS SupplierInvoiceOrigin,
  rbkp.business_network_origin AS BusinessNetworkOrigin,
  rbkp.stblg AS ReverseDocument,
  rbkp.stjah AS ReverseDocumentFiscalYear,
  rbkp.vgart AS SuplrInvcTransactionCategory,
  rbkp.lieffn AS SuplrInvcManuallyReducedAmount,
  rbkp.lieffmw AS SuplrInvcManualReductionTaxAmt,
  rbkp.arkuen AS SuplrInvcAutomReducedAmount,
  rbkp.arkuemw AS SuplrInvcAutomReductionTaxAmt,
  rbkp.bvtyp AS BPBankAccountInternalID,
  rbkp.lzbkz AS StateCentralBankPaymentReason,
  rbkp.landl AS SupplyingCountry,
  rbkp.zlsch AS PaymentMethod,
  rbkp.uzawe AS PaymentMethodSupplement,
  rbkp.kidno AS PaymentReference,
  rbkp.rebzg AS InvoiceReference,
  rbkp.rebzj AS InvoiceReferenceFiscalYear,
  rbkp.zbfix AS FixedCashDiscount,
  rbkp.mwskz_bnk AS UnplannedDeliveryCostTaxCode,
  rbkp.txjcd_bnk AS UnplndDelivCostTaxJurisdiction,
  rbkp.zuonr AS AssignmentReference,
  cast ( rbkp.sgtxt as farp_sgtxt preserving type ) AS SupplierPostingLineItemText,
  rbkp.xmwst AS TaxIsCalculatedAutomatically,
  rbkp.bupla AS BusinessPlace,
  rbkp.esrnr AS PaytSlipWthRefSubscriber,
  rbkp.esrpz AS PaytSlipWthRefCheckDigit,
  rbkp.esrre AS PaytSlipWthRefReference,
  rbkp.iseopblocked AS IsEndOfPurposeBlocked,
  rbkp.secco AS BusinessSectionCode,
  rbkp.gsber AS BusinessArea,
  rbkp.txdat AS TaxDeterminationDate,
  rbkp.egmld AS DeliveryOfGoodsReportingCntry,
  rbkp.stceg AS SupplierVATRegistration,
  rbkp.xegdr AS IsEUTriangularDeal,
  rbkp.vatdate AS TaxReportingDate,
  rbkp.tax_country AS TaxCountry,
  rbkp.tax_country_bnk AS UnplndDeliveryCostTaxCountry,
  rbkp.prepay_status AS SuplrInvcPrepaymentStatus,
  rbkp.glo_ref1_hd AS JrnlEntryCntrySpecificRef1,
  rbkp.glo_dat1_hd AS JrnlEntryCntrySpecificDate1,
  rbkp.glo_ref2_hd AS JrnlEntryCntrySpecificRef2,
  rbkp.glo_dat2_hd AS JrnlEntryCntrySpecificDate2,
  rbkp.glo_ref3_hd AS JrnlEntryCntrySpecificRef3,
  rbkp.glo_dat3_hd AS JrnlEntryCntrySpecificDate3,
  rbkp.glo_ref4_hd AS JrnlEntryCntrySpecificRef4,
  rbkp.glo_dat4_hd AS JrnlEntryCntrySpecificDate4,
  rbkp.glo_ref5_hd AS JrnlEntryCntrySpecificRef5,
  rbkp.glo_dat5_hd AS JrnlEntryCntrySpecificDate5,
  rbkp.glo_bp1_hd AS JrnlEntryCntrySpecificBP1,
  rbkp.glo_bp2_hd AS JrnlEntryCntrySpecificBP2
FROM rbkp
LEFT OUTER JOIN I_CompanyCode AS _CompanyCode ON CompanyCode = _CompanyCode.CompanyCode  -- association [0..1]
LEFT OUTER JOIN I_Supplier AS _Supplier ON InvoicingParty = _Supplier.Supplier  -- association [0..1]
LEFT OUTER JOIN I_Currency AS _Currency ON DocumentCurrency = _Currency.Currency  -- association [0..1]
;