<?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: GENERATE SUBROUTINE POOL in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648826#M1285336</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 tried to encapsulate the generation of code in a function module, as you suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, tu use the "STARTING NEW TASK" addition, I need to declare my function module as RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I have objects in my parameters, which are references.&lt;/P&gt;&lt;P&gt;And references are not allowed in RFC function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, does anyone know how to pass objects to a RFC function module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 19 May 2009 13:12:39 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-05-19T13:12:39Z</dc:date>
    <item>
      <title>GENERATE SUBROUTINE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648821#M1285331</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm experiencing a problem with GENERATE SUBROUTINE POOL instruction.&lt;/P&gt;&lt;P&gt;Indeed, it has a limitation of 36 temporary subroutine pools per session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I wrote a class and in one of my methods I need to create and run a dynamic program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is that this class is to be used in an eCatt environment.&lt;/P&gt;&lt;P&gt;So my objects are created many times, and in the same session.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if my eCatt has more than 36 lines, the process stops (dumps because too many subroutine pools have been generated).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem is that it generates a new subroutine pool. I only need to generate a new form.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;U&gt;My question is:&lt;/U&gt; can we generate a new form in an &lt;STRONG&gt;existing&lt;/STRONG&gt; subroutine pool, and how?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thus I would just have to produce a new form name and generate it in a unique subpool (using IMPORT/EXPORT to keep the name, for example), avoiding the 36 limit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks for your help,&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 08:09:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648821#M1285331</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-13T08:09:24Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE SUBROUTINE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648822#M1285332</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Try to write the subroutine generation code in a function module and to call this function module from your method&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 14:38:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648822#M1285332</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-13T14:38:01Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE SUBROUTINE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648823#M1285333</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use INSERT REPORT, READ REPORT etc. to create programs in the repository.  You can always delete them later.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Read the ABAP help for details&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;matt&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 15:10:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648823#M1285333</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2009-05-13T15:10:25Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE SUBROUTINE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648824#M1285334</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Why don't you put your code generate subroutine pool code in fm and call that fm with &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
call fm &amp;lt;......&amp;gt; starting a new task.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 15:16:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648824#M1285334</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2009-05-13T15:16:24Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE SUBROUTINE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648825#M1285335</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;First, thanks for your help, all of you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Actually, we use eCatt because we have cases were we need to run all test cases in the same session.&lt;/P&gt;&lt;P&gt;Indeed, we have a system with trasactional and non transactional mode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the first one, we have a buffer layer, which must be kept between each test case.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If I understood well your suggestions (using a function module), the aim was to generate my code in a new session (the call to function module would create a new session, and delete it at the end of process).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'll give it a try, of course, but I'm afraid this would prevent our transactgional mode to work.&lt;/P&gt;&lt;P&gt;That's why I thought of generating a new foorm in an existing subroutine pool.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But anyway, I'll try the function module then I'll tell you how it was.&lt;/P&gt;&lt;P&gt;Thank you very much,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 May 2009 16:01:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648825#M1285335</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-13T16:01:01Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE SUBROUTINE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648826#M1285336</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 tried to encapsulate the generation of code in a function module, as you suggested.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Unfortunately, tu use the "STARTING NEW TASK" addition, I need to declare my function module as RFC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The problem is that I have objects in my parameters, which are references.&lt;/P&gt;&lt;P&gt;And references are not allowed in RFC function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, does anyone know how to pass objects to a RFC function module?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you for your help,&lt;/P&gt;&lt;P&gt;Quentin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 19 May 2009 13:12:39 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648826#M1285336</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-05-19T13:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: GENERATE SUBROUTINE POOL</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648827#M1285337</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Well, the solution was to generate function module instead of forms.&lt;/P&gt;&lt;P&gt;I reserved a function pool for my generations, and I generate function modules.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Used function modules:&lt;/P&gt;&lt;P&gt;- FUNCTION_POOL_CREATE to create the function pool if it does not exist&lt;/P&gt;&lt;P&gt;- RS_FUNCTION_DELETE to delete the function module if it exists (check in TFDIR table for that)&lt;/P&gt;&lt;P&gt;- RS_FUNCTIONMODULE_INSERT to create the function module (be careful to provide 72 characters long source code lines)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 08 Jul 2009 09:30:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/generate-subroutine-pool/m-p/5648827#M1285337</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-08T09:30:09Z</dc:date>
    </item>
  </channel>
</rss>

