cancel
Showing results for 
Search instead for 
Did you mean: 

Problem while calling smartform in webdynpro

Former Member
0 Kudos

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.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

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

former_member199125
Active Contributor
0 Kudos

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

Former Member
0 Kudos

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