<?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: IN UPDATE TASK -&amp;gt; get calling transaction / stack ? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268851#M1915198</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check FM SYSTEM_CALLSTACK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 10 Aug 2015 08:51:07 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2015-08-10T08:51:07Z</dc:date>
    <item>
      <title>IN UPDATE TASK -&gt; get calling transaction / stack ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268849#M1915196</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;when we are inside a "IN UPDATE TASK" (or "IN NEW TASK") processing, is there any way to find some information about the caller / the calling transaction or even some information about the execution stack (like via FM &lt;SPAN class="st0"&gt;SYSTEM_CALLSTACK) ?&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st0"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st0"&gt;Thanks a lot,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="st0"&gt;Roland&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 07:49:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268849#M1915196</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-10T07:49:31Z</dc:date>
    </item>
    <item>
      <title>Re: IN UPDATE TASK -&gt; get calling transaction / stack ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268850#M1915197</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Roland,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can check in debug by switching on update debugging.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;SK&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 08:44:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268850#M1915197</guid>
      <dc:creator>suresh_kutam</dc:creator>
      <dc:date>2015-08-10T08:44:08Z</dc:date>
    </item>
    <item>
      <title>Re: IN UPDATE TASK -&gt; get calling transaction / stack ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268851#M1915198</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Roland,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Did you check FM SYSTEM_CALLSTACK?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 08:51:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268851#M1915198</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-10T08:51:07Z</dc:date>
    </item>
    <item>
      <title>Re: IN UPDATE TASK -&gt; get calling transaction / stack ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268852#M1915199</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Roland,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is it a local update (SET UPDATE TASK LOCAL) or is it executed in an update workprocess?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the update task is executed in a separate WP, i don't think SYSTEM_CALLSTACK will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 09:40:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268852#M1915199</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2015-08-10T09:40:57Z</dc:date>
    </item>
    <item>
      <title>Re: IN UPDATE TASK -&gt; get calling transaction / stack ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268853#M1915200</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It is an update work process.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I did check FM SYSTEM_CALLSTACK. It does not return the full stack (as we are in an update work process). But I wonder whether it is maybe possible to get some information about the process which started the update one.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 10:05:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268853#M1915200</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-10T10:05:02Z</dc:date>
    </item>
    <item>
      <title>Re: IN UPDATE TASK -&gt; get calling transaction / stack ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268854#M1915201</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;But I wonder whether it is maybe possible to get some information about the process which started the update one.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I don't think update function modules need to know who the caller, they should only be doing the C(R)UD operations. The data checks should be done beforehand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can explain your business requirement, may be we can suggest some alternative solution.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 11:04:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268854#M1915201</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2015-08-10T11:04:08Z</dc:date>
    </item>
    <item>
      <title>Re: IN UPDATE TASK -&gt; get calling transaction / stack ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268855#M1915202</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Technically you can get the information.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. SYSTEM_CALLSTACK will give you the FM name where the code is being executed.&lt;/P&gt;&lt;P&gt;2. VBMOD table will give you the VBKEY - VBMOD-VBFUNC is your FM name.&lt;/P&gt;&lt;P&gt;3. VBHDR will give you the PROGRAM name in&amp;nbsp; VBHDR-VBREPORT and Tcode details in VBTCODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;R&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 11:21:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268855#M1915202</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-10T11:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: IN UPDATE TASK -&gt; get calling transaction / stack ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268856#M1915203</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I need to collect some detailed statistics where some database entries are created from (which transaction, GUI or RFC call, use..). These entries are usually created in update task by a single function module. Instead of adding code to each place where the function module is called, I was hoping there is a way to collect these statistics inside the update task.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 11:22:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268856#M1915203</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2015-08-10T11:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: IN UPDATE TASK -&gt; get calling transaction / stack ?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268857#M1915204</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;What if the update FM is called by multiple sources? How will you determine which is the relevant update key?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 10 Aug 2015 11:30:00 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/in-update-task-gt-get-calling-transaction-stack/m-p/11268857#M1915204</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2015-08-10T11:30:00Z</dc:date>
    </item>
  </channel>
</rss>

