cancel
Showing results for 
Search instead for 
Did you mean: 

send smartform output in pdf format to FAX

Madhurivs23
Participant
0 Kudos

Hi All,

I want to send the smartform output in pdf format to fax number.

I have following questions:

1. How the fax number should be provided?

2. which function module to use to send Fax output? Can I use SO_NEW_DOCUMENT_ATT_SEND_API1 for sending fax by filling up the reciever's list by fax numbers instead of email?

3. I am taking smartform output into pdf format using CONVERT_OTF funtion module

Please tell me the proper way to send the smartform output as fax

Thanks in advance

rgds,

MAdhuri

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

madhuri sonawane

First one , fax is having +91 20 12345678 like this ,

Regards,

Ansari.

Answers (1)

Answers (1)

Former Member
0 Kudos

Hi Madhuri,

data:
  t_receivers type table of somlreci1
                       with header line.


Fill the recievr parameters:

      t_receivers-receiver = p_faxno.
      t_receivers-rec_type = 'F'.
      t_receivers-com_type = 'FAX'.
      append t_receivers.

call function 'SO_DOCUMENT_SEND_API1'
      exporting
        document_data              = w_docdata
        put_in_outbox              = 'X'
        sender_address             = w_sender
        commit_work                = 'X'
      tables
        packing_list               = t_packing_list
        contents_bin               = t_objbin
        contents_txt               = t_message
        receivers                  = t_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.

Regards,

Sravanthi

Madhurivs23
Participant
0 Kudos

Hi Shravanthi,

Thanks for the response. I had refered to your response in other thread and implemented the same.

My doubt was how to provide the fax number.

like if fax is having +91 20 12345678

then should I provide it like 912012345678

or 009120....?

Rgds,

Madhuri