‎2008 Jun 25 4:31 AM
Hello Friends,
I'm trying to send remittance to vendors by email, once the payment is done on SAP.
I used BTE 00002040 and I'm now able to send an email.
I'm on 4.6C.
The problem is we cannot change the subject line and the message body of the mail.
I found some solution on SAP Note : 1033893.
The following is an excerpt from the Note :
For SAP_APPL Release 4.6C and 4.7:
Implement the attached source code corrections.
1) Call transaction SO10 and define an introductory text (language-dependent)
with the text ID FIKO.
2) Give it any name you like and use it to fill the
FINAA-NAMEP field of process exit 2040 (call from include RFFORI06).
3) Fill the ITCPO-TDTITLE field of process exit 2050 (from include RFFORI06)
for the subject line of the mail.
You can include the REGUH-LIFNR field in the subject line in exit 2050 to
assign non-deliverable mail to the vendor.
4) If you want to send the mail to several recipients, fill the FINAA-INTAD
field with the mail addresses and separate each address with a blank
character. There are a total of 130 characters available in FINAA-INTAD.
This function is only available if you also defined an introductory text in
transaction SO10.
I have done step 1, but not able to do the others. Unfortunately, our ABAPer has quit the job and I am stuck. I know very little of ABAP, but I'm on the learning curve.
Also, I want to be able to save a copy of the email sent to the vendors in our system (SAP or Mail server). Is this possible on 4.6C? If yes, how?
I'd be grateful, if you could help me with this.
Thanks for your answers,
Have a nice day.
Thanks and B. Regards,
Swamy
‎2008 Jun 26 12:50 PM
I haven't had any experience with this so far, but function OPEN_FI_PERFORM_00002040_P is called in include RFFORI06.
In that function module there is another function called PC_FUNCTION_FIND.
From the documentation of the function module:
"This function determines the standard function module for a Process Business Transaction Event and determines the alternative function modules to process from the following tables, depending on the selection category".
(see the function module documentation for more info).
You will need to create a new function module and link it to the process.
Using transaction FIBF to do this.
Goto Settings --> Process modules --> of a customer.
Create an entry for process 00002040, and enter the function module.
The function module should then fill the FINAA structure.
This should take you through step 2.
Same steps for the changes needed for process 00002050. This should finish step 3.
Step 4 can also be done in the function module created for step 2.
Good luck!
‎2008 Jun 26 12:50 PM
I haven't had any experience with this so far, but function OPEN_FI_PERFORM_00002040_P is called in include RFFORI06.
In that function module there is another function called PC_FUNCTION_FIND.
From the documentation of the function module:
"This function determines the standard function module for a Process Business Transaction Event and determines the alternative function modules to process from the following tables, depending on the selection category".
(see the function module documentation for more info).
You will need to create a new function module and link it to the process.
Using transaction FIBF to do this.
Goto Settings --> Process modules --> of a customer.
Create an entry for process 00002040, and enter the function module.
The function module should then fill the FINAA structure.
This should take you through step 2.
Same steps for the changes needed for process 00002050. This should finish step 3.
Step 4 can also be done in the function module created for step 2.
Good luck!
‎2008 Jun 26 1:18 PM
Hi,
You can call funtion modules in ABAP code if you want to use Standard text created in SO10.
Here are the function modules used :
1. READ_TEXT
2. EDIT_TEXT
3. DELETE_TEXT
4. SAVE_TEXT
You can check them in SE37.
Hope this helps.
Cheers,
Lakshmi
‎2008 Jul 07 2:27 PM
As our company needs dunning notices to be sent via e-mail, I followed the instructions of OSS note 328124. For this I made a copy of FI_OPTICAL_ARCHIVE_DUNNING_NOTICE and made some changes as described in the OSS note.
When I run the dunning program by calling F150 and make a dunning printout, the dunning letter seems to be sent out. When I point to transaction SOST, I can see that the e-mail massage was generated, but there is no mailadress of the recipient maintained. However, I did fill field KNB1-INTAD with the mailadres of the customer via transaction XD02.
When I make I sample printout, a Send internet Mail pop-up appears with the question whether the dunning notice should be sent by mail. Once again, there is no mailadres of the customer proposed. When I fill out an e-mailadres, the dunning notice is sent properly.
I have read that FINAA-INTAD has to be filled with the mail addresses. I donu2019t exactly understand what is meant by this. When I point to the technical information of the pop-up mentioned before, it refers to FSABE-INTAD.
In addition, I donu2019t see any change of the interface of the print program. I can call any print device as before, and there is no e-mail button or such.
Does anyone know why the Clerku2019s Internetadres is not proposed and wheter it is OK that there is no change of the interface?
‎2008 Jul 07 2:29 PM
Hi,
Check whether you have SMTP settings in SCOT transaction.
Raghav
‎2008 Jul 07 3:55 PM
Dear Raghvav,
The settings in SCOT seem te be all right. I think the problem is de mail adresses are not transferred automatically.