Skip to Content
Technical Articles
Author's profile photo Gowreshanharan S

Manage Automatic Payments-Automatic Payment Advice By Email


The payment run process is an accounts payable process that is used to handle payments to vendors. The process is called an automatic payment program.

The automatic Payment Program (F110) is used to clear the open invoices and post the payments against the invoices. F110 is the standard t-code or Manage Automatic Payment Application is also used to do the same.

In addition to the above, there are also forms sent to customers and vendors about the Payments done called Remittance Advice and Payment Advice based on the payment method configured.

Payment Advice:

A payment advice note is a document or letter of communication sent by a customer or buyer to businesses that states that an invoice has been paid to cheque, NEFT, RTGS, or by any means of electronic transfers, etc.,

It is a letter of communication that acknowledges the seller as to which outstanding invoices have been cleared by the buyer and by what means. Therefore, a payment advice note can be handy when it comes to matching payments to an invoice.

BTE Configuration steps:

From here you can isolate the specific business process you want to enhance/customize.

SAP sample function module SAMPLE_PROCESS_00002040 is available for emailing vendor Remittance Advice. This must be copied as a Zfunction module and make your customization and then save it as ZFM_VENDOR_REM.

The ABAP team can help to copy the function module. You can also use the sap standard function module if no change is required.

Configuration Path : SPRO > SAP Customizing Implementation Guide > Financial Accounting >

Financial Accounting Global Settings > Business Transaction Events  (or)

Transaction code: FIBF

Link the newly created custom function module(ZFM_VENDOR_REM.) to the BTE.

The custom function module can be specified following the steps below.

Create A Product:

Navigate as shown below: –

In FIBF > Settings > Products > Of a customer.

Click On New Entries to create new customer products:

Update the following And Click Save :

In the image below, I created a new product called “ZPMYADV” described as “Email Payment Advice for Vendor”. Note that you can leave the A or Active checkbox blank if you are not yet testing.

For RFC destination, keep that field blank. You do not need to make an entry in this field unless the additional component in question is not in the local system.

If the additional component does not run in the local system, you should enter the standard name of an RFC destination. You can read more about this by clicking on the field and pressing F1 on your keyboard.

Link product and Zfunction module to the BTE process:

Go to Transaction code: FIBF

Navigate as shown below: –

In FIBF > Settings > Process Modules> Of a customer.

Click on New Entries:

Update the following update process 00002040 with the zfunction module(ZFM_VENDOR_REM) or function module(SAMPLE_PROCESS_00002040) and the product we created in the earlier step:

Above, we see that New Product “ZPMYADV”, the custom function module, and the BTE process was entered as new entry. Thus, linking the custom functionality to the BTE.

Click Save.


RFFOAVIS_FPAYM is by default used by SAP for payment advice generation. You just need to give the appropriate variant in the F110 > Printout tab for this program.

Program (RFFOAVIS_FPAYM) generates the vendor payment advice which will be either emailed to the vendor (if the vendor email address is maintained) or will generate a spool request (in case no email address is maintained in vendor master).

Create variant for the program – RFFOAVIS_FPAYM :

Go to Transaction code: SE38 => Update the following and Execute :



There are three kinds of forms that can be used in SAP:

  1. SAP scripts – F110_US_AVIS (or)
  2. SMART FORMS (or)
  3. Adobe Forms – F110_AVIS_INT

For payment advice, we can use all three kinds of forms.


  • This is the default configuration provided by SAP.
  • Standard script for the payment advice: ‘F110_US_AVIS’


  • There is no standard way of customizing smart forms in SAP for Payment advice.
  • So maintain the form names in one table based on the company code and the payment method. In the program call the form name and in the part of the code in the standard include call the form name and smart form name.
  • In case of the classic payment medium program we can custom a Z Program.
  • In case of the Payment medium work bench always the program RFFOAVIS_FPAYM is called.

Adobe Forms:

  • Adobe forms configuration can be done only in the Company code level not on the payment method level.
  • SAP has already provided standard Adobe forms for the Payment advice.

variant for the program :

