<?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 Internal table send as ZIP attachment in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106754#M737532</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;Here is my requirement i need to send an internal table as ZIP file to an external id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any info?&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 16 Nov 2007 19:00:16 GMT</pubDate>
    <dc:creator>former_member194669</dc:creator>
    <dc:date>2007-11-16T19:00:16Z</dc:date>
    <item>
      <title>Internal table send as ZIP attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106754#M737532</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;Here is my requirement i need to send an internal table as ZIP file to an external id.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any info?&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 19:00:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106754#M737532</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-11-16T19:00:16Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table send as ZIP attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106755#M737533</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can use FM SXPG_CALL_SYSTEM and you need to maintain os command at SM69&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 19:24:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106755#M737533</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-16T19:24:09Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table send as ZIP attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106756#M737534</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have only internal table. for this how could i use SXPG comand? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;(I don;t want to download into pre.server and make it zip)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®s.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 19:38:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106756#M737534</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-11-16T19:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table send as ZIP attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106757#M737535</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello aRs,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure about your requirement :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have done like i will download the data into Application server and Used FM to zip the file &amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Check the below code :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Download the internal table data to a file selected by user&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;  DESCRIBE TABLE int_result_tab LINES sy-tfill.&lt;/P&gt;&lt;P&gt;  IF sy-tfill GT 0.&lt;/P&gt;&lt;P&gt;    IF sy-batch NE space.&lt;/P&gt;&lt;P&gt;      OPEN DATASET p_file FOR OUTPUT IN TEXT MODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF sy-subrc EQ 0.&lt;/P&gt;&lt;P&gt;        LOOP AT int_result_tab.&lt;/P&gt;&lt;P&gt;          TRANSFER int_result_tab TO p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;          IF sy-subrc NE 0.&lt;/P&gt;&lt;P&gt;            MESSAGE s000.&lt;/P&gt;&lt;P&gt;            EXIT.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;        ENDLOOP.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;        WRITE:/ 'Error Opening file ', p_file.&lt;/P&gt;&lt;P&gt;        EXIT.&lt;/P&gt;&lt;P&gt;      ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CLOSE DATASET p_file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;compress the file and export to web using gzip utility&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;      REFRESH: int_btcxpm.&lt;/P&gt;&lt;P&gt;      CLEAR d_status.&lt;/P&gt;&lt;P&gt;      MOVE p_file TO d_param.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      CALL FUNCTION 'SXPG_CALL_SYSTEM'&lt;/P&gt;&lt;P&gt;           EXPORTING&lt;/P&gt;&lt;P&gt;                commandname                = 'ZGZIP'&lt;/P&gt;&lt;P&gt;                additional_parameters      = d_param&lt;/P&gt;&lt;P&gt;           IMPORTING&lt;/P&gt;&lt;P&gt;                status                     = d_status&lt;/P&gt;&lt;P&gt;           TABLES&lt;/P&gt;&lt;P&gt;                exec_protocol              = int_btcxpm&lt;/P&gt;&lt;P&gt;           EXCEPTIONS&lt;/P&gt;&lt;P&gt;                no_permission              = 1&lt;/P&gt;&lt;P&gt;                command_not_found          = 2&lt;/P&gt;&lt;P&gt;                parameters_too_long        = 3&lt;/P&gt;&lt;P&gt;                security_risk              = 4&lt;/P&gt;&lt;P&gt;                wrong_check_call_interface = 5&lt;/P&gt;&lt;P&gt;                program_start_error        = 6&lt;/P&gt;&lt;P&gt;                program_termination_error  = 7&lt;/P&gt;&lt;P&gt;                x_error                    = 8&lt;/P&gt;&lt;P&gt;                parameter_expected         = 9&lt;/P&gt;&lt;P&gt;                too_many_parameters        = 10&lt;/P&gt;&lt;P&gt;                illegal_command            = 11&lt;/P&gt;&lt;P&gt;                OTHERS                     = 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;      IF d_status = 'O'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;Parse the File Name and destination&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;        CLEAR: d_file, d_folder, d_return, d_split1, d_split2.&lt;/P&gt;&lt;P&gt;        CONCATENATE p_file '.gz' INTO d_file.&lt;/P&gt;&lt;P&gt;        DO.&lt;/P&gt;&lt;P&gt;          SPLIT d_file AT '/' INTO d_split1 d_split2.&lt;/P&gt;&lt;P&gt;          IF sy-subrc NE 0 OR d_split2 EQ space.&lt;/P&gt;&lt;P&gt;            d_file = d_split1.&lt;/P&gt;&lt;P&gt;            EXIT.&lt;/P&gt;&lt;P&gt;          ENDIF.&lt;/P&gt;&lt;P&gt;          d_file = d_split2.&lt;/P&gt;&lt;P&gt;          d_folder = d_split1.&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;Thanks&lt;/P&gt;&lt;P&gt;Seshu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 21:48:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106757#M737535</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-16T21:48:56Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table send as ZIP attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106758#M737536</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Seshu,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your reply. I need to zip internal table and mail to external id. In this case  i could able to use SXPG command &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 21:51:10 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106758#M737536</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-11-16T21:51:10Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table send as ZIP attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106759#M737537</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;Please have a look demo program GRAPHICS_IGS_ZIPPER_DEMO perhaps it may help. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it doesn't help, please disregard.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 16 Nov 2007 21:59:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106759#M737537</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-11-16T21:59:39Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table send as ZIP attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106760#M737538</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;Problem resolved using class cl_abap_gzip &amp;amp; cl_document_bcs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 19 Nov 2007 17:01:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106760#M737538</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2007-11-19T17:01:53Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table send as ZIP attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106761#M737539</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; I have the similar requirment I need to send an internal table as an email attachment. But I need to send it as zip attachment so, please requesting you to post ur code here or explain hou u done this&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Feb 2008 13:15:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106761#M737539</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-02-13T13:15:02Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table send as ZIP attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106762#M737540</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi you say that you have resolved this issue - please explain how you did it - thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Apr 2008 08:38:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106762#M737540</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-22T08:38:13Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table send as ZIP attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106763#M737541</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;I have the same problem that 'sundeep singh' has. I need to send via email the information contained in an internal table, but I have to send it attached as an zip file.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone post the solution to this problem,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 30 Apr 2008 11:07:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106763#M737541</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-04-30T11:07:48Z</dc:date>
    </item>
    <item>
      <title>Re: Internal table send as ZIP attachment</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106764#M737542</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;I have a similar requirment , please requesting you to post ur code here or explain hou u done this it would be a great help thank you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 31 Dec 2012 09:58:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/internal-table-send-as-zip-attachment/m-p/3106764#M737542</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-12-31T09:58:30Z</dc:date>
    </item>
  </channel>
</rss>

