Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

OTF data in smartform

Former Member
0 Kudos

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.

2 REPLIES 2

Former Member
0 Kudos

Sorry i found my mistake i haven't changed form attributes in smartform.

0 Kudos

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?