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

Send Attchment in delivery as Fax


I have a document attached to a delivery. Is it posiible to configure the outputype in a way to send this document as fax/email?


Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Apr 25, 2011 at 04:32 PM

    Createcustom output type with driver that retrieves the document and sends via BCS?

    Add a comment
    10|10000 characters needed characters exceeded

    • Former Member


      I have the same issue for sending the fax with PDF attachment.

      I create the document, attachments and sends via BCS class, but i got the following issue:

      No delivery to <fax number>, as part of message cannot be transferred

      Message no. XS811


      The message could not be delivered to recipient 6504612397 as part of the message could not be transferred.

      System Response

      Processing was ended normally.

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


      Part of the message could not be transported all the way to recipient <fax number>. This is usually due to particular binary attachments. Check the message and remove oversized attachments and attachments that require special coding, for example.

      The following is my code:

      lr_send_request = cl_bcs=>create_persistent( ).
      lr_document = cl_document_bcs=>create_document(
                                          i_type    =  gc_doc_type_raw
                                          i_text    =  it_message_body
                                          i_subject =  iv_subject ).
      * Get attachments
        PERFORM get_attachments USING        it_invoice_send
                                                    CHANGING lt_attachments
      *Add  attachments
        LOOP AT lt_attachments INTO ls_attachment.
          lv_attachment_subject = ls_attachment-subject.
                              i_attachment_type    = ls_attachment-doc_type
                              i_attachment_subject = lv_attachment_subject
                              i_att_content_hex    = ls_attachment-cont_hex ).
            CATCH cx_document_bcs INTO lx_document_bcs.
              MESSAGE e005(zzfi_coll_enh) RAISING add_attachment_failed.
      lr_send_request->set_document( lr_document ).
      lr_sender = cl_sapuser_bcs=>create( sy-uname ).
      lr_send_request->set_sender( lr_sender ).
      lr_recipient = cl_cam_address_bcs=>create_fax_address(
                                                        i_country = iv_fax_country
                                                        i_number  = iv_fax_number ).
                                i_recipient = lr_recipient
                                i_express   = gc_flg_x ).
                                i_with_error_screen = gc_flg_x
                                result = ev_result ).
            COMMIT WORK.



  • author's profile photo Former Member
    Former Member
    Posted on Apr 25, 2011 at 06:27 PM

    No . through a print program like in a normal output type.


    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.