Skip to Content

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

Store Smartforms spool

Dear experts,

I would like to store the spool to sp01, after call smartforms. What parameter should i set for it?

Below is my FM functions.

CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'

EXPORTING

formname = gc_form

IMPORTING

fm_name = lf_fm_name

EXCEPTIONS

no_form = 1

no_function_module = 2

OTHERS = 3.

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

user_settings = space

is_header = invoice_header

is_chinese = invoice_chinese

is_nast = nast

is_repeat = repeat

IMPORTING

job_output_info = tab_otf_data

TABLES

it_item = invoice_item

it_batch = invoice_batch

EXCEPTIONS

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

OTHERS = 5.

Thanks and Regards

TEE

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