<?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: Main program name from Update task in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-name-from-update-task/m-p/7973110#M1603935</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shared memory is another possibility, if you take into account that it's per application server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 28 Jun 2011 04:40:45 GMT</pubDate>
    <dc:creator>matt</dc:creator>
    <dc:date>2011-06-28T04:40:45Z</dc:date>
    <item>
      <title>Main program name from Update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-name-from-update-task/m-p/7973106#M1603931</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 an issue where a user exit is called in update task. I want to limit certain logic within the user exit depending on which main program calls it. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Since the user exit is called in update task, the variables SY-REPID / SY-CPROG dont have the main calling program name. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to get the main program name from the user exit while in update task? Any help will be greatly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PS: The main program is a program to mass-process the documents. So, SAP/ABAP memory usage will be a bad idea according to me.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;rgds,&lt;/P&gt;&lt;P&gt;Raghav.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 20:08:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-name-from-update-task/m-p/7973106#M1603931</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-27T20:08:28Z</dc:date>
    </item>
    <item>
      <title>Re: Main program name from Update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-name-from-update-task/m-p/7973107#M1603932</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;IMPORT / EXPORT memory would be ok, if you can FREE everytime after you IMPORT.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 21:17:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-name-from-update-task/m-p/7973107#M1603932</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-27T21:17:50Z</dc:date>
    </item>
    <item>
      <title>Re: Main program name from Update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-name-from-update-task/m-p/7973108#M1603933</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;In update task, a new memory session is triggered, hence wont be able to see the EXPORTed parameters. Will you please elaborate more on your suggestion?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Many thanks!&lt;/P&gt;&lt;P&gt;Raghav,&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 22:25:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-name-from-update-task/m-p/7973108#M1603933</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-27T22:25:02Z</dc:date>
    </item>
    <item>
      <title>Re: Main program name from Update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-name-from-update-task/m-p/7973109#M1603934</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Ragav,&lt;/P&gt;&lt;P&gt;                       If you are in ECC 6.0 you can see for any enhancements/ enhancements options are there in the main program and then create a custom table and store your main program name in  in that table with a unique key value for that transaction and then in the user exit using that key value you can get the main program name  back .&lt;/P&gt;&lt;P&gt;I agree there will be some customization work and more testing involves in this scenario but you have to go for this as the user exit is calling in the update task (No other way).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Greetson&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jun 2011 23:30:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-name-from-update-task/m-p/7973109#M1603934</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-06-27T23:30:05Z</dc:date>
    </item>
    <item>
      <title>Re: Main program name from Update task</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-name-from-update-task/m-p/7973110#M1603935</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Shared memory is another possibility, if you take into account that it's per application server.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jun 2011 04:40:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/main-program-name-from-update-task/m-p/7973110#M1603935</guid>
      <dc:creator>matt</dc:creator>
      <dc:date>2011-06-28T04:40:45Z</dc:date>
    </item>
  </channel>
</rss>

