Skip to Content
avatar image
Former Member

Problem while calling smartform in webdynpro

Hi Experts,

I am calling a smartform in webdynpro abap. It was working fine in development server. I have ported the same request to Quality Server, there it was not working.it is giving sy-subrc = 1 and it is displaying a blank screen

I m following the following steps for calling smartform in webdynrpo.

I am calling the smartform by

call function 'SSF_FUNCTION_MODULE_NAME'

exporting

formname = 'ZSMARTFORM_NAME'

importing

fm_name = fname

exceptions

no_form = 1

no_function_module = 2

others = 3

if sy-subrc 0.

  • Error MESSAGE

endif.

call function fname

exporting

control_parameters = lv_control_parameters

output_options = lv_output_options

user_settings = space

pernr = stru_input1-zpernr

reinr = stru_input1-zreinr

pdvrs = stru_input1-zpdvrs

importing

job_output_info = lv_ssf_output

exceptions

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

others = 5

.

if sy-subrc 0.

message id sy-msgid type sy-msgty number sy-msgno

with sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.

endif.

But it is not passing otfdata and it is returning 1 in sy-subrc.

Please help me to solve this issue.

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

2 Answers

  • Nov 04, 2011 at 06:41 AM

    Are you using any images in smartform , i mean logo's ?

    if yes ,have you transported those also?

    and did you get otf converts fails error?

    Regards

    Srinivas

    Add comment
    10|10000 characters needed characters exceeded

    • Former Member

      I m not using any image.

      I have checked through debug and the function module is not transfering any file to OTF table.

      Please suggest me..

      Edited by: zakirriyaz on Nov 4, 2011 9:47 AM

  • avatar image
    Former Member
    Jan 08, 2012 at 05:59 AM

    It is solved, it was not working for only few users and it is working fine...

    Add comment
    10|10000 characters needed characters exceeded