<?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: Backup ABAP Programs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591331#M1274671</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I gave the tool to a client for testing and they only extract few hundreds of  ABAP programs.&lt;/P&gt;&lt;P&gt;while in my system I was able to extract tens of thousands !! so I need to figure out why the client couldn't &lt;/P&gt;&lt;P&gt;backup all the ABAP programs ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this related to the authorizations ?&lt;/P&gt;&lt;P&gt;I am using the bcuser account in my system and I am wondering if our client used a normal ABAP developer account, will the client still be able to backup all the programs ? I think I will ask a separate question about the 'READ REPORT' function and if it is possible for an abap developer to read all the abap programs in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 18 May 2009 19:52:42 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-18T19:52:42Z</dc:date>
    <item>
      <title>Backup ABAP Programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591325#M1274665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am working on a tool that can backup the ABAP source codes and tables.&lt;/P&gt;&lt;P&gt;I am using the READ REPORT to get the source code and store the result in a text file,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;my question is, if I want to give this tool to a client , what kind of authorization a user need to be able&lt;/P&gt;&lt;P&gt;to run the tool and backup all the ABAP programs of the SAP system ? &lt;/P&gt;&lt;P&gt;Can any ABAP developer use the "READ REPORT" and read the source code written by&lt;/P&gt;&lt;P&gt;other ABAP developer ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 17:15:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591325#M1274665</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T17:15:13Z</dc:date>
    </item>
    <item>
      <title>Re: Backup ABAP Programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591326#M1274666</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;Use transaction ST01. Use authorization check.&lt;/P&gt;&lt;P&gt;Then execute your program. You'll get all the authorization objects needed to run the program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope it helps.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Gilberto Li&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 17:21:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591326#M1274666</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T17:21:40Z</dc:date>
    </item>
    <item>
      <title>Re: Backup ABAP Programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591327#M1274667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can ask security team to create a program authorization object for this tool. Then assign that auth object to program in the attributes. This way this tool can be run only by specific users &amp;amp; rest of the users will get error for SUBMIT authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;Bipin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 17:42:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591327#M1274667</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T17:42:11Z</dc:date>
    </item>
    <item>
      <title>Re: Backup ABAP Programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591328#M1274668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;this is strange, I got two answers but I can not see them here !!&lt;/P&gt;&lt;P&gt;anyhow, Thanks for the tip of using ST01, I am not able to view or save the trace !&lt;/P&gt;&lt;P&gt;I got this message when I try to save the trace:&lt;/P&gt;&lt;P&gt;Internal error when reading trace files (file incomplete)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;another question, is it enough to run the transaction for my tool without actually executing it because it will take very long time to finish ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am the only SAP guy in the company so I have to do everything by myself.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 18:00:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591328#M1274668</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T18:00:12Z</dc:date>
    </item>
    <item>
      <title>Re: Backup ABAP Programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591329#M1274669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I can see the replies now !&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 18:00:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591329#M1274669</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T18:00:42Z</dc:date>
    </item>
    <item>
      <title>Re: Backup ABAP Programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591330#M1274670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;So you want to check the existing auth objects or you want to restrict all vs. few users from running this tool?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 19:31:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591330#M1274670</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T19:31:32Z</dc:date>
    </item>
    <item>
      <title>Re: Backup ABAP Programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591331#M1274671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I gave the tool to a client for testing and they only extract few hundreds of  ABAP programs.&lt;/P&gt;&lt;P&gt;while in my system I was able to extract tens of thousands !! so I need to figure out why the client couldn't &lt;/P&gt;&lt;P&gt;backup all the ABAP programs ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;is this related to the authorizations ?&lt;/P&gt;&lt;P&gt;I am using the bcuser account in my system and I am wondering if our client used a normal ABAP developer account, will the client still be able to backup all the programs ? I think I will ask a separate question about the 'READ REPORT' function and if it is possible for an abap developer to read all the abap programs in the system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 19:52:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591331#M1274671</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T19:52:42Z</dc:date>
    </item>
    <item>
      <title>Re: Backup ABAP Programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591332#M1274672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ofcourse he can... read report is not developer dependent. Any body can run it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 19:54:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591332#M1274672</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T19:54:18Z</dc:date>
    </item>
    <item>
      <title>Re: Backup ABAP Programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591333#M1274673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't think there is any auth issue for read report. For the developer access they should be able to read the report. Check the selection which they are using if there is any.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;READ REPORT LV_TRDIR-NAME INTO LV_PROGRAM_SOURCE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 18 May 2009 20:09:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591333#M1274673</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-18T20:09:37Z</dc:date>
    </item>
    <item>
      <title>Re: Backup ABAP Programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591334#M1274674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;REPORT zdownload.&lt;/P&gt;&lt;P&gt;TABLES: trdir.&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS name FOR trdir-name NO INTERVALS.&lt;/P&gt;&lt;P&gt;PARAMETERS: path TYPE c LENGTH 50 DEFAULT 'C:\USERS\SCHWAB\PROGRAMS'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;START-OF-SELECTION.&lt;/P&gt;&lt;P&gt;  LOOP AT name.&lt;/P&gt;&lt;P&gt;    PERFORM download_program USING name-low.&lt;/P&gt;&lt;P&gt;  ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; FORM download_program&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;STRONG&gt;----&lt;/STRONG&gt;&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FORM download_program USING value(i_name) LIKE trdir-name.&lt;/P&gt;&lt;P&gt;  DATA: BEGIN OF lt_data_tab OCCURS 0,&lt;/P&gt;&lt;P&gt;         line(72),&lt;/P&gt;&lt;P&gt;        END OF lt_data_tab,&lt;/P&gt;&lt;P&gt;        l_filename TYPE string.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CONCATENATE path '\' i_name '.TXT' INTO l_filename.&lt;/P&gt;&lt;P&gt;  READ REPORT i_name INTO lt_data_tab.&lt;/P&gt;&lt;P&gt;  IF lines( lt_data_tab ) = 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e001(uc) WITH TEXT-TK0.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;  CALL METHOD cl_gui_frontend_services=&amp;gt;gui_download&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      filename = l_filename&lt;/P&gt;&lt;P&gt;    CHANGING&lt;/P&gt;&lt;P&gt;      data_tab = lt_data_tab[]&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      OTHERS   = 0.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e001(uc) WITH TEXT-K01.&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;ENDFORM.                    "download_program&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN ON name.&lt;/P&gt;&lt;P&gt;  check name-low &amp;lt;&amp;gt; space.&lt;/P&gt;&lt;P&gt;  SELECT SINGLE * FROM trdir WHERE name = name-low.&lt;/P&gt;&lt;P&gt;  IF sy-subrc &amp;lt;&amp;gt; 0.&lt;/P&gt;&lt;P&gt;    MESSAGE e001(uc) WITH TEXT-K02.&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 09:29:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/backup-abap-programs/m-p/5591334#M1274674</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T09:29:18Z</dc:date>
    </item>
  </channel>
</rss>

