cancel
Showing results for 
Search instead for 
Did you mean: 

send email alert to vendors after payment is made by f-53

varunkrd
Explorer
0 Kudos
2,857

Dear all,

We have got a requirement in which we need to send the mail to the vendor by using the mail id maintained in the vendor master after the payment is released by using tcode F-53.In this way, vendors can track when their payment is made and vendor can map the payment-amount credited into their bank account to the invoice no. in sap system for which the payment is made.

Note : we do not use F110 ( automatic payment program ) so any solution involving BTE : sample_process_00002040 is out of consideration

Accepted Solutions (1)

Accepted Solutions (1)

former_member513101
Active Contributor

Hi Kumar,

You can consider following options:

  • Option 1 - Get abaper to write code in BTE 00001120 to send email to the vendor. Note: You need to control the triggering by T-code FBZ2 and account type = K
  1. F-07/NFBZ2 RF05A-AGKOA=S;BKPF-BLART=KZ;
  2. F-31/NFBZ2 BKPF-BLART=DZ;RF05A-AGKOA=D;
  3. F-53/NFBZ2 BKPF-BLART=KZ;
  • Option 2 - use payment advice correspondence SAP01 or SAP02 and BTE 2310. After the payment posted with F-53. Run F.62 to send you the email
  • Option 3 - You can combine option 1 and 2 to skip F.62 step.

Thanks.

varunkrd
Explorer
0 Kudos

Thank you, KK Lam, for your answer. Give me some time until I have implemented the solution that you have provided.

varunkrd
Explorer
0 Kudos

Hi KK Lam,

Your solution mentioned in option 1 is working.I have done the required configuration w.r.t 'BTE 00001120' on 'FIBF' tcode. As required , copied the function module 'Sample_process_00001120' to 'zsample_process_00001120' and inserted the code related to checks that you have mentioned .

if ( sy-tcode = 'F-53' or sy-tcode = 'FBZ2' ) and t_bkpf-blart = 'KZ' .

* code related to mail send

endif.

when I click on 'save' on tcode 'F-53' after the I set the break-point , the triggering of my abap code is happening .

Thanks a lot. I will be now working on the solution.It wouldn 't be possible with your assistance.

In case anything else comes up while implementing the solution , I may have to ask you again. Thanks in advance.

former_member685298
Discoverer
0 Kudos

Hi Kumar & KK Lam,

I also have same requirement from my team ,once they are doing posting in f-53 payment advise need to send to customer do you have any step by step manual it will help me to complete it .

Answers (0)