Update the following:

  • Printer: LP01
  • SAP-script P Advice Form: F110_US_AVIS
  • Print Immediately: Checked

Click Save as Variant.

Update the following and Click Save:

  • Variant Name: Paym_ADV1
  • Description: Payment Advice

Above , Variant for the program is successfully created in the name of “PAYM_ADV1” with description “Payment Advice”


You can sometimes use the event module 41 for the automatic creation of the payment medium correspondence.

To do so, copy the example module FI_PAYMEDIUM_SAMPLE_41 to a customer module and use the source code defined in this below.

Replace <PAYM_ADV1> in the example source code with a valid variant for the report rffoavis_fpaym.


FUNCTION zfi_paymedium_paymadv_41 .
*"*"Local Interface:

  DATA : lc_jobname     LIKE tbtcjob-jobname,
         lc_jobcount    LIKE tbtcjob-jobcount,
         lc_jobreleased LIKE btch0000-char1.

  CONCATENATE 'PAYM_ADVICES:' i_fpayh-laufd '/' i_fpayh-laufi
  INTO lc_jobname.
      jobname  = lc_jobname
      jobcount = lc_jobcount
      OTHERS   = 1.
  IF sy-subrc NE 0.
        i_msgid     = sy-msgid
        i_msgty     = 'E'
        i_msgno     = sy-msgno
        i_msgv1     = sy-msgv1
        i_msgv2     = sy-msgv2
        i_msgv3     = sy-msgv3
        i_msgv4     = sy-msgv3
        i_probclass = 'E'.

  SUBMIT rffoavis_fpaym
        USER sy-uname VIA JOB lc_jobname NUMBER  lc_jobcount
        WITH zw_laufd = i_fpayh-laufd
        WITH zw_laufi = i_fpayh-laufi
        WITH zw_xvorl = i_fpayh-xvorl
        AND RETURN.

      jobcount         = lc_jobcount
      jobname          = lc_jobname
      strtimmed        = 'X'
      job_was_released = lc_jobreleased
      OTHERS           = 1.

  IF sy-subrc NE 0.
        i_msgid     = sy-msgid
        i_msgty     = 'E'
        i_msgno     = sy-msgno
        i_msgv1     = sy-msgv1
        i_msgv2     = sy-msgv2
        i_msgv3     = sy-msgv3
        i_msgv4     = sy-msgv3
        i_probclass = 'E'.

Activate the new module – ZFI_PAYMEDIUM_SAMPLE_41.

Define the customer module in event 41:

  1. Call transaction OBPM1 (display mode).
  2. Select the format used.
  3. Click “Customer settings for Format” (TA OBPM3).
  4. In the dialog structure: Choose “Event modules”

Payment advice notes by mail: Introductory text with attachment:

If you want to send the payment advice note in the mail attachment and an introductory text is supposed to appear in the mail.

Maintain Introductory Text:

SO10 is used to create Standard texts for use in SAP scripts. This basically permits reusability of standard texts across many SAP scripts. These also can be defined in different languages & can be used by specifying the language option in a SAP script.

Go to Transaction code: SO10

Specify an introductory text (language-dependent) for the text ID FIKO. Select your text Name



Language: EN

And click on create. Maintain the text and save it.

Updating Text Name in  SAMPLE_PROCESS_00002040 :

Go to Transaction code: SE37

Edit the ZFM_VENDOR_REM. Which is Z copy of SAMPLE_PROCESS_00002040.

Enter it in uppercase letters in the field FINAA-NAMEP in the process exit 2040 (call from include RFFORI06).

Update the Text Name.


Save the Change and Activate the Zfunction Module.

Master data requirements:

Vendor Master

Transaction code: BP:

Fiori Application: Maintain Business Partner

Email address should be updated as shown below in the vendor master:

  • BP Role: Business Partner (Gen.)
  • Tab: Address > Communication
  • Email:
  • Standard Method: INT Email

Make the changes and save the bp.

Manage Automatic Payments:

Payment run process is an accounts payable process that is used to handle payments to vendors. The process is called automatic payment program.

