Programme SAP RFVD_ESRIN01 - CML Corr.: Invoice Printing

Purpose
The invoice printing is for cash flow documents and open items for aloan contract. The system assigns a year-dependent invoice number toevery invoice. You define the number range for the invoice numbers inthe Define Number Range for Invoice Numbers of LoanContracts function.

Integration
The items listed on an invoice are maintained in two DB log tables, onecontaining the header data (one record per invoice number) and onecontaining the document item (one record per document).
The system uses these two tables for an incoming payment to determinethe documents for an invoice number. This enables reconciliation of thepayment to the receivable.

Prerequisites
The selection parameters in "Selection of Master Data" determine thecash flow documents based on the selection parameters for the "Selectionof Flow Data".
When setting up correspondence, you must create the correspondenceactivity in the following Customizing section: SAP Banking / LoansManagement / Functions / Correspondence / Function/ Assign Program toCorrespondence Activities.
The following parameters apply:
- Code = "CHESR"
- Program name = "RFVD_ESRIN01"

Features

Selection
Selection of flow types
The selection includes only those flow types defined in the functionCreate Flow Types and Properties for InvoicePrinting.
Selection based on due date
The due period refers to the due date of the document. The selectiondoes not include documents whose due date is before the FROM date orafter the TO date.
Origin of documents
A parameter is available to control the origin of the documents for theselection. It is possible to select actual records only, plan recordsonly, or both plan and actual records.
This parameter refers to the cash flow positions only:
If you select the "Incl. open items" check box, then the system selectsFI documents that are not in the cash flow and open items for thecustomer.
Reselect already printed items
If you select the "Items with Invoice Number" check box, then the systemreselects and prints documents that have an invoice number already(documents that are already part of an inovice).
If you do not select the "Items with Invoice Number" check box, thesystem selects a document once only during a print run.

Output
In the "Creation of Invoice" section, you can enter the followingoptions:
- Letter date
- Summary of items: Grouping of documents by customer, by cash flow, orsimply one invoice document per loan contract number
- Division of invoice: You can create one invoice per due date, per duemonth, and per due period.
The due period is the period from the "Selection of Flow Data" sectionand is printed in the form as payable up to the latest date of alllisted items.
The sorting of the individual documents in the invoice form is part ofthe function Create Flow Types and Properties forInvoice Printing. In the "Position" attribute you define whether thedocument belongs to the loan contract (single line), or whether thedocument must be listed for all printed single lines (per cash flow).The "Sort" attribute determines the sequence in the position.
The determination of the participant number for each posting area on theISR slip is based on a Customizing setting. You make this setting in thetransaction Assign Posting Area to ISR ParticpantNumber.