<?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 Change a program programatically in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-a-program-programatically/m-p/7205615#M1521902</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 generated program with Z name and i want to modifty some things in it. Is this possible doing programatically ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;warm regards,&lt;/P&gt;&lt;P&gt;Sowmya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 02 Sep 2010 11:22:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-09-02T11:22:13Z</dc:date>
    <item>
      <title>Change a program programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-a-program-programatically/m-p/7205615#M1521902</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 generated program with Z name and i want to modifty some things in it. Is this possible doing programatically ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;warm regards,&lt;/P&gt;&lt;P&gt;Sowmya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 11:22:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-a-program-programatically/m-p/7205615#M1521902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-02T11:22:13Z</dc:date>
    </item>
    <item>
      <title>Re: Change a program programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-a-program-programatically/m-p/7205616#M1521903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;you are talking about the prestep af an ABAP virus?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 11:27:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-a-program-programatically/m-p/7205616#M1521903</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-02T11:27:12Z</dc:date>
    </item>
    <item>
      <title>Re: Change a program programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-a-program-programatically/m-p/7205617#M1521904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Create 2 reports. ZREPORT1 and ZREPORT2. Keep ZREPORT2 blank. Write any code in ZREPORT1.&lt;/P&gt;&lt;P&gt;Execute the code below.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;REPORT  ZSUM_T1.

DATA: CODE(72) TYPE C OCCURS 0,
CODE1 LIKE LINE OF CODE,
CODE2(72) TYPE C OCCURS 0.
PARAMETERS: PROGRAM LIKE SY-REPID.

START-OF-SELECTION.
  READ REPORT 'ZREPORT1' INTO CODE.         " READS CODE OF ZREPORT1
  IF SY-SUBRC NE 0.
    MESSAGE 'Report does not exist!' TYPE 'E'.
  ENDIF.

  LOOP AT CODE INTO CODE1.
    APPEND CODE1 TO CODE2.
  ENDLOOP.


  INSERT REPORT 'ZREPORT2' FROM CODE2.  " INSERT CODE OF ZREPORT1 INTO ZREPORT2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REGARDS,&lt;/P&gt;&lt;P&gt;SUMIT NENE&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 11:58:22 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-a-program-programatically/m-p/7205617#M1521904</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-02T11:58:22Z</dc:date>
    </item>
    <item>
      <title>Re: Change a program programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-a-program-programatically/m-p/7205618#M1521905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;thanks sumit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;do u have any idea how i can execute the code in code2 as per u r logic?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 12:27:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-a-program-programatically/m-p/7205618#M1521905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-02T12:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Change a program programatically</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/change-a-program-programatically/m-p/7205619#M1521906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;After INSERT statement,&lt;/P&gt;&lt;P&gt;use--&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;SUBMIT REPORT ZREPORT2.&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="2" type="ul"&gt;&lt;P&gt;what exactly is that you are trying to achieve here?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sumit&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 02 Sep 2010 12:51:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/change-a-program-programatically/m-p/7205619#M1521906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-09-02T12:51:32Z</dc:date>
    </item>
  </channel>
</rss>

