Skip to Content
avatar image
Former Member

F110: How to print payment advice and send my email

Hello,

I have quick question:

How to print, re-print remmittance advce and send by email to the vendors ?

How we can archive remmittance advice. Is there any option in print contol ??

Regards,

SA

Edited by: Saeed Ahmad on Feb 6, 2012 3:26 AM

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

3 Answers

  • avatar image
    Former Member
    Feb 06, 2012 at 03:05 AM

    Hi Expert,

    Make a use of BTE(Business Transaction Events):

    The objective of this development is to e-mail EFT Remittance advices to the specified (vendor) address.

    SAP R/3 does not provide an automatic approach to send e-mails along with print option.

    The activation and implementation of suitable BTE will fulfill the requirement. Though this is a specific scenario we can see how we can find and use a relevant BTE through this example.

    How to find and use BTE's?

    To find out what BTEs exist in the system for our application execute transaction BERP (Process Info system). In this transaction pass relevant values to attribute type - A (application component) and selection attributes FI-AP-AP-PT to get more relevant BTE's.

    Upon execution of transaction the following BTE's were found for Payment transaction.

    00002040 - Autom. pmnt transactns: Output of pmnt advice note

    00002050 - Autom. pmnt transactns: Output of pmnt advice note

    After reading the documentation we found that BTE 00002040 and 00002050 are suitable for our scenario. Search the source code for u201COPEN_FI_PERFORMu201D to see if these are being called. We can find these BTEs being called in remittance advice include program RFFORI06 (Main program - DME program for bank transfer RFFOAU_T).

    Create a new ZF_F110_PROCESS_00002040 function module in SE37 by copying the sample code from SAMPLE_PROCESS_00002040 and modify this FM according to your requirement.

    Now we see how we configure the BTEs.

    Go to FIBF transaction and do the following steps:

    1) Define a customer product ZMAIL in FIBF u2013 Menu Settings->Products->of a customer and remember to tick the check box which will activate the product. Save and go back to initial screen of BTE.

    2) Create a new entry to link custom function module, custom product and process in Menu Settings->Process modules->of a customer. Depending on the requirement, Country and Application has to be specified.

    Sample code of ZF_F110_PROCESS_00002040:

    FUNCTION ZF_F110_PROCESS_00002040.

    *"----


    ""Local Interface:

    *" IMPORTING

    *" VALUE(I_REGUH) LIKE REGUH STRUCTURE REGUH

    *" TABLES

    *" T_FIMSG STRUCTURE FIMSG

    *" CHANGING

    *" VALUE(C_FINAA) LIKE FINAA STRUCTURE FINAA

    *"----


    • Read mail address of vendor from lfb1.Vendor no is available in REGUH payment data structure

    IF NOT i_reguh-lifnr IS INITIAL and

    not i_reguh-zbukr is initial.

    SELECT SINGLE intad

    INTO c_finaa-intad

    FROM lfb1

    WHERE lifnr = i_reguh-lifnr

    AND bukrs = i_reguh-zbukr.

    IF sy-subrc = 0.

    • choose message type 'I'nternet and fill email address

    c_finaa-nacha = 'I'.

    ENDIF.

    ENDIF.

    ENDFUNCTION.

    To test this BTE create a new payment run through F110 transaction which will trigger the BTE. You can find the entries of send requests to vendors generated in SOST.

    Regards,

    GK

    SAP

    Add comment
    10|10000 characters needed characters exceeded

  • Feb 06, 2012 at 04:13 AM

    Hi,

    To reprint you need create seperate Z program and give the selections as Company code,vendor,run date, identification, print(tick), email (tick).

    Take ABAP help and fetch clearing document from tables in below sequence.

    REGUH,REGUP,BKPF,BSAK

    Regards

    SM

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      Thanks for your feedback.

      Our copmany is using Open Text's DMS( email and archiving) .

      What configuration is required on SAP side ?

      Regards,

      SA

      Edited by: Saeed Ahmad on Feb 6, 2012 3:54 PM

  • May 06 at 05:36 PM

    I am sorry for my ignorance but I was hoping that it would be possible for the remittance that is sent to the supplier to be saved in the 31 document that is generated when a payment is made which would allow anyone to go to the backup of that document and have the ability to pull and resend the remittance. My company's current way of dealing with remittances that aren't received is to take a screen shot of the payment from FBL1N. I know the vendors would rather see the actual remmitance. If anyone has a solution I would be able to give that technical information to the right person and have it implemented so I appreciate any help in advance!

    Add comment
    10|10000 characters needed characters exceeded