Sending Branded HTML Emails in SAP S/4HANA Using Email Templates, CL_BCS, and Inline Images
Builds a branded HTML notification email in ABAP: an SAP S/4HANA Email Template bound to a CDS view supplies the dynamic flight fields, and an ABAP report renders and sends it through CL_SMTG_EMAIL_API and CL_BCS. Tries inlining the logo as a Base64 data URI first, finds Gmail strips it inconsistently, then rebuilds the message as a multipart/related document with the image as a separate MIME part matched to the HTML by Content ID. Lands exactly on the notificationsNotificationsTelling a person something happened when they are not looking at the screen — a notification in the launchpad, an email, a message somewhere they already are.SAP and community, narrow by design boundary on ABAP: Business Communication Services sends a document the application has already assembled, and an HTML body filled from a template with its inline image is the part written on top.
Where it sits
Who is behind it
Properties
About this work
Details
Graph
Source
History
- Entered the atlasDiscovered via SAP Community · abap-development-tag.
For your agent
- Ref
content:sending-branded-html-emails-in-sap-s-4hana-using-email-templates-cl-bcs-and-inli- JSON
- /content/sending-branded-html-emails-in-sap-s-4hana-using-email-templates-cl-bcs-and-inli.json
- MCP
- Connecting an agent