<?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: Automatically add code to a Z_ABAP Source in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-add-code-to-a-z-abap-source/m-p/2671018#M616661</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have never tried it - but I assume SAP would not leave a "Hole" like this in security.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps a key would be needed when you try and activate the code, or when you try and add it to a transport request?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sat, 18 Aug 2007 11:36:26 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-08-18T11:36:26Z</dc:date>
    <item>
      <title>Automatically add code to a Z_ABAP Source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-add-code-to-a-z-abap-source/m-p/2671014#M616657</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Gurus&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'd like to know, if there is any possibility to add some ABAP statements to the source code of some customer programs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I want to add in every Z-Program after the START-OF-SELECTION part a Function, that read some Information about the Using of the program into an Z-Table automatically.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a concept for this issue? Somthing like snote, it also maintain the source code automatically, but I think this transaction just overwrite the old source with the new one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Or can I get the source code of the ABAP programs out of an table and insert there the new statements?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you very much for your help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind Regards&lt;/P&gt;&lt;P&gt;Boris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 12:05:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-add-code-to-a-z-abap-source/m-p/2671014#M616657</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T12:05:13Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically add code to a Z_ABAP Source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-add-code-to-a-z-abap-source/m-p/2671015#M616658</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;SNOTE doesn't overwrite the old code with the new one.&lt;/P&gt;&lt;P&gt;When you create a note, the difference between the new and the one is calculated and that is what is in the note: ie when you implement a note, SNOTE only tries to apply the difference to the code in the customer system.&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Walter&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 12:43:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-add-code-to-a-z-abap-source/m-p/2671015#M616658</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T12:43:22Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically add code to a Z_ABAP Source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-add-code-to-a-z-abap-source/m-p/2671016#M616659</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Take a look at the ABAP statements READ REPORT and INSERT REPORT - they let you read and change source code from a program.  There is also SYTAX CHECK.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You could read program names from table TRDIR, and process them.  You would need to activate any you change.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However - read the help / documentation - there are a number of side effects such as changes not being included in transport request.  Probably not a good way to change programs for a production system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 14:11:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-add-code-to-a-z-abap-source/m-p/2671016#M616659</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T14:11:51Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically add code to a Z_ABAP Source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-add-code-to-a-z-abap-source/m-p/2671017#M616660</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Andrew.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That could be a possible solution for my issue.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an additional question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do you know, if the sap-programs can also be processed without any proofs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Normally you need an Sap key to open this objects for changes. Is Read Report and Insert Report checked on sap programs? Or isn't this included in the security concept of Sap.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Greetings&lt;/P&gt;&lt;P&gt;Boris&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 17 Aug 2007 14:23:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-add-code-to-a-z-abap-source/m-p/2671017#M616660</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-17T14:23:14Z</dc:date>
    </item>
    <item>
      <title>Re: Automatically add code to a Z_ABAP Source</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-add-code-to-a-z-abap-source/m-p/2671018#M616661</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I have never tried it - but I assume SAP would not leave a "Hole" like this in security.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Perhaps a key would be needed when you try and activate the code, or when you try and add it to a transport request?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Andrew&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 18 Aug 2007 11:36:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/automatically-add-code-to-a-z-abap-source/m-p/2671018#M616661</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-08-18T11:36:26Z</dc:date>
    </item>
  </channel>
</rss>

