<?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: how to restrict bte for tcode? in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505421#M1933192</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Debug the BTE and check the values of syst variables and use them to restrict BTE code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 25 Jan 2016 07:12:56 GMT</pubDate>
    <dc:creator>former_member182354</dc:creator>
    <dc:date>2016-01-25T07:12:56Z</dc:date>
    <item>
      <title>how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505409#M1933180</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi abapers ,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; I&amp;nbsp; have developed BTE For tcode : f.27 to trigger mail but this bte being called to another print programs also , how can i can restrict my BTE&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for&amp;nbsp; Perticular Tcode : F.27. Please give some idea plzzzzzzzzz.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 05:50:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505409#M1933180</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-22T05:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505410#M1933181</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&amp;nbsp; Balaji,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In sample function module which gets created when u click on sample function module and put codition there like below .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; If sy-tcode &amp;lt;&amp;gt; 'FB50' " Use the tcode which u want to restrict in place of FB50&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;* Your code .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I hope it may help you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 06:05:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505410#M1933181</guid>
      <dc:creator>sabirshah1</dc:creator>
      <dc:date>2016-01-22T06:05:51Z</dc:date>
    </item>
    <item>
      <title>Re: how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505411#M1933182</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;my tcode is F.27 so can we writer like below &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;If sy-tcode&amp;nbsp; =&amp;nbsp; 'F.27' &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;code&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 12px;"&gt;endif.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 06:16:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505411#M1933182</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-22T06:16:31Z</dc:date>
    </item>
    <item>
      <title>Re: how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505412#M1933183</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Yes, If u want to restrict f.27 u can use &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 06:20:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505412#M1933183</guid>
      <dc:creator>sabirshah1</dc:creator>
      <dc:date>2016-01-22T06:20:53Z</dc:date>
    </item>
    <item>
      <title>Re: how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505413#M1933184</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Look at F.27 definition with SE93, you will note that F.27 is a &lt;SPAN style="font-size: 12pt;"&gt;&lt;A href="http://help.sap.com/saphelp_nw70/helpdata/en/43/0f955bc2086ff3e10000000a422035/content.htm?frameset=/en/43/0f955bc2086ff3e10000000a422035/frameset.htm&amp;amp;current_toc=/en/d1/802cfc454211d189710000e8322d00/plain.htm&amp;amp;node_id=560&amp;amp;show_children=false"&gt;&lt;SPAN style="color: blue; font-size: 10pt;"&gt;Parameter Transaction&lt;/SPAN&gt;&lt;/A&gt;&lt;/SPAN&gt; so actual value of SY-TCODE is &lt;SPAN style="text-decoration: underline;"&gt;SA39&lt;/SPAN&gt;, so you cannot use this test.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;There are other solutions thay you should try&lt;/SPAN&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Look for the report of the transaction (&lt;SPAN style="text-decoration: underline;"&gt;RFKORK00&lt;/SPAN&gt;) in the call stack (use FM SYSTEM_CALLSTACK)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Identify the actual transaction code (use method CL_DYNPRO=&amp;gt;GET_CURRENT_TRANSACTION)&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If that doesn't solve the problem, which BTE do you call, is it executed during transaction, during update task?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Regards,&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: arial,helvetica,sans-serif;"&gt;Raymond&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 07:35:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505413#M1933184</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-01-22T07:35:13Z</dc:date>
    </item>
    <item>
      <title>Re: how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505414#M1933185</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Reymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; As you told&amp;nbsp; i gone thru program RFKORK00. how to find call stack and do the coding .please help ;me .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 08:32:11 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505414#M1933185</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-22T08:32:11Z</dc:date>
    </item>
    <item>
      <title>Re: how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505415#M1933186</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Balaji&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The call stack is visible in debugger. Put a break point in your BTE and when the program stops the below mentioned screen shot will highlight the call stack. Use the above mentioned functions module to get the call stack. This will be different for the call of same exit via different transaction. Code your logic based on this. else use the class and method as mentioned by Raymond.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/873005" width="450" /&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;Nabheet&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 08:41:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505415#M1933186</guid>
      <dc:creator>nabheetscn</dc:creator>
      <dc:date>2016-01-22T08:41:46Z</dc:date>
    </item>
    <item>
      <title>Re: how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505416#M1933187</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Nabheet , &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am unable to find any call stack in that scree shot. Can you please elaborate .&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 11:02:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505416#M1933187</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-22T11:02:26Z</dc:date>
    </item>
    <item>
      <title>Re: how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505417#M1933188</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;As &lt;/SPAN&gt;&lt;STRONG style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;&lt;A _jive_internal="true" href="https://answers.sap.com/people/nabheet.madan3"&gt;&lt;SPAN lang="EN-US" style="font-weight: normal;"&gt;nabheet madan&lt;/SPAN&gt;&lt;/A&gt;&lt;/STRONG&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt; wrote you can look at the call stack in debug, I already provided you the FM to call in your BTE implementation code to do it programmatically (call the FM and READ/LOOP AT TABLE for the report name)&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Regards,&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="j-post-author"&gt;&lt;SPAN lang="EN-US" style="font-size: 10.0pt; font-family: 'Arial','sans-serif';"&gt;Raymond&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 11:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505417#M1933188</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-01-22T11:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505418#M1933189</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond ,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we use code like below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Segoe UI'; color: #000000; font-size: 10pt;"&gt;if &lt;SPAN style="font-size: 10pt;"&gt;SY-CPROG&lt;/SPAN&gt; = ZFKORD11 &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; bte code &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endif.&amp;nbsp;&amp;nbsp;&amp;nbsp; to restrict bte for Particular program.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 11:47:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505418#M1933189</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2016-01-22T11:47:20Z</dc:date>
    </item>
    <item>
      <title>Re: how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505419#M1933190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Just set a break-point in your FM and try &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/74/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 22 Jan 2016 12:08:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505419#M1933190</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-01-22T12:08:15Z</dc:date>
    </item>
    <item>
      <title>Re: how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505420#M1933191</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Put your glass on, and look for "Abap and Screen Stack"... &lt;SPAN __jive_emoticon_name="cool" __jive_macro_name="emoticon" class="jive_macro_emoticon jive_macro jive_emote" src="https://community.sap.com/74/images/emoticons/cool.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 06:49:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505420#M1933191</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2016-01-25T06:49:47Z</dc:date>
    </item>
    <item>
      <title>Re: how to restrict bte for tcode?</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505421#M1933192</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Balaji,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Debug the BTE and check the values of syst variables and use them to restrict BTE code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raghav&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 25 Jan 2016 07:12:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/how-to-restrict-bte-for-tcode/m-p/11505421#M1933192</guid>
      <dc:creator>former_member182354</dc:creator>
      <dc:date>2016-01-25T07:12:56Z</dc:date>
    </item>
  </channel>
</rss>

