Application Development and Automation 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: 
Read only

SEND_ERROR in the SMARTFORM function module

Former Member
0 Likes
7,434

Hi All,

I want to send the PO via e-mai as attached PDF file. It is working fine in DEV. But in PRD i am getting SEND_ERROR in the SMARTFORM function module.

can any one hep me to fix this????

CALL FUNCTION fm_name

EXPORTING

archive_index = toa_dara

archive_parameters = arc_params

control_parameters = ssfctrlop

output_options = ls_composer_param

user_settings = 'X'

nast = nast

zxekko = zxekko

zxpekko = zxpekko

IMPORTING

job_output_info = job_output_info

EXCEPTIONS

formatting_error = 1

internal_error = 2

send_error = 3

user_canceled = 4

OTHERS = 5.

Rgds,

Rajesh.

2 REPLIES 2
Read only

krishna_k19
Contributor
0 Likes
3,069

dear raj,

        this error will come (SEND_ERROR) bcz of output printer problem. you can check it in USER PROFILE Printer setting.

this post is earlier but i answering now y bcz of it wil helpful for others.

rgds,

krishna

Read only

gouravkumar64
Active Contributor
0 Likes
3,069

Hi,

Go to se37,enter ur generated function module name .

Put a brkpoint at first executable statement of that FM.

If u run ur program,then it will stop.

Then put brk point on SSRFT_READ_ERROR(From menu).

after press f8,u will know what is the reason of ur error.

and check thjis also

http://wiki.sdn.sap.com/wiki/display/Snippets/Unique+Driver+Program+for+any+smartform+of+a+transacti...

Try like this.

Thanks

Gourav.