Symptom
The user wants to include the Business Partner email address (fields LFB1-INTAD / KNB1-INTAD) in a custom payment format.
However:
- The email node is mapped to FPAYH-INTAD in the payment format.
- After executing the payment run and generating the payment file,
- The mapped email node appears empty in the output file.
"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
Reproducing the Issue
- Create or use a custom payment format.
- Map the email node to FPAYH-INTAD.
- Execute a payment run to generate the payment medium file.
- Open the generated file.
- Observe that the mapped email node contains no value.
Cause
- Field FPAYH-INTAD is not populated by the payment program with the Business Partner email.
- It does not reference LFB1-INTAD / KNB1-INTAD.
- Instead, FPAYH-INTAD is intended for a user’s personal email address, not the Business Partner’s email.
Resolution
- Do not use FPAYH-INTAD for exporting the business partner email; it refers to a user’s personal email, not the business partner email.
- Create and enable a customer reference field (ZREF) in the payment mapping structures to carry the business partner email.
- Use the application Custom Logic, Event ID FBL_EVENT_06 - Payment Medium: Custom Additional Reference Fields (Business Add-In BAdI) to implement your own logic to fill the data into ZREFxx custom reference fields to read the business partner email from LFB1-INTAD/KNB1-INTAD, which will be exported into payment file.
For reference: See blog How to export a custom field (e-mail) in the payment file - In the custom payment format, map the email node to the ZREF field instead of FPAYH-INTAD.
- Regenerate the payment file and verify that the email node now contains the business partner email.
See Also
- Blog: How to export a custom field (e-mail) in the payment file
- KBA: 0003410686 - Including Custom Reference Fields mapping structure in Map Format Data for Payments
Keywords
FPAYH-INTAD, LFB1-INTAD, KNB1-INTAD, payment medium, payment file, payment format, map format, DMEE, ZREF, custom reference field, business partner email, vendor email, empty email node, payment advice, s4hana cloud public edition , KBA , FI-AP-AP-B1 , Payment transfer (w/o DE, US) , Problem
Product
SAP S/4HANA Cloud Public Edition all versions
Attachments
| Pasted image.png |
| Pasted image.png |
SAP Knowledge Base Article - Public