<?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 Trigger user exit from custom t-code which is copy of std t-code in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-user-exit-from-custom-t-code-which-is-copy-of-std-t-code/m-p/6886239#M1479388</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 a custom t-code &lt;STRONG&gt;ZDP91&lt;/STRONG&gt; which is a copy of SAP Std t-code &lt;STRONG&gt;DP91&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;There is a user exit &lt;STRONG&gt;AD010007&lt;/STRONG&gt; which is called in DP91.&lt;/P&gt;&lt;P&gt;Now &lt;STRONG&gt;ZDP91&lt;/STRONG&gt; internally calls &lt;STRONG&gt;DP91&lt;/STRONG&gt; so the variable &lt;STRONG&gt;SY-TCODE&lt;/STRONG&gt; always contains value &lt;STRONG&gt;DP91&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;But the problem is I have to trigger this user exit only in t-code &lt;STRONG&gt;ZDP91&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Can somebody please help me in finding a way to differentiate between the above two t-codes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapnil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 13 May 2010 03:16:41 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2010-05-13T03:16:41Z</dc:date>
    <item>
      <title>Trigger user exit from custom t-code which is copy of std t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-user-exit-from-custom-t-code-which-is-copy-of-std-t-code/m-p/6886239#M1479388</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 a custom t-code &lt;STRONG&gt;ZDP91&lt;/STRONG&gt; which is a copy of SAP Std t-code &lt;STRONG&gt;DP91&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;There is a user exit &lt;STRONG&gt;AD010007&lt;/STRONG&gt; which is called in DP91.&lt;/P&gt;&lt;P&gt;Now &lt;STRONG&gt;ZDP91&lt;/STRONG&gt; internally calls &lt;STRONG&gt;DP91&lt;/STRONG&gt; so the variable &lt;STRONG&gt;SY-TCODE&lt;/STRONG&gt; always contains value &lt;STRONG&gt;DP91&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;But the problem is I have to trigger this user exit only in t-code &lt;STRONG&gt;ZDP91&lt;/STRONG&gt;.&lt;/P&gt;&lt;P&gt;Can somebody please help me in finding a way to differentiate between the above two t-codes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Swapnil.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 03:16:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-user-exit-from-custom-t-code-which-is-copy-of-std-t-code/m-p/6886239#M1479388</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T03:16:41Z</dc:date>
    </item>
    <item>
      <title>Re: Trigger user exit from custom t-code which is copy of std t-code</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-user-exit-from-custom-t-code-which-is-copy-of-std-t-code/m-p/6886240#M1479389</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You can set a flag if the transaction is ZPD91 and export it to memory id. Import the same flag inside the userexit and depending upon the flag setting execute the code inside user exit.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will solve the problem.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 13 May 2010 04:01:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/trigger-user-exit-from-custom-t-code-which-is-copy-of-std-t-code/m-p/6886240#M1479389</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-05-13T04:01:31Z</dc:date>
    </item>
  </channel>
</rss>

