<?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: SAP script printout in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-printout/m-p/5790555#M1309824</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;You can check the link given below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="562317"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you will get the solution of your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarita Singh Rathour&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 07 Jul 2009 05:25:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-07T05:25:13Z</dc:date>
    <item>
      <title>SAP script printout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-printout/m-p/5790554#M1309823</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;  I have got the output from my sap script.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to send the output as a mail to the concerned person.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In menu there is a send mail options but it is disabled.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How to send this SAP script output in a mail (either PDF or the same as output format.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 02:52:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-printout/m-p/5790554#M1309823</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T02:52:39Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script printout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-printout/m-p/5790555#M1309824</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;You can check the link given below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="562317"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope you will get the solution of your problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks &amp;amp; Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sarita Singh Rathour&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 05:25:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-printout/m-p/5790555#M1309824</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T05:25:13Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script printout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-printout/m-p/5790556#M1309825</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Ramya,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can modify the driver program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can create the PDF file using spool request created and then send email using function module 'SO_DOCUMENT_SEND_API1'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Anil Salekar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 05:29:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-printout/m-p/5790556#M1309825</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T05:29:48Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script printout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-printout/m-p/5790557#M1309826</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;step1:&lt;/P&gt;&lt;P&gt;use the FM  CONVERT_OTF to convert otf to pdf.&lt;/P&gt;&lt;P&gt;step 2:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;use the folowing code to convert the PDF to a required format and to move the exact content in g_objbin and g_objpack&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT t_line.&lt;/P&gt;&lt;P&gt;    TRANSLATE t_line USING ' ~'.&lt;/P&gt;&lt;P&gt;   CONCATENATE g_buffer t_line INTO g_buffer.&lt;/P&gt;&lt;P&gt; ENDLOOP.&lt;/P&gt;&lt;P&gt; TRANSLATE g_buffer USING '~ '.&lt;/P&gt;&lt;P&gt;  DO.&lt;/P&gt;&lt;P&gt;   g_message1 = g_buffer.&lt;/P&gt;&lt;P&gt;   APPEND g_message1.&lt;/P&gt;&lt;P&gt;  SHIFT g_buffer LEFT BY 255 PLACES.&lt;/P&gt;&lt;P&gt;   IF g_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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; g_objbin [] = g_message1 [] .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DESCRIBE TABLE g_objbin LINES g_lines_bin.&lt;/P&gt;&lt;P&gt;  READ TABLE g_objbin INDEX g_lines_bin.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  g_objpack-transf_bin = 'X'.&lt;/P&gt;&lt;P&gt;  g_objpack-head_start = 1.&lt;/P&gt;&lt;P&gt; g_objpack-head_num = 0.&lt;/P&gt;&lt;P&gt; g_objpack-body_start = 1.&lt;/P&gt;&lt;P&gt;  g_objpack-doc_size = ( g_lines_bin - 1 ) * 255 + STRLEN( g_objbin ).&lt;/P&gt;&lt;P&gt; g_objpack-body_num = g_lines_bin.&lt;/P&gt;&lt;P&gt; g_objpack-doc_type ='PDF'.&lt;/P&gt;&lt;P&gt; g_objpack-obj_name = text-009.&lt;/P&gt;&lt;P&gt;APPEND g_objpack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;step 3:&lt;/P&gt;&lt;P&gt;use teh following code to attach the content in mail and send it to a recevier&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;g_reclist-rec_type = 'F'.&lt;/P&gt;&lt;P&gt;  g_reclist-fax = l_faxno.&lt;/P&gt;&lt;P&gt;  g_reclist-country = 'USA'.&lt;/P&gt;&lt;P&gt;  APPEND g_reclist.&lt;/P&gt;&lt;P&gt;&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           = wa_doc_chng&lt;/P&gt;&lt;P&gt;      put_in_outbox           = 'X'&lt;/P&gt;&lt;P&gt;      commit_work             = 'X'&lt;/P&gt;&lt;P&gt;    TABLES&lt;/P&gt;&lt;P&gt;      packing_list            = g_objpack&lt;/P&gt;&lt;P&gt;      contents_bin            = g_objbin&lt;/P&gt;&lt;P&gt;      contents_txt            = g_objtxt&lt;/P&gt;&lt;P&gt;      receivers               = g_reclist&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;HR originaltext="--------------------------------" /&gt;&lt;P&gt;let me know if you need any more help&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: jeevitha krishnaraj on Jul 7, 2009 9:35 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 07 Jul 2009 07:34:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-printout/m-p/5790557#M1309826</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-07T07:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: SAP script printout</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-printout/m-p/5790558#M1309827</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;/P&gt;&lt;P&gt;You can pass communication parameters from function module call "OPEN_FORM".&lt;/P&gt;&lt;P&gt;and to get commnication parameters you have to use function modules "ADDR_GET_NEXT_COMM_TYPE" and "CONVERT_COMM_TYPE_DATA" &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please refer include RVADOPFO for NAST-NACHA EQ '5'&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Santosh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 16:24:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/sap-script-printout/m-p/5790558#M1309827</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T16:24:26Z</dc:date>
    </item>
  </channel>
</rss>

