on 07-03-2008 7:47 AM
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.
Solved
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
before this u need to set the settings in transaction SCOT.
Contact your basis people for this..
Regards,
Aanand Lokineni.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.