<?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 Variable to find user-exit name??? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436387#M1846094</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a simple query for user-exits. Suppose we are executing a main program SAPLZ*** which has multiple user-exits(ZXVV**02, ZXVV**03, ZXVV**04, ZXVV**05), Is there any standard variable defined to know the name of the user-exit currently running or executing?? I tried with variable sy-repid but it gives the name of the main program i.e. SAPLZ***, we are executing and not the name of the user-exit ZXVV**02/03/04...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 16 Jul 2014 05:13:08 GMT</pubDate>
    <dc:creator>Harsh_Jain2512</dc:creator>
    <dc:date>2014-07-16T05:13:08Z</dc:date>
    <item>
      <title>Variable to find user-exit name???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436387#M1846094</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello everyone,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a simple query for user-exits. Suppose we are executing a main program SAPLZ*** which has multiple user-exits(ZXVV**02, ZXVV**03, ZXVV**04, ZXVV**05), Is there any standard variable defined to know the name of the user-exit currently running or executing?? I tried with variable sy-repid but it gives the name of the main program i.e. SAPLZ***, we are executing and not the name of the user-exit ZXVV**02/03/04...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help would be highly appreciated...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 05:13:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436387#M1846094</guid>
      <dc:creator>Harsh_Jain2512</dc:creator>
      <dc:date>2014-07-16T05:13:08Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to find user-exit name???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436388#M1846095</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Harsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Instead of sy-repid use &lt;SPAN style="color: #333333; font-size: 12px;"&gt;SY-CPROG&lt;/SPAN&gt;. This will give you correct include program name.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pravin&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 05:43:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436388#M1846095</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-16T05:43:56Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to find user-exit name???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436389#M1846096</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Harsh,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not aware if any of the System fields that will capture FM name during the runtime,but through if you use CALL FUNCTION statement to debug then you can get to see all the FM's that are getting triggered including the User Exits.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 05:48:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436389#M1846096</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2014-07-16T05:48:23Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to find user-exit name???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436390#M1846097</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can read the call stack to get include name.&lt;/P&gt;&lt;P&gt;Try FM SYSTEM_CALLSTACK or equivalent class.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 06:16:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436390#M1846097</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-16T06:16:40Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to find user-exit name???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436391#M1846098</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I believe you meant putting a breakpoint at statement &lt;EM&gt;call customer-function&lt;/EM&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 06:17:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436391#M1846098</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-16T06:17:16Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to find user-exit name???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436392#M1846099</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;SY-CPROG gives program name, not include name.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 06:20:55 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436392#M1846099</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-07-16T06:20:55Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to find user-exit name???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436393#M1846100</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes it is supposed to be "&lt;EM&gt;call customer-function".&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;K.Kiran.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 06:22:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436393#M1846100</guid>
      <dc:creator>kiran_k8</dc:creator>
      <dc:date>2014-07-16T06:22:08Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to find user-exit name???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436394#M1846101</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Not sure if i have misunderstood the question, but, if you want to know the name of the user exit currently running you would have to put a break point in it to stop it there. If it is not "currently running" then you won't have the name but if it is currently running, i.e. currently in the user-exit include then you would already have the name? As i say, may have not got the questoin, very early here and haven't had my first cup of coffee yet. &lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Jul 2014 07:14:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436394#M1846101</guid>
      <dc:creator>former_member201275</dc:creator>
      <dc:date>2014-07-16T07:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: Variable to find user-exit name???</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436395#M1846102</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Glen, I actually want to know is the name of the exit is captured in any variable. As my motive here is I will be putting a SELECT query in that user-exit and the table will have entries for multiple user-exits. So when selecting the data from table I don't wants to hardcode the exit name in WHERE clause and hence looking forth that is there any variable which captures the exit name automatically, and I can use that variable.&lt;/P&gt;&lt;P&gt;tried with sy-cprog and sy-repid but they gives the name of the main prog, not useful here.&lt;/P&gt;&lt;P&gt;&lt;SPAN __jive_emoticon_name="happy" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/906/images/emoticons/happy.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 17 Jul 2014 05:58:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/variable-to-find-user-exit-name/m-p/10436395#M1846102</guid>
      <dc:creator>Harsh_Jain2512</dc:creator>
      <dc:date>2014-07-17T05:58:08Z</dc:date>
    </item>
  </channel>
</rss>

