Skip to content

/AWS1/CL_SES=>TESTRENDERTEMPLATE()

About TestRenderTemplate

Creates a preview of the MIME content of an email when provided with a template and a set of replacement data.

You can execute this operation no more than once per second.

Method Signature

IMPORTING

Required arguments:

IV_TEMPLATENAME TYPE /AWS1/SESTEMPLATENAME /AWS1/SESTEMPLATENAME

The name of the template to render.

IV_TEMPLATEDATA TYPE /AWS1/SESTEMPLATEDATA /AWS1/SESTEMPLATEDATA

A list of replacement values to apply to the template. This parameter is a JSON object, typically consisting of key-value pairs in which the keys correspond to replacement tags in the email template.

RETURNING

OO_OUTPUT TYPE REF TO /AWS1/CL_SESTESTRENDERTMPLRSP /AWS1/CL_SESTESTRENDERTMPLRSP