‎2016 Mar 22 10:27 AM
Experts,
Is possible add a text to body of mail message that is generated from function of smartforms?
Regards,
Laham.
‎2016 Mar 22 10:46 AM
‎2016 Mar 22 12:59 PM
Raymond,
Today I am sending SmartForms by email as follows:
CALL FUNCTION lf_fm_name
EXPORTING
archive_index = toa_dara
archive_parameters = arc_params
control_parameters = ls_control_param
mail_recipient = ls_recipient
mail_sender = ls_sender
output_options = ls_composer_param
is_ekko = l_doc-xekko
is_pekko = l_doc-xpekko
is_nast = l_nast
iv_from_mem = l_from_memory
iv_druvo = iv_druvo
iv_xfz = iv_xfz
TABLES
it_ekpo = l_doc-xekpo[]
it_ekpa = l_doc-xekpa[]
it_pekpo = l_doc-xpekpo[]
it_eket = l_doc-xeket[]
it_tkomv = l_doc-xtkomv[]
it_ekkn = l_doc-xekkn[]
it_ekek = l_doc-xekek[]
it_komk = l_xkomk[]
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
The result is the email with the PDF SmartForms.
My question: is possible to add text to body of email message that is generated from function (/1BCDWB/XXXXXXXX) of SmartForms, without using the function SO_DOCUMENT_SEND_API1.
Regards,
Laham.
‎2016 Mar 22 1:02 PM
Researching more thoroughly here in the forum, I found the link How to add body text to smartform email? | SCN, which is quoted in the post:
the FM that gets generated by the SMARTFORM doesn't allow for text in the email body
‎2016 Mar 22 3:34 PM
Look at sample report SF_XSF_DEMO_MAIL.
Hint: The above mentioned thread dates back to 2005, and mentions version 620, check online documentation of
Business Communication Interface (BCI).
Regards,
Raymond