Skip to Content
author's profile photo Former Member
Former Member

Error in sending smartform as fax

Hi everyone,

I am trying to send a smartform through Fax, and i am getting the following error;

Cannot process message in node, parameters cannot be converted

Message no. XS821

Diagnosis

The message cannot be processed in the node as parameters such as 'Send

time' or 'Priority' cannot be converted. It is possible that entire

parameters such as 'Recipient list' or 'Packet list' are missing.

System Response

Processing was terminated.

SAP system additional information (error number, if available):

MRSUM

Additional information of the node used (in the system language of the

node)

Can you guys please help me solving this problem?

Thanking you,

Kind regards,

I have changed my code several times, using different functions to send the fax and i am getting the same error message each time.

Please find below the piece of code i am using to send the fax.

DATA:GT_MAIL_LINES TYPE STANDARD TABLE OF soli.

data: gs_mail_lines TYPE soli.

DATA: ls_object_hd TYPE sood1,

ls_receivers TYPE soos1,

lt_receivers TYPE STANDARD TABLE OF soos1,

l_lines TYPE i,

ls_sadrfd TYPE sadrfd.

CLEAR: ls_object_hd, ls_receivers.

REFRESH lt_receivers.

ls_object_hd-objla = sy-langu.

ls_object_hd-objnam = 'NOTE'.

ls_object_hd-objdes = 'Fax subject line in here'.

"Calculate size of table

DESCRIBE TABLE gt_mail_lines LINES l_lines.

READ TABLE gt_mail_lines INDEX l_lines INTO gs_mail_lines.

ls_object_hd-objlen = ( l_lines - 1 ) * 255 + STRLEN( gs_mail_lines ).

"Set Fax control structure

"Fax number in structure must have no leading zero

"as this is added by SAPOffice from the country code

ls_sadrfd-rec_fax = '4421844

ls_sadrfd-rec_street = 'Addr'.

ls_sadrfd-rec_town = 'Addr'.

ls_sadrfd-rec_name1 = 'Name'.

ls_sadrfd-rec_state = 'MU'.

ls_sadrfd-form_langu = 'EN'.

ls_sadrfd-fax_form = 'Z_FAX_COVER'.

ls_sadrfd-send_comp = 'USER'

ls_sadrfd-send_immi = 'X'.

ls_sadrfd-send_nam = sy-uname.

ls_sadrfd-send_date = sy-datum.

ls_sadrfd-send_time = sy-uzeit.

"Convert Receiver information to char field

CALL FUNCTION 'C147_WORKAREA_TO_CHARFIELD'

EXPORTING

I_WORKAREA = ls_sadrfd

IMPORTING

E_CHARFIELD = ls_receivers-recextnam.

ls_receivers-recesc = 'F'.

ls_receivers-mailstatus = 'E'.

ls_receivers-sndart = 'FAX'.

ls_receivers-sndpri = '1'.

APPEND ls_receivers TO lt_receivers.

"Send fax

CALL FUNCTION 'SO_OBJECT_SEND'

EXPORTING

object_hd_change = ls_object_hd

object_type = 'RAW'

owner = sy-uname

originator_type = 'B'

TABLES

objcont = gt_mail_lines

receivers = lt_receivers

EXCEPTIONS

OTHERS = 01.

break buantoch.

"The function doesn't commit so we must

"do it if successful.

IF sy-subrc = 0.

COMMIT WORK AND WAIT.

ELSE.

WRITE: / 'Fax failed RAISE ERROR '(012).

ENDIF.

Add a comment
10|10000 characters needed characters exceeded

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jan 03, 2008 at 07:42 AM

    Hi,

    Plz check with your BASIS guys whether the SAP Connect for FAX is working fine. The transaction is SCOT. and I think your code should work if the configuration is correct.

    Regards,

    Renjith Michael.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.