Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Convert Smartform to PDF and Email

Hello Everyone,

I am bit new to ABAP. My requirement is to convert a smartform in to a PDF and then EMAIL it. Could any one please explain me the process of achieving this. I have already done my research regarding this and found some Function modules that we can use. But, I was not successful in getting my desired output.

I am creating the smartform using "SSF_FUNCTION_MODULE_NAME" FM and then passed the returning smartform name to the following code.

CALL FUNCTION lf_fm_name


control_parameters = ls_control_param

output_options = ls_composer_param

user_settings = 'X'

is_inv = wa_inv


job_output_info = ls_job_info


formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4


Now, how do I convert this smartform to a PDF and Email. Could someone please give me some code to do this. I would greatly appreciate your help.



Former Member

Helpful Answer

Not what you were looking for? View more on this topic or Ask a question