Skip to Content

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

OTF data in smartform

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.

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