With the transactional app Manage Automatic Payments, you can schedule payment proposals or schedule payments directly and get an overview of the proposal or payment status. The app identifies the overdue invoices and checks whether all the required payment information is complete.

The Payment Process includes the Following Steps

  • Invoices are Entered
  • Pending Invoices are analysed for due date
  • Invoices due for payment are prepared for review
  • Payments are approved or modified
  • Invoices are paid

Start fiori app “Manage Automatic Payments” and Click Create Parameter.

On the first screen, you need to enter run date and identification. In the identification field, give a five-characters alphanumeric code that will be used to identify the payment program. A combination of the run date and identification is used to identify the program in SAP system.

Fill the Run date and identification and click Create:

In the Parameters Tab, We have to define the following and Click Save

  • What is to be paid – Docs. Entered Up to
  • What payment methods will be used – Payment Methods
  • When will the payments be made – Posting Date?
  • Which company codes will be considered – Company Codes?
  • How are they going to be paid – The payment Method Sequence decides the Priority of the Payment Method
  • Enable Additional log – To get some additional log information.

You can see the payment parameter created :

Create Payment Proposal:

Selected the Parameter and click schedule Proposal:

When you click on Proposal the system is going to ask whether you want to create it immediately or want to schedule it for a time in the future. For this demo, we are going to run it immediately. You should tick the checkbox for creation of payment medium.

Make sure you select “Start Immediately” and then click on Schedule.

You can see the payment proposal in the respective tab.

A payment proposal is generated based on the parameters.

Review Payment Proposal:

  • Click on the arrow button to review the document selected in this run.
  • The system will list all the vendors that have been included in the payment proposal.
  • We can view the Proposal Log for possible errors by Pressing the Proposal Log Button.
  • We can edit the proposal to block the some payments if we want, Press the Edit Proposal Button.

Payment Run:

Go to Proposal and click on Schedule Payment to run Payment.

Check “Start Immediately” to start the payment run instantly and then click on Schedule.

Go to “Payments Processed” and You can see the payment posted.

We can check the status of the Payment run on the Status Tab.

You can also select the posted payment to see the log:

Note: If you have approvers for the payment, then the batch will be generated. Email will get triggered after the Payment approvals.

To check whether the advice is sent to the vendor by Email:

Transaction code SOST is used to display and administer of all messages sent using SAP connect. The program displays send requests that are being sent, or have already been sent by using SAP connect. In this transaction, a send request always contains just one recipient.

Transaction code: SOST

  • You can see the email that is being triggered / delivered in Transaction code SOST.
  • We can found the email send with respect to our payment time and date.

Review Email:

Select the Email Log and Click Display Document Icon:

You can see the body of the mail:

The body of the email is coming from the text we maintained in SO10 i.e. ZFI_VENDOR_PAYMENT_ADVICE.

Click on the PDF icon to see the attachment (Payment Advice) send:

Review Payment Advice :

Review Spool Request:

The spool system uses a spool request to store the print data temporarily and to be able to access it. The data is stored in a temporary format. You can also display the print document. The system automatically assigns a 10-digit ID number to a spool request.

Vendor payment advice will either be emailed to the vendor (if email address is maintained in the vendor master) or will generate a spool request if email address is not maintained. The spool request can be viewed and printed through transaction code sp02.

You can also see the Payment output in spool request:

