<?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: Combining 2 different pgm in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030600#M83681</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Submit Program You Can Do .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Nov 2005 11:15:47 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2005-11-22T11:15:47Z</dc:date>
    <item>
      <title>Combining 2 different pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030599#M83680</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Is there a way to create a new program by adding few lines dynamically?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 11:12:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030599#M83680</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T11:12:30Z</dc:date>
    </item>
    <item>
      <title>Re: Combining 2 different pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030600#M83681</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Using Submit Program You Can Do .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 11:15:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030600#M83681</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T11:15:47Z</dc:date>
    </item>
    <item>
      <title>Re: Combining 2 different pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030601#M83682</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;do you want to create a program dynamically from another program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;you should use&lt;/P&gt;&lt;P&gt;GENERATE SUBROUTINE POOL &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;check out the ABAP key word documentation for GENERATE SUBROUTINE POOL  for explanation on this and sample code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://help.sap.com/saphelp_erp2005/helpdata/en/9f/db999535c111d1829f0000e829fbfe/frameset.htm" target="test_blank"&gt;http://help.sap.com/saphelp_erp2005/helpdata/en/9f/db999535c111d1829f0000e829fbfe/frameset.htm&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Raja&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 11:18:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030601#M83682</guid>
      <dc:creator>athavanraja</dc:creator>
      <dc:date>2005-11-22T11:18:11Z</dc:date>
    </item>
    <item>
      <title>Re: Combining 2 different pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030602#M83683</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aruna,&lt;/P&gt;&lt;P&gt;   I Don't think that there is a way to create a new program dynamically.&lt;/P&gt;&lt;P&gt;What exactly is your requirement?&lt;/P&gt;&lt;P&gt;If you already have a program, then copy it and make changes to the copy of the original program.&lt;/P&gt;&lt;P&gt;Is this what you are looking for?&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 11:18:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030602#M83683</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T11:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: Combining 2 different pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030603#M83684</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In one report u can call the other like this &lt;/P&gt;&lt;P&gt;SUBMIT REPORT01 &lt;/P&gt;&lt;P&gt;       VIA SELECTION-SCREEN &lt;/P&gt;&lt;P&gt;       USING SELECTION-SET 'VARIANT1' &lt;/P&gt;&lt;P&gt;       USING SELECTION-SETS OF PROGRAM 'REPORT00' &lt;/P&gt;&lt;P&gt;       AND RETURN. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;vijay&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 11:20:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030603#M83684</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T11:20:13Z</dc:date>
    </item>
    <item>
      <title>Re: Combining 2 different pgm</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030604#M83685</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;yes, You can create a ABAP program dynamically &amp;amp; can insert few lines of code in that.here is the process&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1)we must create an internal table first. i.e., internal table with a single column of type character and a row width of 72.&lt;/P&gt;&lt;P&gt;DATA: code TYPE TABLE OF rssource-line.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;type of an editor line: rssource-line&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;2) append required ABAP code to this Internal table&lt;/P&gt;&lt;P&gt;APPEND  'REPORT ZDYN1.'&lt;/P&gt;&lt;P&gt;         TO code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;APPEND  'WRITE / ''Hello, I am dynamically created!''.'&lt;/P&gt;&lt;P&gt;         TO code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3)&lt;/P&gt;&lt;P&gt;INSERT REPORT &amp;lt;prog&amp;gt; FROM &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If a program with this name does not already exist, it is created with the following attributes:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Title: None&lt;/P&gt;&lt;P&gt;Type: 1 (report)&lt;/P&gt;&lt;P&gt;Application: S (basis)&lt;/P&gt;&lt;P&gt;The new program &amp;lt;prog&amp;gt; is stored persistently on the database but is not assigned to a package. It is therefore not affected by the transport system. &lt;/P&gt;&lt;P&gt;Pl NOTE that : If a program with the name &amp;lt;prog&amp;gt; already exists, its source code is replaced with a new one from the internal table &amp;lt;itab&amp;gt; without prior warning. All other attributes remain intact.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;FOR CHANGING EXISTING PROGRAMS :&lt;/P&gt;&lt;P&gt; you can change the existing ABAP program. &lt;/P&gt;&lt;P&gt;1) first read the total ABAP report into &amp;lt;ITAB&amp;gt;&lt;/P&gt;&lt;P&gt;READ REPORT &amp;lt;prog&amp;gt; INTO &amp;lt;itab&amp;gt;.&lt;/P&gt;&lt;P&gt;2) add your required code to this &amp;lt;ITAB&amp;gt;&lt;/P&gt;&lt;P&gt;3) now u can insert the new changed code &lt;/P&gt;&lt;P&gt; INSERT REPORT 'ZDYN2' FROM CODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;srikanth&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Nov 2005 11:28:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/combining-2-different-pgm/m-p/1030604#M83685</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2005-11-22T11:28:43Z</dc:date>
    </item>
  </channel>
</rss>

