Skip to Content
avatar image
Former Member

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.

Add comment
10|10000 characters needed characters exceeded

  • Follow
  • Get RSS Feed

1 Answer

  • avatar image
    Former Member
    Sep 04, 2008 at 07:51 PM

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

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      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?