<?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 want a function module to generate program from lines of code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536403#M244724</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt; I created a schema to generate some lines of code at runtime. I stored the generated code in a table and now I want to execute those lines using some standard FM. &lt;/P&gt;&lt;P&gt;I called FUNCTION 'SCHEME_INSTANTIATE'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       CALLING_PROGRAM            = sy-repid&lt;/P&gt;&lt;P&gt;       SCHEME_PROGRAM             = 'Z_TEST_SCHEME'&lt;/P&gt;&lt;P&gt;       SCHEME_NAME                = 'DD_CLOG_FUNC'&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;       RESULT_TAB                 = LT_RESULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point I have lines of code in lt_result. But it has not been executed yet.&lt;/P&gt;&lt;P&gt;What should be my approach next?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 24 Aug 2006 13:32:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2006-08-24T13:32:30Z</dc:date>
    <item>
      <title>want a function module to generate program from lines of code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536403#M244724</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt; I created a schema to generate some lines of code at runtime. I stored the generated code in a table and now I want to execute those lines using some standard FM. &lt;/P&gt;&lt;P&gt;I called FUNCTION 'SCHEME_INSTANTIATE'&lt;/P&gt;&lt;P&gt;     EXPORTING&lt;/P&gt;&lt;P&gt;       CALLING_PROGRAM            = sy-repid&lt;/P&gt;&lt;P&gt;       SCHEME_PROGRAM             = 'Z_TEST_SCHEME'&lt;/P&gt;&lt;P&gt;       SCHEME_NAME                = 'DD_CLOG_FUNC'&lt;/P&gt;&lt;P&gt;     TABLES&lt;/P&gt;&lt;P&gt;       RESULT_TAB                 = LT_RESULT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;At this point I have lines of code in lt_result. But it has not been executed yet.&lt;/P&gt;&lt;P&gt;What should be my approach next?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 13:32:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536403#M244724</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-24T13:32:30Z</dc:date>
    </item>
    <item>
      <title>Re: want a function module to generate program from lines of code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536404#M244725</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Shikha,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Did you check the GENERATE command in ABAP. Guess you can use it for your purpose. It will create a new program during runtime.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; Cheers &lt;/P&gt;&lt;P&gt; VJ&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 13:42:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536404#M244725</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-24T13:42:47Z</dc:date>
    </item>
    <item>
      <title>Re: want a function module to generate program from lines of code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536405#M244726</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;PL use the following statement..&lt;/P&gt;&lt;P&gt;GENERATE SUBROUTINE POOL itab NAME name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Suresh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 13:44:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536405#M244726</guid>
      <dc:creator>suresh_datti</dc:creator>
      <dc:date>2006-08-24T13:44:47Z</dc:date>
    </item>
    <item>
      <title>Re: want a function module to generate program from lines of code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536406#M244727</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are creating an entire program, use the INSERT REPORT statement followed by GENERATE REPORT.  Alternatively you can create a subroutine using GENERATE SUBROUTINE POOL.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 24 Aug 2006 13:46:36 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536406#M244727</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-24T13:46:36Z</dc:date>
    </item>
    <item>
      <title>Re: want a function module to generate program from lines of code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536407#M244728</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;again I am facing a problem here. I have some global variables in the calling program but when I generated program for my scheme, these variables are not recognised. How do we make a call in these case?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2006 08:23:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536407#M244728</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-25T08:23:12Z</dc:date>
    </item>
    <item>
      <title>Re: want a function module to generate program from lines of code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536408#M244729</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;  In the generated program, write your lines of code in a subroutine. Call that subroutine of generated program from your program by passing the parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sailaja.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 25 Aug 2006 08:51:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/want-a-function-module-to-generate-program-from-lines-of-code/m-p/1536408#M244729</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2006-08-25T08:51:30Z</dc:date>
    </item>
  </channel>
</rss>

