看它的输入参数,例如下面调用函数中,输出参数 lv_ssfcrescl中outputdone值为'X'为正式打印为空时是打印预览:
CALL FUNCTION 'SSF_FUNCTION_MODULE_NAME'
EXPORTING
formname = 'ZSDF0001'
IMPORTING
fm_name = lv_function.
CALL FUNCTION lv_function
IMPORTING
job_output_info = lv_ssfcrescl
TABLES
t_head = gt_head
t_item = gt_item
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.