Assigned Tags

      You must be Logged on to comment or reply to a post.
      Author's profile photo Balasubramanian Narayanaswamy
      Balasubramanian Narayanaswamy

      Hi Gowreshanharan S

      Good one well written




      Author's profile photo Gowreshanharan S
      Gowreshanharan S
      Blog Post Author

      Hi @Balasubramanian Narayanaswamy

      Thank You.

      Author's profile photo K Vishwanatha Reddy
      K Vishwanatha Reddy

      Hi Gowreshanharan.

      Well explanation and thank you

      Author's profile photo Hideki Hideki Takahashi
      Hideki Hideki Takahashi

      Hi Gowreshanharan,

      Thank you very much for your explanation.

      I would like to use this function in Japan as well. I have set it up above, but it seems that the emails are not being sent correctly.

      I checked the explanation part and arranged the following procedure, but could you please confirm if it is correct?

      Technical Configuration Steps(ABAP)
      1.Copy SAMPLE_PROCESS_00002040 to ZFM_VENDOR_REM. ( SE37 )
      2. Create A Product.(FIBF)
      3. Link product and Zfunction module to the BTE process. (FIBF)
      QA1 I checked our system.
      Copying SAMPLE_PROCESS_00002040 in this system and ZFI_PAYMENTADVICE_BTE already exists, so American users seem to be using it.
      So, can I copy SAMPLE_PROCESS_00002040 and create a new function module?
      4. Create variant for the program – RFFOAVIS_FPAYM.( SE38 )
      QA2 If I don't use PDF, should this variant be set?
      5. Maintain Introductory Text-Formformat  - Japanese (SO10)
      QA3 All the mail forms are the same, but can we extract the contents of the mail from the table (REGUH, REGUP) and edit each one with different contents (eg, vendor name, amount, etc.)?
      6.Updating Text Name in  ZFM_VENDOR_REM. ( SE37 )
      QA4 Could you please share the setting information of the function module ZFM_VENDOR_REM, I copied only c_finaa-namep: 'ZFI_VENDOR_PAYMENT_ADVICE' here, but it is insufficient. I can't send an email.
      7.PDF form format  - to be developed (copy F110_AVIS_INT)
      QA5 Did you copy F110_AVIS_INT and create a PDF form, I would like to confirm how to create it.
      8.Sender emailid - common for company code(STVARV)
      QA6 I would like to check whether you have set the sender's email address with STVARV, and how to set it.
      Ⅰ.Configurational steps (Functional)
      1.Set up Paying company Code. (FBZP)
      2.Set up Payment Methods per Company Code for Payment Transactions.(FBZP)
      QA1 Could you tell me about the settings of FBZP?
      3.Enable Internet mail address field in BP master.(OBD3)
      QA2 Do you have settings in OBD3 there?
      4.Update Email address in BP master.(BP)
      QA3 I cannot confirm Standard Method: INT Email on our system, how did you set it there?
      End user Part
      1.Run APP F110(Automatic Payments program).(F110)
      QA1 Did you enter Variant [PAYM_ADV1] in Program [RFFOAVIS_FPAYM] in Printout/data medium when supporting F110?
      2.Execute the program F110 variant program”RFFOAVIS_FPAYM”.(SE38)
      QA2 Can you send an email by running RFFOAVIS_FPAYM on SE38, or if [PAYM_ADV1] has been entered with F110 before, can you send it automatically?
      3.Email request checking.(SOST)
      QA3 I need to check the total number of cases and total amount before sending the email. Can I check it on the system?

      Thank you very much.


      Author's profile photo Barry Gergos
      Barry Gergos

      Hi Gowreshanharan.

      This is a great comprehensive post.

      I just had one question in relation to the manage Automatic Payments app. Once you have run the payment run via the app, I would expect to see the payment remittance advice to also appear in the Output Items section for each of the payment documents. However, in my case the remittance advise is not being displayed there despite configuring OPD. Is this feature only available for public cloud or is there some specific config required?



      Author's profile photo Partha Sarathi Samantaray
      Partha Sarathi Samantaray

      Hi, Gowreshanharan,

      Thanks for the elaborated and much comprehensive post. I wanted to check if we can save the Payment remittances generated in SAP S4 HANA On Premise after APP Vendor payment? The Payment advice will be sent to the external vendor's email id as well as the clerk's email id, but business wants the payment advices to be stored in some repository in S4 as well. Can we do it in standard SAP or we have to go for an enhancement?


      Appreciate a timely response!



      Partha Sarathi Samantaray

      Author's profile photo indrajit kumar
      indrajit kumar


      can we send mail with excel attachment?



      Indrajit kumar.

      Author's profile photo Lilibeth ORJUELA DIAZ
      Lilibeth ORJUELA DIAZ

      Hi, Gowreshanharan,

      Thanks for sharing. Additional to this maybe do you know how to attached to document of payment the PDF advise generated?

      Appreciate your response 🙂

      Thank you in advance