I have an requirement, where in I need to send the text to email body in larger bold font (Arial 12 and 11 size fonts). This time email is triggering with PDF attachment through the below FM. Is there any possibility to send the email body text as well by below FM (l_fm_name). I know we can send email body text through FM so_new_document_send_api1.
Someone guidance or steps would really be appreciated.
CALL FUNCTION l_fm_name
is_header = gw_header " Report Header
is_footer = gw_footer " Report Footer
wa_legal = l_walegal " WA Legal Statement
control_parameters = gw_control_parameters "
output_options = gw_output_options
is_nast = nast
user_settings = space
mail_recipient = cs_recipient
mail_sender = cs_sender
is_kubra_inv = lv_invoice
it_items = gt_items " Line Items
it_cost_disc = gt_pricing " Subtotal princing description
it_items_cond = gt_items_cond " Line items pricing conditions
it_komv = gt_komv " Item Conditions
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
IF sy-subrc <> 0.
* MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
* WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.