cancel
Showing results for 
Search instead for 
Did you mean: 

F110: How to print payment advice and send my email

Former Member
0 Kudos

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

Accepted Solutions (0)

Answers (3)

Answers (3)

0 Kudos

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!

shanid_mp
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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

former_member765905
Contributor
0 Kudos

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