<?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: Download programs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/download-programs/m-p/3748162#M901853</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you to use the [SAPLink|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/saplink]. It's a usefull tool to download more than programs created by the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 06 May 2008 12:14:52 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-05-06T12:14:52Z</dc:date>
    <item>
      <title>Download programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/download-programs/m-p/3748161#M901852</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 need to download all the Reports/programs that I have stored in a package at Once.Could u help me out please.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 12:08:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/download-programs/m-p/3748161#M901852</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T12:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Download programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/download-programs/m-p/3748162#M901853</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I suggest you to use the [SAPLink|https://www.sdn.sap.com/irj/sdn/wiki?path=/display/abap/saplink]. It's a usefull tool to download more than programs created by the community.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 12:14:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/download-programs/m-p/3748162#M901853</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T12:14:52Z</dc:date>
    </item>
    <item>
      <title>Re: Download programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/download-programs/m-p/3748163#M901854</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;       there is no short cut to this. You have to go to each editor page......there is a button just over the editor as 'download to local file'. click and save.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 12:15:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/download-programs/m-p/3748163#M901854</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T12:15:09Z</dc:date>
    </item>
    <item>
      <title>Re: Download programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/download-programs/m-p/3748164#M901855</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here is the solution&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the code below dowloads all the programs by their name .&lt;/P&gt;&lt;P&gt;You can either specify the program starting name or their package ........&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp; Report  Z11_AP_LOAD_PROGS_INPACK_1                                  *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;*&amp;amp;                                                                     *&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;&amp;amp;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;report  z11_ap_load_progs_inpack_1    message-id z11_ap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;tables: trdir,trdirt.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;types : begin of s_download ,  "TO STORE PROGRAM CONTENT&lt;/P&gt;&lt;P&gt;       lines(1500),&lt;/P&gt;&lt;P&gt;       end of s_download.&lt;/P&gt;&lt;P&gt;data : w_download type s_download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : p_name like trdir.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : p_prg type string.   "TO PROVIDE LOCATION IN DRIVE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : t_download type standard table of s_download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;data : begin of t_rep occurs 0,&lt;/P&gt;&lt;P&gt;        prog_name like trdir-name,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;       end of t_rep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen begin of block first&lt;/P&gt;&lt;P&gt;                 with frame title text-001.&lt;/P&gt;&lt;P&gt;select-options: s_name for trdir-name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;selection-screen end   of block first.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters : p_pack type devclass.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;parameters: p_path type localfile.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen on value-request for p_path.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  data: path_str type string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call method cl_gui_frontend_services=&amp;gt;directory_browse&lt;/P&gt;&lt;P&gt;    exporting&lt;/P&gt;&lt;P&gt;      window_title    = 'Select Directory'&lt;/P&gt;&lt;P&gt;    changing&lt;/P&gt;&lt;P&gt;      selected_folder = path_str&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      cntl_error      = 1.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call method cl_gui_cfw=&amp;gt;flush&lt;/P&gt;&lt;P&gt;    exceptions&lt;/P&gt;&lt;P&gt;      cntl_system_error = 1&lt;/P&gt;&lt;P&gt;      cntl_error        = 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  p_path = path_str.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;at selection-screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="------------" /&gt; TO CHECK REPORT NAME IS EXISTS OR NOT -&lt;HR originaltext="------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select single name&lt;/P&gt;&lt;P&gt;               from trdir&lt;/P&gt;&lt;P&gt;               into corresponding fields of p_name&lt;/P&gt;&lt;P&gt;               where name in  s_name .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    message id 'Z8GS_TRIAL'&lt;/P&gt;&lt;P&gt;            type 'I'&lt;/P&gt;&lt;P&gt;            number 003&lt;/P&gt;&lt;P&gt;            with s_name-low.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;start-of-selection.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; SELECT name&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;       subc&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;       FROM trdir&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;       INTO CORRESPONDING FIELDS OF p_name&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;       WHERE name IN  s_name&lt;/P&gt;&lt;/LI&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;       AND subc &amp;lt;&amp;gt; 'S'.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;***&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;   t_rep-prog_name = p_name-name .&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;***&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;   APPEND t_rep.    "PASS PROGRAM NAME INTO INTERNAL TABLE&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;***&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt; ENDSELECT.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  select obj_name into  t_rep-prog_name from tadir where pgmid = 'R3TR' and&lt;/P&gt;&lt;P&gt;                                                         object = 'PROG' and devclass = p_pack.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    append t_rep.    "PASS PROGRAM NAME INTO INTERNAL TABLE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endselect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  loop at t_rep.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    read report t_rep-prog_name&lt;/P&gt;&lt;P&gt;           into t_download.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    concatenate p_path '/' t_rep-prog_name '.TXT' into  p_prg.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    call function 'GUI_DOWNLOAD'&lt;/P&gt;&lt;P&gt;      exporting&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  BIN_FILESIZE                    =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;        filename                        = p_prg&lt;/P&gt;&lt;P&gt;       filetype                        = 'ASC'&lt;/P&gt;&lt;P&gt;       append                          = 'X'&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRITE_FIELD_SEPARATOR           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  HEADER                          = '00'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TRUNC_TRAILING_BLANKS           = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRITE_LF                        = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COL_SELECT                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  COL_SELECT_MASK                 = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  DAT_MODE                        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CONFIRM_OVERWRITE               = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  NO_AUTH_CHECK                   = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  CODEPAGE                        = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  IGNORE_CERR                     = ABAP_TRUE&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  REPLACEMENT                     = '#'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WRITE_BOM                       = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  TRUNC_TRAILING_BLANKS_EOL       = 'X'&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WK1_N_FORMAT                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WK1_N_SIZE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WK1_T_FORMAT                    = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  WK1_T_SIZE                      = ' '&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;IMPORTING&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FILELENGTH                      =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;      tables&lt;/P&gt;&lt;P&gt;        data_tab                        = t_download&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  FIELDNAMES                      =&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;     exceptions&lt;/P&gt;&lt;P&gt;       file_write_error                = 1&lt;/P&gt;&lt;P&gt;       no_batch                        = 2&lt;/P&gt;&lt;P&gt;       gui_refuse_filetransfer         = 3&lt;/P&gt;&lt;P&gt;       invalid_type                    = 4&lt;/P&gt;&lt;P&gt;       no_authority                    = 5&lt;/P&gt;&lt;P&gt;       unknown_error                   = 6&lt;/P&gt;&lt;P&gt;       header_not_allowed              = 7&lt;/P&gt;&lt;P&gt;       separator_not_allowed           = 8&lt;/P&gt;&lt;P&gt;       filesize_not_allowed            = 9&lt;/P&gt;&lt;P&gt;       header_too_long                 = 10&lt;/P&gt;&lt;P&gt;       dp_error_create                 = 11&lt;/P&gt;&lt;P&gt;       dp_error_send                   = 12&lt;/P&gt;&lt;P&gt;       dp_error_write                  = 13&lt;/P&gt;&lt;P&gt;       unknown_dp_error                = 14&lt;/P&gt;&lt;P&gt;       access_denied                   = 15&lt;/P&gt;&lt;P&gt;       dp_out_of_memory                = 16&lt;/P&gt;&lt;P&gt;       disk_full                       = 17&lt;/P&gt;&lt;P&gt;       dp_timeout                      = 18&lt;/P&gt;&lt;P&gt;       file_not_found                  = 19&lt;/P&gt;&lt;P&gt;       dataprovider_exception          = 20&lt;/P&gt;&lt;P&gt;       control_flush_error             = 21&lt;/P&gt;&lt;P&gt;       others                          = 22&lt;/P&gt;&lt;P&gt;              .&lt;/P&gt;&lt;P&gt;    if sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;        WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endloop.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Enjoy...  and do reward if helpful&lt;/STRONG&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 12:15:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/download-programs/m-p/3748164#M901855</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T12:15:59Z</dc:date>
    </item>
    <item>
      <title>Re: Download programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/download-programs/m-p/3748165#M901856</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 refer the link below:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.saptechnical.com/Tips/ABAP/DownloadPackagePrgs.htm" target="test_blank"&gt;http://www.saptechnical.com/Tips/ABAP/DownloadPackagePrgs.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Sriram Ponna.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2008 12:24:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/download-programs/m-p/3748165#M901856</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-05-06T12:24:08Z</dc:date>
    </item>
  </channel>
</rss>

