cancel
Showing results for 
Search instead for 
Did you mean: 

Error in sending smartform as fax

Former Member
0 Kudos

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.

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

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.

Former Member
0 Kudos

Hi,

Thank you.

Previously used the fax was working fine, its been long.

Can someone please provide me with the necessary steps whereby i can check if the Fax is working fine?

i don't know if its possible, if so, can someone please help.

Thank you.......

Former Member
0 Kudos

Hi,

Send a test FAX through your program.

Go to transaction SCOT.

From View->System Status

In the node FAX see if any message is there in Error, In Transit or Waiting Status.

Then go to Utilities->Overview of send orders->select the period for log

You can see your FAX message's status there.

If the log is not there, you can assume that the problem is with the code. Then we shall diagnose it.

Pls reward points if useful.

Regards,

Renjith Michael.

Former Member
0 Kudos

Hello,

Thank you , and sorry for the late reply.

The Fax is there but in error mode.

Kind regards,

Lina

Former Member
0 Kudos

Hi,

Its Ok.

Then see the error number. on clicking on it, you will get the reason for the error.

If it says communication error, then ur code is right.... just BASIS configuration changes may require...

Regards,

Renjith Michael.

Former Member
0 Kudos

Actually i am getting

Error number :

821: Cannot process message in node, parameters cannot be converted

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.

Thank you for your understanding and quick reply.

Former Member
0 Kudos

Hi,

Then, you can test the FAX fuctionality like:

go to System->Short Message->give a test message,give recipient as the FAX number,type as FAX->Shift+F8 the see if it works... else only SCOT errors will be there...

See:

http://help.sap.com/saphelp_nw2004s/helpdata/en/2b/d925bf4b8a11d1894c0000e8323c4f/frameset.htm

Also see:

https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/4b4fa090-0201-0010-d3b7-b23...

Regards,

Renjith Michael.

Former Member
0 Kudos

Hello,

When trying to send a short message as Fx, i am getting the same error.

Kind regards,

Former Member
0 Kudos

Hi,

Then the problem is with the FAX configuration in SCOT only.

Just ask the BASIS fellow to check it.

The configuration is like:

http://help.sap.com/saphelp_nw2004s/helpdata/en/af/73563c1e734f0fe10000000a114084/frameset.htm

Regards,

Renjith Michael.

Former Member
0 Kudos

Hi,

Yes you are right, the problem comes from configuration.

When tested it with another system it worked.

Thank you wholeheartedly for your prrecious help.

Kind regards,

Answers (0)