cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

SAP ISU FPCOPARA (FPCC0002) how to send automatic email attachment for print workbench request

0 Likes
3,504

Dear SAP Guru's,

I am trying to send email when ever we create Account statement (FPCC0002) in ISU module , We are following below process ,first we create Account statement FPCC0002 and then we run tcode FPCOPARA ( Corresponding print). It is generating spool , I can see attachment for that spool no. We did configuration in correspondence type as 0002 and correspondence variant ( dispatch control an Email) but email is not generating for BP or contract account level ( we maintain Email details and communication method an email). I read lot of SAP discussion on it but there are no clarity about configuration in SPRO as well as BTE Event (SAMPLE_INTERFACE_44012020) or EVENTS ( ISU_SAMPLE_1796 or other events should we use to send email ). Please provide details steps how to send email by using events or BTE or BADI's with example please . Please provide configuration in functional side as well technical details which are necessary to send an email automatic . I have followed below thread https://answers.sap.com/questions/8485366/correspondence-through-email.html.

Kind regards,

Krishna.

Accepted Solutions (1)

Accepted Solutions (1)

0 Likes

Thank you every one for yours input, We resolved this issues. The below steps we followed.

1. Correspondence variant (Dispatch Control As an 'EMAIL') Maintained.

2. Contract account mode as EMAIL and BP should maintain EMAIL ID.

3. Output device 'ARCH' should configure it. Check table TSP03C details are available.

4. Run FP00002 and then Run FPCOPARA tcode. Check SOST we can see Account statement Email.

0 Likes

We can see all the details in this Event FKK_SAMPLE_1720. Below event check FM EFG_PRINT_EXPANDED , EFG_PRINT and FKK_PRINT_ACCTBALA_CORR any other details or Errors.

Answers (4)

Answers (4)

0 Likes

Thank you for inputs Ronny.

RonnyF
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Krishna,

transaction fpcopara will print the correspondence entry which is saved in table DFKKCOH. Ensure during the correspondence creation that the field SENDCONTROL in DFKKCOH is filled with the desired value. The standard event which is used for the correspondence entry creation is visible per correspondence type in table tfk070a, field EVE_CCC.

Best regards,
Ronny

0 Likes

Thank you Ronny,

Configuration of email step is available in my system and also using it (I tested BCS_EXAMPLE_8 program provided inputs as print workbench Spool no & Email Id manually and checked SOST we received an email) . The main problem how to use BTE events SAMPLE_INTERFACE_44011000 or FKKCORR_STD_PRINT_44011000 or BADI to write logic for sending an email.

Whenever we run FPCOPARA tcode automatically an email should trigger for corresponding Contract account with attachment . Please provide configuration steps in ISU module and necessary ABAP development steps.

Kind Regards,

Krishna.

RonnyF
Product and Topic Expert
Product and Topic Expert
0 Likes

Hello Krishna,

I remember that a lot of settings are necessary to implement the requirement.The following links from different online-documentations, forums and so on give you a general overview and I hope at least an idea which setting is missing:

Sending as E-Mail or Telefax Using SAPconnect

SAPconnect Communication Interface

SAPconnect (BC-SRV-COM)

SMTP Configuration Guide

The following SAP notes give you additional information and especially the first note provides many details about the necessary configuration:

455140 Configuration of e-mail, fax, paging/SMS via SMTP

1324547 Sending a spool request as PDF via e-mail

1477190 E-mail in HTML format for a collection

The following Wiki page refers to the topic when you send an e-mail to multiple recipients:

How to send an invoice to multiple email recipients?
https://wiki.scn.sap.com/wiki/x/7MqyGw

And there is an interesting blog regarding configuration:

SAP Configuring Email SCOT
https://blogs.sap.com/2013/10/21/sap-configuring-email-scot/

Best regards,
Ronny