09-04-2008 8:33 PM
Hello all,
I am trying to convert the smartform to pdf , but the when i call smartform FM the OTFDATA from JOB_OUTPUT_INFO is missing (but iam getting XSF data correctly) Please let me know if iam doing any mistake
i am giving code below
Control Parameters
cntrl_parm-no_dialog = 'X'.
cntrl_parm-preview = space.
cntrl_parm-getotf = 'X'.
Output Options
out_opt-tddest = 'LOCL'.
CALL FUNCTION fm_name
EXPORTING
control_parameters = cntrl_parm
output_options = out_opt
user_settings = ' '
IMPORTING
job_output_info = job_out
TABLES
data_itab = detail_itab
EXCEPTIONS
formatting_error = 1
internal_error = 2
send_error = 3
user_canceled = 4
OTHERS = 5.
09-04-2008 8:51 PM
Sorry i found my mistake i haven't changed form attributes in smartform.
11-20-2009 7:52 AM
I know this is an old thread but your problem sounds very much like my current.
So, could you please tell me how you solved it?