Symptom
- The BAdI FI_CORRESPONDENCE_EMAIL is implemented to assign an email address as CC.
- However, when the email is sent, the CC email address appears as TO.
Environment
SAP S/4HANA Cloud Public Edition
Reproducing the Issue
- Implement the BAdI FI_CORRESPONDENCE_EMAIL.
- Assign an email address as CC in the BAdI implementation.
- Access the app Create Correspondence.
- Select a correspondence type and provide required values.
- Send the email output.
- When the email is sent, the CC email address appears as TO.
Cause
In Create Correspondence, the email address maintained in CC and BCC in Output Parameter Determination is not considered. The app Schedule Accounts Receivable Jobs with template: Correspondence: Account Statement supports CC and BCC by implementing the BAdI FI_CORRESPONDENCE_EMAIL.
However, the BAdI FI_CORRESPONDENCE_EMAIL does not support providing the email addresses in CC and BCC for the correspondence types in the Create Correspondence application. The email addresses maintained in CC and BCC are moved to 'To' while sending the output.
Resolution
- The BAdI FI_CORRESPONDENCE_EMAIL does not support providing the email addresses in CC and BCC for the correspondence types in the Create Correspondence application.
- The BAdI FI_CORRESPONDENCE_EMAIL does support TO, CC, BCC in Correspondence jobs in Schedule Accounts Receivable Jobs.
Note: Only 3 job templates for correspondence are available in Schedule Accounts Receivable Jobs: Open Items List, Customer Statement, Account Statement
See Also
How to Add Additional Email Recipients for Billing Documents by Using Custom Logic
Need Extensibility option to include additional fields in Fiori application – Create Correspondence
Refer to KBA 0002963059, "How to Submit Feature Requests for SAP S/4HANA Cloud Product" for more information.
Keywords
BAdI, FI_CORRESPONDENCE_EMAIL, CC, BCC, TO, email, SAP S/4HANA Cloud Public Edition, Create Correspondence application, feature request, SAP Customer Influence. , KBA , FI-AR-AR-CR-2CL , Correspondence (Public Cloud) , Problem