<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Program sending via fax. in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-sending-via-fax/m-p/4009845#M957979</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link for all your querries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5132750"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Check this one:&lt;/P&gt;&lt;P&gt;SAP Script-&amp;gt;PDF-&amp;gt;Email&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have alook at this code also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CONVERT_ABAPSPOOLJOB_2_PDF'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;src_spoolid = mi_rqident&lt;/P&gt;&lt;P&gt;no_dialog = c_no&lt;/P&gt;&lt;P&gt;dst_device = c_device&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;pdf_bytecount = gd_bytecount&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;pdf = it_pdf_output&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;err_no_abap_spooljob = 1&lt;/P&gt;&lt;P&gt;err_no_spooljob = 2&lt;/P&gt;&lt;P&gt;err_no_permission = 3&lt;/P&gt;&lt;P&gt;err_conv_not_possible = 4&lt;/P&gt;&lt;P&gt;err_bad_destdevice = 5&lt;/P&gt;&lt;P&gt;user_cancelled = 6&lt;/P&gt;&lt;P&gt;err_spoolerror = 7&lt;/P&gt;&lt;P&gt;err_temseerror = 8&lt;/P&gt;&lt;P&gt;err_btcjob_open_failed = 9&lt;/P&gt;&lt;P&gt;err_btcjob_submit_failed = 10&lt;/P&gt;&lt;P&gt;err_btcjob_close_failed = 11&lt;/P&gt;&lt;P&gt;others = 12.&lt;/P&gt;&lt;P&gt;check sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transfer the 132-long strings to 255-long strings &lt;/P&gt;&lt;P&gt;loop at it_pdf_output.&lt;/P&gt;&lt;P&gt;translate it_pdf_output using ' ~'.&lt;/P&gt;&lt;P&gt;concatenate gd_buffer it_pdf_output into gd_buffer.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;translate gd_buffer using '~ '.&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;it_mess_att = gd_buffer.&lt;/P&gt;&lt;P&gt;append it_mess_att.&lt;/P&gt;&lt;P&gt;shift gd_buffer left by 255 places.&lt;/P&gt;&lt;P&gt;if gd_buffer is initial.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then call FM after populating attachment data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SO_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;document_data = w_doc_data&lt;/P&gt;&lt;P&gt;put_in_outbox = 'X'&lt;/P&gt;&lt;P&gt;sender_address = ld_sender_address&lt;/P&gt;&lt;P&gt;sender_address_type = ld_sender_address_type&lt;/P&gt;&lt;P&gt;commit_work = 'X'&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;sent_to_all = w_sent_all&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;packing_list = t_packing_list&lt;/P&gt;&lt;P&gt;contents_bin = t_attachment&lt;/P&gt;&lt;P&gt;contents_txt = it_message&lt;/P&gt;&lt;P&gt;receivers = t_receivers&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;too_many_receivers = 1&lt;/P&gt;&lt;P&gt;document_not_sent = 2&lt;/P&gt;&lt;P&gt;document_type_not_exist = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also u can chk sample programe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to the code in the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdev.co.uk/reporting/rep_spooltopdf.htm" target="test_blank"&gt;http://www.sapdev.co.uk/reporting/rep_spooltopdf.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 20 Jun 2008 06:28:38 GMT</pubDate>
    <dc:creator>Simha_</dc:creator>
    <dc:date>2008-06-20T06:28:38Z</dc:date>
    <item>
      <title>Program sending via fax.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-sending-via-fax/m-p/4009844#M957978</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently doing a program wherein it will send the document via FAX. The document is done via SMARTFORMS.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Could anyone give me a sample program/code on how to send the document via FAX? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your quick response will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CarMey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 06:11:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-sending-via-fax/m-p/4009844#M957978</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-20T06:11:12Z</dc:date>
    </item>
    <item>
      <title>Re: Program sending via fax.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-sending-via-fax/m-p/4009845#M957979</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check this link for all your querries&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="5132750"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please Check this one:&lt;/P&gt;&lt;P&gt;SAP Script-&amp;gt;PDF-&amp;gt;Email&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;have alook at this code also&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'CONVERT_ABAPSPOOLJOB_2_PDF'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;src_spoolid = mi_rqident&lt;/P&gt;&lt;P&gt;no_dialog = c_no&lt;/P&gt;&lt;P&gt;dst_device = c_device&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;pdf_bytecount = gd_bytecount&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;pdf = it_pdf_output&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;err_no_abap_spooljob = 1&lt;/P&gt;&lt;P&gt;err_no_spooljob = 2&lt;/P&gt;&lt;P&gt;err_no_permission = 3&lt;/P&gt;&lt;P&gt;err_conv_not_possible = 4&lt;/P&gt;&lt;P&gt;err_bad_destdevice = 5&lt;/P&gt;&lt;P&gt;user_cancelled = 6&lt;/P&gt;&lt;P&gt;err_spoolerror = 7&lt;/P&gt;&lt;P&gt;err_temseerror = 8&lt;/P&gt;&lt;P&gt;err_btcjob_open_failed = 9&lt;/P&gt;&lt;P&gt;err_btcjob_submit_failed = 10&lt;/P&gt;&lt;P&gt;err_btcjob_close_failed = 11&lt;/P&gt;&lt;P&gt;others = 12.&lt;/P&gt;&lt;P&gt;check sy-subrc = 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Transfer the 132-long strings to 255-long strings &lt;/P&gt;&lt;P&gt;loop at it_pdf_output.&lt;/P&gt;&lt;P&gt;translate it_pdf_output using ' ~'.&lt;/P&gt;&lt;P&gt;concatenate gd_buffer it_pdf_output into gd_buffer.&lt;/P&gt;&lt;P&gt;endloop.&lt;/P&gt;&lt;P&gt;translate gd_buffer using '~ '.&lt;/P&gt;&lt;P&gt;do.&lt;/P&gt;&lt;P&gt;it_mess_att = gd_buffer.&lt;/P&gt;&lt;P&gt;append it_mess_att.&lt;/P&gt;&lt;P&gt;shift gd_buffer left by 255 places.&lt;/P&gt;&lt;P&gt;if gd_buffer is initial.&lt;/P&gt;&lt;P&gt;exit.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;enddo.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then call FM after populating attachment data&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;call function 'SO_DOCUMENT_SEND_API1'&lt;/P&gt;&lt;P&gt;exporting&lt;/P&gt;&lt;P&gt;document_data = w_doc_data&lt;/P&gt;&lt;P&gt;put_in_outbox = 'X'&lt;/P&gt;&lt;P&gt;sender_address = ld_sender_address&lt;/P&gt;&lt;P&gt;sender_address_type = ld_sender_address_type&lt;/P&gt;&lt;P&gt;commit_work = 'X'&lt;/P&gt;&lt;P&gt;importing&lt;/P&gt;&lt;P&gt;sent_to_all = w_sent_all&lt;/P&gt;&lt;P&gt;tables&lt;/P&gt;&lt;P&gt;packing_list = t_packing_list&lt;/P&gt;&lt;P&gt;contents_bin = t_attachment&lt;/P&gt;&lt;P&gt;contents_txt = it_message&lt;/P&gt;&lt;P&gt;receivers = t_receivers&lt;/P&gt;&lt;P&gt;exceptions&lt;/P&gt;&lt;P&gt;too_many_receivers = 1&lt;/P&gt;&lt;P&gt;document_not_sent = 2&lt;/P&gt;&lt;P&gt;document_type_not_exist = 3&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;also u can chk sample programe.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refer to the code in the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sapdev.co.uk/reporting/rep_spooltopdf.htm" target="test_blank"&gt;http://www.sapdev.co.uk/reporting/rep_spooltopdf.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do reward if helpful&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Simha.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 06:28:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-sending-via-fax/m-p/4009845#M957979</guid>
      <dc:creator>Simha_</dc:creator>
      <dc:date>2008-06-20T06:28:38Z</dc:date>
    </item>
    <item>
      <title>Re: Program sending via fax.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-sending-via-fax/m-p/4009846#M957980</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Simha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Your reply has been appreciated, however the document will be sent through TELEFAX and not by EMAIL.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CarMey&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 06:34:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-sending-via-fax/m-p/4009846#M957980</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-20T06:34:45Z</dc:date>
    </item>
    <item>
      <title>Re: Program sending via fax.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-sending-via-fax/m-p/4009847#M957981</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;Refer to the following link:&lt;/P&gt;&lt;P&gt;&lt;A href="http://sap-img.com/abap/sending-fax-from-abap.htm" target="test_blank"&gt;http://sap-img.com/abap/sending-fax-from-abap.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Reward if helpful.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sipra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 08:20:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-sending-via-fax/m-p/4009847#M957981</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-20T08:20:12Z</dc:date>
    </item>
    <item>
      <title>Re: Program sending via fax.</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-sending-via-fax/m-p/4009848#M957982</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Refere to following link for sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.sap-img.com/abap/sending-fax-from-abap.htm" target="test_blank"&gt;http://www.sap-img.com/abap/sending-fax-from-abap.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Reward pts if usefull.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Dhan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 20 Jun 2008 08:23:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-sending-via-fax/m-p/4009848#M957982</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-06-20T08:23:00Z</dc:date>
    </item>
  </channel>
</rss>

