Program FOAP_PROCESS_PAYMENT_ADVICES transfers the credit memos and payments assigned and enters the invoice reference in these documents.
Once you have executed this program, use program FOAP_PROCESS_INVOICES to clear the invoices for which there is an invoice reference.
Schedule the program in the form of regular jobs. If you run the program as an update run, the system saves the log created. To view the logs saved, use transaction FOAPLOG01.
In the example above (see Processing Assignments), the program has executed the following steps:
· It has transferred the credit memo for EUR 100 in the form of a clearing document. This has led to two open partial credit memos for EUR 40 and EUR 60.
· The program has also entered the following invoice references in the new partial credit memos:
¡ Partial credit memo for EUR 40: Invoice 1
¡ Partial credit memo for EUR 60: Invoice 2