9 March

Table OVPM (SAP Business One)

The OVPM table in SAP Business One is the master table for the initial payments. Each row represents a payment document that your company uses to pay money: usually to a supplier, less often as a refund to a customer or directly to an asset account.

Versino Financial Suite

You can find the initial payments in SAP Business One under Bank processing > Initial payments. The object type (ObjType) is 46. Incoming payments from customers are available not in OVPM. For that purpose, the table is ORCT (Input payments, ObjType 24) is responsible for.

What OVPM is used for

OVPM contains the header data of an outgoing payment: business partner, date of booking, total amount, currency and the breakdown into payment methods (cash, check, transfer, credit card). Each non-canceled outgoing payment generates a journal entry. Its transaction number is shown in the field TransId. Payments from the payment assistant also end up in OVPM.

The exact details of the payments made are not in my head; they are in the row tables:

  • VPM1: Checks for payment
  • VPM2: paid receipts (e.g. incoming invoices, Supplier vouchers, advance invoices, journal entries)
  • VPM3: Credit card lines
  • VPM4: Account balances upon account settlement

Important fields of the OVPM table

  • DocEntry: internal key of the payment voucher. This field links the row tables.
  • DocNum: Visible proof number of the initial payment (depending on the serial number) Series).
  • DocType: Type of payment recipient: S = Supplier, C = Customer, A = Account. The field describes not the means of payment.
  • CardCode / CardName: Code and name of the business partner to whom payment was made (reference to OCRD). In the case of a bank transfer, the field remains empty.
  • DocDate: Date of booking. TaxDate: Date of proof. DocDueDate: Due date.
  • DocTotal / DocTotalFC / DocTotalSy: Total amount in domestic currency, foreign currency and system currency.
  • DocCurr: Currency of payment (reference to OCRN).
  • CashSum, CheckSum, TrsfrSum, CreditSum: Shares of payment methods include cash, check, wire transfer and credit card. The associated accounts are listed below. CashAcct, CheckAcct and TrsfrAcct.
  • TrsfrDate / TrsfrRef: Date and purpose of the transfer.
  • Canceled: Y = cancelled, N = valid. There is no status such as „open“ or „balanced“ for payments.
  • TransId: Number of journal bookings generated (reference to OJDT).
  • PayMth / Status: Payment assistant number sequence and license plate, whether the payment was generated by a numerical sequence.
  • Comments / JrnlMemo: Notes and booking text of the journal booking.

Link to the paid documents

The paid invoices can be found in VPM2. There, the field contains DocNum the DocEntry the payment from OVPM. The field DocEntry in VPM2 refers to the paid receipt, and InvType names its object type: 18 = Initial invoice (OPCH), 19 = Supplier credit (ORPC), 204 = Advance payment invoice (ODPO), 30 = Journal booking (OJDT). The amount paid per receipt is shown in SumApplied.

Example: All valid initial payments to suppliers with the paid initial invoices.

SELECT
    T0.DocNum AS "Payment",
    T0.DocDate AS "Booking date",
    T0.CardCode,
    T0.CardName,
    T0.DocTotal AS "Amount",
    T0.DocCurr AS "Currency",
    T2.DocNum AS "Invoicing",
    T1.SumApplied AS "Paid on account"
FROM OVPM T0
INNER JOIN VPM2 T1 ON T1.DocNum = T0.DocEntry
INNER JOIN OPCH T2 ON T2.DocEntry = T1.DocEntry AND T1.InvType = '18'
WHERE T0.Canceled = 'N'
  AND T0.DocType = 'S'
ORDER BY T0.DocDate DESC

Demarcation

  • OVPM vs. ORCT: OVPM contains initial payments (money flows in); ORCT contains incoming payments (money flows out). Both tables have an almost identical structure.
  • OVPM vs. OPDF: Payment drafts are stored in OPDF. Only after they are added does an invoice appear in OVPM.
  • No connection to the customer order: OVPM does not directly refer to orders. The linking process always takes place via the paid invoices in VPM2.

 


Versino Financial Suite Webinars.

Experience liquidity planning in SAP Business One live: The webinars on the new Versino Financial Suite

Predictability in unpredictable times: Every management team wants reliable liquidity planning. There is agreement on this. That’s the ideal world. The difficult part...
Financial chat for SAP Business One: How he answers questions about numbers and when he prefers not to answer

Financial chat for SAP Business One: How he answers questions about numbers and when he prefers not to answer

Anyone who does not book in SAP Business One on a daily basis often faces closed doors when it comes to questions regarding the financial system...
Versino Financial Suite Major Release: End of the SAP window cage

Versino Financial Suite Major Release: End of the SAP window cage

Anyone who has two monitors on their desk also uses them. That goes without saying. In the SAP Business...
Account statement processing in SAP Business One: The account statements flow from an input basket via a sorting line to a draft that the accounting department checks with an orange check mark.

Account statement processing: What the Versino Financial Suite will offer in the future — a preview of accounting

An account statement is quickly read. That is the manageable part of the work. The work lies behind that. The statement must be sent to the...
E-invoice check

E-Invoice check by Versino Financial Suite

An e-invoice is quickly generated. SAP Business One includes the XRechnung feature as standard, and those who use cks.eINVOICE or the ...
Versino Accounting Service

Versino accounting service

Bookkeeping should run quietly. Vouchers come in, are posted, the VAT return goes out, and the tax advisor also gets a ...
Wird geladen …