cancel
Showing results for 
Search instead for 
Did you mean: 

Sending Fax as SmartForm Output.

Former Member
0 Kudos

Hi Gurus,

I need to send the smart form output to the fax machine in my office to check whether its working or not.

I have written this code:

i have fetched the fax number from table adr3

READ TABLE lt_adr3

INTO lwa_adr3

INDEX 1.

IF sy-subrc = 0.

CONCATENATE lwa_adr3-fax_number text-002 INTO lwa_receivers-receiver.

lwa_receivers-rec_type = u

lwa_receivers-com_type = int

lwa_receivers-notif_del = x

lwa_receivers-notif_ndel = x

APPEND lwa_receivers TO lt_receivers.

ENDIF.

ENDIF.

where text-002 is @belgroup

And Assigned it to the function module.

the function module is working fine but there is no output in the fax machine...the fax number used is +912267557100

CALL FUNCTION 'SO_DOCUMENT_SEND_API1'

EXPORTING

document_data = lwa_document_data

  • commit_work = 'X'

TABLES

packing_list = lt_packing_list

contents_bin = lt_mess_att

receivers = lt_receivers

EXCEPTIONS

too_many_receivers = 1

document_not_sent = 2

document_type_not_exist = 3

operation_no_authorization = 4

parameter_error = 5

x_error = 6

enqueue_error = 7

OTHERS = 8.

IF sy-subrc <> 0.

ENDIF.

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Solved

Former Member
0 Kudos

Hi,

I am having issues in sending fax.

Here is what I did. I am able to send fax using standard transaction So00.

I could also send fax from smartform but the issue is, I dont see Graphic image and table design in the output. Its like plain text

Did you not have that issue?

Thanks,

Ramesh

Former Member
0 Kudos

Hi,

before this u need to set the settings in transaction SCOT.

Contact your basis people for this..

Regards,

Aanand Lokineni.

Former Member
0 Kudos

I have checked in transaction sost where when i execute that fax method the status is in green but the fax machine has no output.