Symptom
The BAdI APOC_ADD_EMAIL_RECIPIENTS is not being triggered during the generation of the Payment Advice layout.
"Image/data in this KBA is from SAP internal systems, sample data, or demo systems. Any resemblance to real data is purely coincidental."
Environment
SAP S/4HANA Cloud Public Edition
Cause
The configuration in BRF+ – Maintain Email Recipients was incomplete. The Email Address field was not linked to the constant Add email recipients from custom logic under the application OPD_APOC_SYSTEM.
Resolution
- In the Output Parameter Determination app, select Payment Advice from the Show Rules for dropdown list and Email Recipient for the Determination Step dropdown list. Insert a new row in the decision table. Choose PAYM_ADV (Payment Advice) as output type, and select an email type code (for example, TO for direct recipients).
-
In the Maintain Email Recipients in BRF+ settings, perform the below steps:
-
In the Email Address field, choose Select Expressions from the dropdown list.
-
In the dialog box that opens, apply the following search criteria and execute the search:
-
Application Name: OPD_APOC_SYSTEM
-
Expression Type: Constant
-
-
- In the search result, select the Add email recipients from custom logic constant and confirm.
-
Activate the changes.
- During output parameter determination, the system calls the Addition of Email Recipients (APOC_ADD_EMAIL_RECIPIENTS) BAdI for each row maintained in the decision table to determine additional email recipients.
See Also
Keywords
badi apoc_add_email_recipients, payment advice, brf+ configuration, output parameter determination, email recipients, sap s/4hana cloud public edition, maintain multiple email recipients, custom logic, payment apps, payment advice layout, email type code , KBA , FI-FIO-AP-PAY-2CL , Payment Apps (Public Cloud) , Problem
Product
Attachments
| Pasted image.png |
| Pasted image.png |
| Pasted image.png |
SAP Knowledge Base Article - Public