R_RecrrgSuplrInvcTmplTP
template of recurring supplier invoice
R_RecrrgSuplrInvcTmplTP is a Transactional CDS View that provides data about "template of recurring supplier invoice" in SAP S/4HANA. It reads from 1 data source (fap_rsiv_tmplr) and exposes 102 fields with key field RecrrgSuplrInvcTmplUUID. It has 13 associations to related views.
Data Sources (1)
| Source | Alias | Join Type |
|---|---|---|
| fap_rsiv_tmplr | _Tmpl | from |
Associations (13)
| Cardinality | Target | Alias | Condition |
|---|---|---|---|
| [0..1] | I_CompanyCode | _CompanyCode | $projection.CompanyCode = _CompanyCode.CompanyCode |
| [0..1] | I_Supplier | _Supplier | $projection.InvoicingParty = _Supplier.Supplier |
| [0..1] | I_PaymentTerms | _PaymentTerms | $projection.PaymentTerms = _PaymentTerms.PaymentTerms |
| [0..1] | I_AccountingDocumentType | _AccountDocType | $projection.AccountingDocumentType = _AccountDocType.AccountingDocumentType |
| [0..1] | I_RecurrencePattern | _RecurrenceTypeText | $projection.RecurrenceType = _RecurrenceTypeText.RecurrenceType |
| [0..1] | I_RecurrencePatternEndType | _RecurrenceEndTypeText | $projection.RecurrenceEndType = _RecurrenceEndTypeText.RecurrenceEndType |
| [0..1] | I_CalendarDay | _MonthDayText | $projection.CalendarDay = _MonthDayText.CalendarDay |
| [0..1] | I_RecurringSupplierInvoiceItem | _PostStatus | $projection.RecrrgSuplrInvcTmplUUID = _PostStatus.RecrrgSuplrInvcTmplUUID |
| [0..1] | I_ForeignCrcyAmtCnvrsnRule | _ForeignCrcyAmtCnvrsnRuleText | $projection.ForeignCrcyAmtCnvrsnRule = _ForeignCrcyAmtCnvrsnRuleText.ForeignCrcyAmtCnvrsnRule |
| [0..1] | I_SupplierBankDetailsVH | _BPBankAlias | $projection.SupplierBankType = _BPBankAlias.BPBankAccountInternalID and $projection.InvoicingParty = _BPBankAlias.Supplier |
| [0..*] | R_RecrrgSuplrInvcTmplItemTP | _RecrrgSuplrInvcTmplItem | |
| [0..*] | R_RecrrgSuplrInvcTmplInstceTP | _RecrrgSuplrInvcTmplInstce | |
| [0..*] | R_RecrrgSuplrInvcTmplWhgdTaxTP | _RecrrgSuplrInvcTmplWhgdTax | |
Annotations (11)
| Name | Value | Level | Field |
|---|---|---|---|
| EndUserText.label | template of recurring supplier invoice | view | |
| Search.searchable | true | view | |
| AccessControl.authorizationCheck | #CHECK | view | |
| AccessControl.personalData.blocking | #REQUIRED | view | |
| ObjectModel.transactionalProcessingEnabled | true | view | |
| ObjectModel.usageType.sizeCategory | #M | view | |
| ObjectModel.usageType.serviceQuality | #C | view | |
| ObjectModel.usageType.dataClass | #TRANSACTIONAL | view | |
| VDM.viewType | #TRANSACTIONAL | view | |
| VDM.lifecycle.contract.type | #SAP_INTERNAL_API | view | |
| ObjectModel.sapObjectNodeType.name | SupplierInvoice | view |
Fields (102)
| Key | Field | Source Table | Source Field | Description |
|---|---|---|---|---|
| KEY | RecrrgSuplrInvcTmplUUID | fap_rsiv_tmplr | recrrgsuplrinvctmpluuid | GUID |
| Language | ||||
| RecrrgSupplierInvoiceTemplate | fap_rsiv_tmplr | recrrgsupplierinvoicetemplate | Document Number | |
| FiscalYear | fap_rsiv_tmplr | fiscalyear | G/L Fiscal Year | |
| AccountingDocumentType | fap_rsiv_tmplr | accountingdocumenttype | Journal Entry Type | |
| CompanyCode | fap_rsiv_tmplr | companycode | Receiver Company Code | |
| DocumentReferenceID | fap_rsiv_tmplr | documentreferenceid | Reference | |
| AccountingDocumentHeaderText | fap_rsiv_tmplr | accountingdocumentheadertext | Doc.Header Text | |
| TotalAmountInTransactionCrcy | fap_rsiv_tmplr | totalamountintransactioncrcy | Total Amt In Tr Crcy | |
| InvoicingParty | fap_rsiv_tmplr | invoicingparty | Supplier | |
| ExchangeRate | fap_rsiv_tmplr | exchangerate | Exchange rate | |
| GrossAmtInTC | fap_rsiv_tmplr | grossamtintc | Gross Amt in Trans Crcy | |
| TotalAmountInLocalCurrency | fap_rsiv_tmplr | totalamountinlocalcurrency | RNPT Item Amount | |
| TransactionCurrency | fap_rsiv_tmplr | transactioncurrency | Transaction Currency | |
| LocalCurrency | fap_rsiv_tmplr | localcurrency | Local Currency | |
| DocumentCurrency | fap_rsiv_tmplr | documentcurrency | Document Currency | |
| TransactionDate | fap_rsiv_tmplr | transactiondate | Value Date | |
| AssignmentReference | fap_rsiv_tmplr | assignmentreference | Assignment Reference | |
| SupplierBankType | fap_rsiv_tmplr | supplierbanktype | Partner Bank Type | |
| ibanendasIBAN | ||||
| swiftcodeendasSWIFTCode | ||||
| PaymentSystemendasPaymentSystem | ||||
| AliasTypeendasAliasType | ||||
| BusinessArea | fap_rsiv_tmplr | businessarea | Business Area | |
| CompanyCodeCountry | fap_rsiv_tmplr | companycodecountry | Reporting Ctry/Reg. | |
| ActiveCountry | fap_rsiv_tmplr | activecountry | Supply C/R | |
| SupplierVATRegistration | fap_rsiv_tmplr | suppliervatregistration | VAT Registration No. | |
| IsEUTriangularDeal | fap_rsiv_tmplr | iseutriangulardeal | Is EU Triangular Deal | |
| DocumentItemText | fap_rsiv_tmplr | documentitemtext | Text | |
| CreatedByUser | fap_rsiv_tmplr | createdbyuser | User Name | |
| UserName | fap_rsiv_tmplr | username | User who owns item | |
| CreationDate | fap_rsiv_tmplr | creationdate | Time Stamp | |
| RecrrgSuplrInvcIsSrvcInvoice | fap_rsiv_tmplr | recrrgsuplrinvcissrvcinvoice | Service Ind. | |
| StateCentralBankPaymentReason | fap_rsiv_tmplr | statecentralbankpaymentreason | SCB Ind. | |
| SupplyingCountry | fap_rsiv_tmplr | supplyingcountry | Supplying Ctry/Reg. | |
| PaymentTerms | fap_rsiv_tmplr | paymentterms | Pyt Terms | |
| PaymentMethod | fap_rsiv_tmplr | paymentmethod | Pymt Meth. | |
| PaymentReference | fap_rsiv_tmplr | paymentreference | Payment Reference | |
| CashDiscount1Days | fap_rsiv_tmplr | cashdiscount1days | Days from Baseline Date for Payment | |
| CashDiscount1Percent | fap_rsiv_tmplr | cashdiscount1percent | Disc. Percent 1 | |
| CashDiscount2Days | fap_rsiv_tmplr | cashdiscount2days | Days from Baseline Date for Payment | |
| CashDiscount2Percent | fap_rsiv_tmplr | cashdiscount2percent | Disc. Percent 2 | |
| NetPaymentDays | fap_rsiv_tmplr | netpaymentdays | Net Pmt Terms Period | |
| HouseBank | fap_rsiv_tmplr | housebank | House Bank | |
| HouseBankAccount | fap_rsiv_tmplr | housebankaccount | House Bank Account | |
| ManualCashDiscount | fap_rsiv_tmplr | manualcashdiscount | CD Amount | |
| InvoiceReference | fap_rsiv_tmplr | invoicereference | Invoice Reference | |
| PaymentMethodSupplement | fap_rsiv_tmplr | paymentmethodsupplement | Pmnt Meth. Sup. | |
| SuplrInvcPaymentBlockingReason | fap_rsiv_tmplr | suplrinvcpaymentblockingreason | Pmnt block | |
| PaytSlipWthRefCheckDigit | fap_rsiv_tmplr | paytslipwthrefcheckdigit | ISR Check Digit | |
| PaytSlipWthRefReference | fap_rsiv_tmplr | paytslipwthrefreference | QR Reference | |
| PaytSlipWthRefSubscriber | fap_rsiv_tmplr | paytslipwthrefsubscriber | PBC/POR Number | |
| TaxCode | fap_rsiv_tmplr | taxcode | Tax Code | |
| FixedCashDiscount | fap_rsiv_tmplr | fixedcashdiscount | Fixed Cash Discount | |
| TaxBaseAmountInTransCrcy | fap_rsiv_tmplr | taxbaseamountintranscrcy | Value-Added Tax | |
| TaxDeterminationDate | fap_rsiv_tmplr | taxdeterminationdate | Tx Determination Dte | |
| TaxJurisdictionByProvider | fap_rsiv_tmplr | taxjurisdictionbyprovider | Tax Jur. | |
| TaxCountry | fap_rsiv_tmplr | taxcountry | Tax Ctry/Reg. | |
| WithholdingTaxIsEnabled | fap_rsiv_tmplr | withholdingtaxisenabled | Indicator | |
| GLAccount | fap_rsiv_tmplr | glaccount | General Ledger | |
| SettlmtCoCodeTaxCountry | fap_rsiv_tmplr | settlmtcocodetaxcountry | Tax Ctry/Reg. CoCode | |
| StartDate | fap_rsiv_tmplr | startdate | Valid From | |
| FirstOccurrenceDate | fap_rsiv_tmplr | firstoccurrencedate | Start Date | |
| NextOccurrenceDate | fap_rsiv_tmplr | nextoccurrencedate | Next Run | |
| EstdCostCostgRunRcrrcDate | fap_rsiv_tmplr | estdcostcostgrunrcrrcdate | Start Date | |
| NextOccurrenceAmountInTC | fap_rsiv_tmplr | nextoccurrenceamountintc | Amount in LC | |
| RecurrenceType | fap_rsiv_tmplr | recurrencetype | Recurrence Type | |
| RecurrencePattern | fap_rsiv_tmplr | recurrencepattern | Recurrence Pattern | |
| RecurrenceFrequency | fap_rsiv_tmplr | recurrencefrequency | Recurrence Frequency | |
| REStartFrequencyWeek | fap_rsiv_tmplr | restartfrequencyweek | Start of Week | |
| REFrequencyStart | fap_rsiv_tmplr | refrequencystart | Interval in Months | |
| EHSTaskRecurrenceInterval | fap_rsiv_tmplr | recurrenceinterval | Recurrence Interval | |
| OccurrenceType | fap_rsiv_tmplr | occurrencetype | On | |
| OccurrenceDayByRecurrenceType | fap_rsiv_tmplr | occurrencedaybyrecurrencetype | Occurrence Day | |
| CalendarDay | fap_rsiv_tmplr | calendarday | Occur Day in a Month | |
| WeekDay | fap_rsiv_tmplr | weekday | Weekdays | |
| RecurrenceEndType | fap_rsiv_tmplr | recurrenceendtype | End Recurrence By | |
| NumberOfOccurrences | fap_rsiv_tmplr | numberofoccurrences | Number of Repetitions | |
| NumberOfPostedInvoices | fap_rsiv_tmplr | numberofpostedinvoices | Number of Occurrence | |
| NumberOfNotPostedInvoices | fap_rsiv_tmplr | numberofnotpostedinvoices | Number of Occurrence | |
| LastOccurrenceDate | fap_rsiv_tmplr | lastoccurrencedate | End Date | |
| ForeignCrcyAmtCnvrsnRule | fap_rsiv_tmplr | foreigncrcyamtcnvrsnrule | Conversion Rule | |
| RecrrgSuplrInvcTemplateStatus | fap_rsiv_tmplr | recrrgsuplrinvctemplatestatus | Template Status | |
| BusinessPlace | fap_rsiv_tmplr | businessplace | Business place | |
| BusinessSectionCode | fap_rsiv_tmplr | businesssectioncode | Section Code | |
| IN_GSTPartner | fap_rsiv_tmplr | in_gstpartner | GST Partner | |
| IN_GSTPlaceOfSupply | fap_rsiv_tmplr | in_gstplaceofsupply | Place of Supply | |
| IN_InvoiceReferenceNumber | fap_rsiv_tmplr | in_invoicereferencenumber | Invoice Ref. Number | |
| LastChangeDateTime | fap_rsiv_tmplr | lastchangedatetime | Timestamp | |
| _RecrrgSuplrInvcTmplItem | _RecrrgSuplrInvcTmplItem | |||
| _RecrrgSuplrInvcTmplInstce | _RecrrgSuplrInvcTmplInstce | |||
| _RecrrgSuplrInvcTmplWhgdTax | _RecrrgSuplrInvcTmplWhgdTax | |||
| _CompanyCode | _CompanyCode | |||
| _Supplier | _Supplier | |||
| _PaymentTerms | _PaymentTerms | |||
| _AccountDocType | _AccountDocType | |||
| _RecurrenceTypeText | _RecurrenceTypeText | |||
| _RecurrenceEndTypeText | _RecurrenceEndTypeText | |||
| _PostStatus | _PostStatus | |||
| _BPBankAlias | _BPBankAlias | |||
| _ForeignCrcyAmtCnvrsnRuleText | _ForeignCrcyAmtCnvrsnRuleText | |||
| _MonthDayText | _MonthDayText |
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 R_RecrrgSuplrInvcTmplTP.
-- 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: IRECRRGINVCTMPLR
CREATE VIEW R_RecrrgSuplrInvcTmplTP AS
SELECT
_Tmpl.recrrgsuplrinvctmpluuid AS RecrrgSuplrInvcTmplUUID,
$session.system_language AS Language,
_Tmpl.recrrgsupplierinvoicetemplate AS RecrrgSupplierInvoiceTemplate,
_Tmpl.fiscalyear AS FiscalYear,
_Tmpl.accountingdocumenttype AS AccountingDocumentType,
_Tmpl.companycode AS CompanyCode,
_Tmpl.documentreferenceid AS DocumentReferenceID,
_Tmpl.accountingdocumentheadertext AS AccountingDocumentHeaderText,
_Tmpl.totalamountintransactioncrcy AS TotalAmountInTransactionCrcy,
_Tmpl.invoicingparty AS InvoicingParty,
_Tmpl.exchangerate AS ExchangeRate,
_Tmpl.grossamtintc AS GrossAmtInTC,
_Tmpl.totalamountinlocalcurrency AS TotalAmountInLocalCurrency,
_Tmpl.transactioncurrency AS TransactionCurrency,
_Tmpl.localcurrency AS LocalCurrency,
_Tmpl.documentcurrency AS DocumentCurrency,
_Tmpl.transactiondate AS TransactionDate,
_Tmpl.assignmentreference AS AssignmentReference,
_Tmpl.supplierbanktype AS SupplierBankType,
case when supplierbanktype is initial then '' else _Tmpl.iban end as IBAN AS ibanendasIBAN,
case when supplierbanktype is initial then '' else _Tmpl.swiftcode end as SWIFTCode AS swiftcodeendasSWIFTCode,
case when supplierbanktype is initial then '' else _BPBankAlias.PaymentSystem end as PaymentSystem AS PaymentSystemendasPaymentSystem,
case when supplierbanktype is initial then '' else _BPBankAlias.AliasType end as AliasType AS AliasTypeendasAliasType,
_Tmpl.businessarea AS BusinessArea,
_Tmpl.companycodecountry AS CompanyCodeCountry,
_Tmpl.activecountry AS ActiveCountry,
_Tmpl.suppliervatregistration AS SupplierVATRegistration,
_Tmpl.iseutriangulardeal AS IsEUTriangularDeal,
_Tmpl.documentitemtext AS DocumentItemText,
_Tmpl.createdbyuser AS CreatedByUser,
_Tmpl.username AS UserName,
_Tmpl.creationdate AS CreationDate,
_Tmpl.recrrgsuplrinvcissrvcinvoice AS RecrrgSuplrInvcIsSrvcInvoice,
_Tmpl.statecentralbankpaymentreason AS StateCentralBankPaymentReason,
_Tmpl.supplyingcountry AS SupplyingCountry,
_Tmpl.paymentterms AS PaymentTerms,
_Tmpl.paymentmethod AS PaymentMethod,
_Tmpl.paymentreference AS PaymentReference,
_Tmpl.cashdiscount1days AS CashDiscount1Days,
_Tmpl.cashdiscount1percent AS CashDiscount1Percent,
_Tmpl.cashdiscount2days AS CashDiscount2Days,
_Tmpl.cashdiscount2percent AS CashDiscount2Percent,
_Tmpl.netpaymentdays AS NetPaymentDays,
_Tmpl.housebank AS HouseBank,
_Tmpl.housebankaccount AS HouseBankAccount,
_Tmpl.manualcashdiscount AS ManualCashDiscount,
_Tmpl.invoicereference AS InvoiceReference,
_Tmpl.paymentmethodsupplement AS PaymentMethodSupplement,
_Tmpl.suplrinvcpaymentblockingreason AS SuplrInvcPaymentBlockingReason,
_Tmpl.paytslipwthrefcheckdigit AS PaytSlipWthRefCheckDigit,
_Tmpl.paytslipwthrefreference AS PaytSlipWthRefReference,
_Tmpl.paytslipwthrefsubscriber AS PaytSlipWthRefSubscriber,
_Tmpl.taxcode AS TaxCode,
_Tmpl.fixedcashdiscount AS FixedCashDiscount,
_Tmpl.taxbaseamountintranscrcy AS TaxBaseAmountInTransCrcy,
_Tmpl.taxdeterminationdate AS TaxDeterminationDate,
_Tmpl.taxjurisdictionbyprovider AS TaxJurisdictionByProvider,
_Tmpl.taxcountry AS TaxCountry,
_Tmpl.withholdingtaxisenabled AS WithholdingTaxIsEnabled,
_Tmpl.glaccount AS GLAccount,
_Tmpl.settlmtcocodetaxcountry AS SettlmtCoCodeTaxCountry,
_Tmpl.startdate AS StartDate,
_Tmpl.firstoccurrencedate AS FirstOccurrenceDate,
_Tmpl.nextoccurrencedate AS NextOccurrenceDate,
_Tmpl.estdcostcostgrunrcrrcdate AS EstdCostCostgRunRcrrcDate,
_Tmpl.nextoccurrenceamountintc AS NextOccurrenceAmountInTC,
_Tmpl.recurrencetype AS RecurrenceType,
_Tmpl.recurrencepattern AS RecurrencePattern,
_Tmpl.recurrencefrequency AS RecurrenceFrequency,
_Tmpl.restartfrequencyweek AS REStartFrequencyWeek,
_Tmpl.refrequencystart AS REFrequencyStart,
_Tmpl.recurrenceinterval AS EHSTaskRecurrenceInterval,
_Tmpl.occurrencetype AS OccurrenceType,
_Tmpl.occurrencedaybyrecurrencetype AS OccurrenceDayByRecurrenceType,
_Tmpl.calendarday AS CalendarDay,
_Tmpl.weekday AS WeekDay,
_Tmpl.recurrenceendtype AS RecurrenceEndType,
_Tmpl.numberofoccurrences AS NumberOfOccurrences,
_Tmpl.numberofpostedinvoices AS NumberOfPostedInvoices,
_Tmpl.numberofnotpostedinvoices AS NumberOfNotPostedInvoices,
_Tmpl.lastoccurrencedate AS LastOccurrenceDate,
_Tmpl.foreigncrcyamtcnvrsnrule AS ForeignCrcyAmtCnvrsnRule,
_Tmpl.recrrgsuplrinvctemplatestatus AS RecrrgSuplrInvcTemplateStatus,
_Tmpl.businessplace AS BusinessPlace,
_Tmpl.businesssectioncode AS BusinessSectionCode,
_Tmpl.in_gstpartner AS IN_GSTPartner,
_Tmpl.in_gstplaceofsupply AS IN_GSTPlaceOfSupply,
_Tmpl.in_invoicereferencenumber AS IN_InvoiceReferenceNumber,
_Tmpl.lastchangedatetime AS LastChangeDateTime
FROM fap_rsiv_tmplr AS _Tmpl
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_PaymentTerms AS _PaymentTerms ON PaymentTerms = _PaymentTerms.PaymentTerms -- association [0..1]
LEFT OUTER JOIN I_AccountingDocumentType AS _AccountDocType ON AccountingDocumentType = _AccountDocType.AccountingDocumentType -- association [0..1]
LEFT OUTER JOIN I_RecurrencePattern AS _RecurrenceTypeText ON RecurrenceType = _RecurrenceTypeText.RecurrenceType -- association [0..1]
LEFT OUTER JOIN I_RecurrencePatternEndType AS _RecurrenceEndTypeText ON RecurrenceEndType = _RecurrenceEndTypeText.RecurrenceEndType -- association [0..1]
LEFT OUTER JOIN I_CalendarDay AS _MonthDayText ON CalendarDay = _MonthDayText.CalendarDay -- association [0..1]
LEFT OUTER JOIN I_RecurringSupplierInvoiceItem AS _PostStatus ON RecrrgSuplrInvcTmplUUID = _PostStatus.RecrrgSuplrInvcTmplUUID -- association [0..1]
LEFT OUTER JOIN I_ForeignCrcyAmtCnvrsnRule AS _ForeignCrcyAmtCnvrsnRuleText ON ForeignCrcyAmtCnvrsnRule = _ForeignCrcyAmtCnvrsnRuleText.ForeignCrcyAmtCnvrsnRule -- association [0..1]
LEFT OUTER JOIN I_SupplierBankDetailsVH AS _BPBankAlias ON SupplierBankType = _BPBankAlias.BPBankAccountInternalID AND InvoicingParty = _BPBankAlias.Supplier -- association [0..1]
LEFT OUTER JOIN R_RecrrgSuplrInvcTmplItemTP AS _RecrrgSuplrInvcTmplItem ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_RecrrgSuplrInvcTmplInstceTP AS _RecrrgSuplrInvcTmplInstce ON /* condition not available in parsed metadata */ -- association [0..*]
LEFT OUTER JOIN R_RecrrgSuplrInvcTmplWhgdTaxTP AS _RecrrgSuplrInvcTmplWhgdTax ON /* condition not available in parsed metadata */ -- association [0..*]
;
Learn More
- VDM (Virtual Data Model) in SAP S/4HANA Explained
- Types of CDS Views: Basic, Composite, Consumption, and Transactional
- CDS View Annotations — A Complete Guide
- What Is a CDS View in SAP S/4HANA?
- SAP Tables vs CDS Views — Key Differences
- Understanding Data Lineage in SAP S/4HANA
- CDS View Field Mapping and Associations
- Understanding the SAP S/4HANA Data Model
- CDS View Extensions and Custom Fields in SAP S/4HANA
- Released APIs and Stability Contracts in SAP S/4HANA
- BSEG to ACDOCA: The Universal Journal Migration
- Business Partner Migration: KNA1/LFA1 to BUT000
- Material Document Migration: MSEG/MKPF to MATDOC
- How to Find the Right CDS View for an SAP Table
- BW Extractor to CDS View Migration Guide
- S/4HANA CDS View Deprecation: What You Need to Know
- ABAP CDS View Tutorial — From Basics to Real-World Examples
- RAP and CDS Views — Building Transactional Apps in SAP S/4HANA
- Sales Document Status Migration: VBUP/VBUK Removal in S/4HANA
- CO Tables in S/4HANA: COEP, COBK, COSS, COSP to ACDOCA