<?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: Reg Re-authentication for Tcode access in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860023#M1321271</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;    Exactly.i have SSF and also have SNC been setup on my SAP Server.I just want to use this setup for Re-authentication for certain TCODE access.So i needed the procedure to set up the tcodes for Re-authentication in SAP server.Once this is setup i know the procedure to use the third party security libraries for testing this setup. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 27 Jul 2009 07:06:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-07-27T07:06:17Z</dc:date>
    <item>
      <title>Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860020#M1321268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear All,&lt;/P&gt;&lt;P&gt;    I want to enable Re-authentication for certain tcode access in my SAP ABAP system. The SAP as such supports this with the SSF settings. I have the SSF working but am not sure how to enable the particular tcode for Re-authentication.For example i have created a z code zAl08 out of Al08 for test purpose.When an user tries to access zAL08 he should be asked to give his credentials for authentication and then should be able to access the tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1.Is this possible. (am already using a Security product working properly in my environment)&lt;/P&gt;&lt;P&gt;2.How to configure(Steps) the zcode for enabling Re-authentication?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 06:20:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860020#M1321268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T06:20:58Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860021#M1321269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you want to re-authenticate using an ABAP password, you can do this with function module SSFT_PPPI_SIGN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But you also said:&lt;/P&gt;&lt;P&gt;&amp;gt; (am already using a Security product working properly in my environment)&lt;/P&gt;&lt;P&gt;If you want to re-use that security product, you will probably have difficulties.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 06:26:43 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860021#M1321269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T06:26:43Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860022#M1321270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To confirm my understanding of your request. Are you using SNC for Single SignOn, and you want to specify some transactions so that when user runs the t-code they are asked to re-authenticate before the transaction is started ? Is this correct ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 06:58:38 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860022#M1321270</guid>
      <dc:creator>tim_alsop</dc:creator>
      <dc:date>2009-07-27T06:58:38Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860023#M1321271</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Tim,&lt;/P&gt;&lt;P&gt;    Exactly.i have SSF and also have SNC been setup on my SAP Server.I just want to use this setup for Re-authentication for certain TCODE access.So i needed the procedure to set up the tcodes for Re-authentication in SAP server.Once this is setup i know the procedure to use the third party security libraries for testing this setup. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 07:06:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860023#M1321271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T07:06:17Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860024#M1321272</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There are two implementations of SSF - one involves using certificates stored in ABAP database, and the other involves client software installed on workstation where SAP GUI is installed. This software will authenticate using a client certificate (e.g. form smart card). I assume you are using the server side SSF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The vendor of the SNC software should be able to provide you with what you need, since SNC is handling user authentication via an external authentication server (e.g. Active Directory). You would therefore need the same authentication method to re-authenticate the user when a t-code is executed. I represent one of the SAP partners who provide an SNC solution to SAP customers, and I know we can make the changes to support your requirements if needed. We would likely use the exit available in ABAP which is invoked whenever a t-code is run - this exit would use our client software to show a signon screen to use and they would be able to enter an Active Directory password for the account they are logged onto at workstation. I think this might be what you are looking for ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 07:17:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860024#M1321272</guid>
      <dc:creator>tim_alsop</dc:creator>
      <dc:date>2009-07-27T07:17:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860025#M1321273</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; ... the exit available in ABAP which is invoked whenever a t-code is run.&lt;/P&gt;&lt;P&gt;There is to my knowledge no such thing - an exit in the standard S_TCODE check. I also cannot imagine there being one ever as it is a kernel side check and not (only) checked in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You would need to find an apppropriate exit or enhancement point to be able to use the transaction each time, for each transaction. They will differ each time.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Creating a Z-transaction ZEXAMPLE to simply call EXAMPLE won't be reliable either, as the user could possibly start EXAMPLE directly or run it as a report or call it from a related transaction's menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you create the ZEXAMPLE from scratch to replace EXAMPLE or copy all the code over and not just the tcode, then it might work. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But then you might as well simply modify the function module...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 07:28:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860025#M1321273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T07:28:42Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860026#M1321274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; There is to my knowledge no such thing - an exit in the standard S_TCODE check. I also cannot imagine there being one ever as it is a kernel side check and not (only) checked in ABAP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;It seems you are not 100% sure on this - how can we confirm ? The reason for my doubt is that I am aware of a product froma vendor which does something similar to what I have described. It allows the admin to configure which t-codes are required and whenever that t-code is launched the user is re-authenticated. I am sure this vendor didn't change all t-codes to make this occur on entry ... My understnading is that there is an exit for logon to ABAP and one for whenever a t-code is run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 07:49:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860026#M1321274</guid>
      <dc:creator>tim_alsop</dc:creator>
      <dc:date>2009-07-27T07:49:26Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860027#M1321275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am sure this vendor didn't change all t-codes to make this occur on entry ... My understnading is that there is an exit for logon to ABAP and one for whenever a t-code is run.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Hi Tim.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If we are thinking about the same vendor, then each transaction which requires the additional authentication needs to be modified in some way.  At least, that is what I was told when I spoke to them a while back.  I like the product but that part of the technology for me is the part which requires a company to &lt;EM&gt;really&lt;/EM&gt; want it to consider implementing it.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 09:19:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860027#M1321275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T09:19:56Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860028#M1321276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It would have to by in the code somewhere (presumably right upfront) but cannot imagine that it is invoked by the start of the transaction itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can see how this check is performed by looking at function module AUTH_CHECK_TCODE which C-calls the kernel function by the same name. The only option at the application layer is to control "couples" of transactions which trust each other in called : calling relationships to bypass the S_TCODE check.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot see anyway to add your own code to this without modifying the kernel - and I cannot see that happening either.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you and Alex are thinking of the same vendor as I am with the biometric checks, then as far as I know these checks are used when performing certain tasks after having started the transaction. For example, when approving a purchase requisition which exceeds a certain amount. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For this you would need to find the appropriate exits and enhancement points, just like everyone else does, and add the code each time in the best available location. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BTW, a cool website to use for this is &lt;A href="https://community.sap.com/www.abapninja.org" target="test_blank"&gt;www.abapninja.org&lt;/A&gt;. I would also recommend using enhancement points and not customer-exits or modifications, and then make use of the switch framework to activate and deactivate them for trouble-shooting, patching and upgrades.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; My understnading is that there is an exit for logon to ABAP and one for whenever a t-code is run.&lt;/P&gt;&lt;P&gt;I will forward this to 2 gurus who would know for sure. If there is an exit in the S_TCODE check then I will eat my hat... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 10:49:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860028#M1321276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T10:49:37Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860029#M1321277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; For this you would need to find the appropriate exits and enhancement points, just like everyone else does, and add the code each time in the best available location. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Exactly, then we have upgrade considerations &amp;amp; copies of standard transactions where there are no suitable exits or enhancement points.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; I will forward this to 2 gurus who would know for sure. If there is an exit in the S_TCODE check then I will eat my hat... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;I really hope there is an undocumented feature somewhere which allows this &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 11:06:47 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860029#M1321277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T11:06:47Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860030#M1321278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear Tim,&lt;/P&gt;&lt;P&gt;    Am using a Client side authentication using digital certificates, which holds the certificates and to use them for enabling SSF and for Critical TCode reauthentication.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karthik&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 11:11:33 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860030#M1321278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T11:11:33Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860031#M1321279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; My understnading is that there is an exit for logon to ABAP and &lt;/P&gt;&lt;P&gt;&amp;gt; one for whenever a t-code is run. &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Well, there is a customer-exit which is executed AFTER a successful SAPGUI logon took place (notice the capitalized words).&lt;/P&gt;&lt;P&gt;But I'm not aware of any customer-exit / BADI / ... for transaction starts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards, Wolfgang&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 11:51:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860031#M1321279</guid>
      <dc:creator>Wolfgang_Janzen</dc:creator>
      <dc:date>2009-07-27T11:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860032#M1321280</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 will ask the vendor who has the product I mentioned earlier to explain how they have implemented their product such that a user can be re-authenticated for any transaction. I know I was told it was done via an exit, but it was a senior person who was/is not that technically minded who told me that so he might have also missunderstood. I know a consultant who works for the company who will know for sure how this works - I will report back when I have a response.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Karthik,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you have a client side SSF library and are using client certificates, then the SSF library would need to be invoked somehow when a transaction is started and the client software would then need to reauthenticate the user. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 12:14:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860032#M1321280</guid>
      <dc:creator>tim_alsop</dc:creator>
      <dc:date>2009-07-27T12:14:07Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860033#M1321281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt;&amp;gt; If there is an exit in the S_TCODE check then I will eat my hat... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; I really hope there is an undocumented feature somewhere which allows this &lt;SPAN __jive_emoticon_name="wink"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Come on Tim and Alex! Match my hat and raise it by a pair of shorts. &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 27 Jul 2009 12:17:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860033#M1321281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-27T12:17:15Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860034#M1321282</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; ... then the SSF library would need to be invoked somehow when a transaction is started and the client software would then need to reauthenticate the user. &lt;/P&gt;&lt;P&gt;I seem to have missed the small print here... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Maybe you are thinking of adding code to the client side SNC library which requests re-authentication when the user attempts to start a transaction from the ok-code field or a menu object, before the request to start the transaction is sent to the application server.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I cannot see this working, as what happens when the user calls the transaction from another transaction's menu or a shortcut or starting the SAPGui from a command prompt and logging on with a password, or an ABAP RFC function runs the same functionality, or a webservice for it is exposed? In these cases the S_TCODE check might still be there and in others it is intentionally not checked as it does not make sense -&amp;gt; it is invoked from the ABAP program on the application server and not the SAPGui on the client side.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Some folks might also be tempted into trying GUI scripting to achieve this. That is notoriously buggy and cumbersome and to my knowledge has reached the end date of it's shelf-life so few customers would go for that option.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can't see this working in any reliable way by adding custom code to some central point or distributing it to the client side. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;S_TCODE only provides a very general layer of security and can be re-used for coupling transaction pairs when the initialization of their programs warrant this. Most critical transactions are protected in their source anyway and donu2019t care whether you are running it from SE38 or MIGO...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 28 Jul 2009 20:45:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860034#M1321282</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-28T20:45:20Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860035#M1321283</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Julius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not clear on your last post - it confuses me &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Anyway, I talked with the vendor who has a solution that offers re-authentication when a transaction is started. They told me they cannot give me any details on how they do this because it is confidential information. This surprises me because any company or person serious about security and wanting to evaluate their product would need to know how it works.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So, without any clear way to run security code (which would re-authenticate the user) when a transaction is executed by a user there doesn't appear to be a solution to this problem available today. Maybe one day SAP will improve their product and provide a clear and secure interface to allow vendors/customers to develop this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 13:27:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860035#M1321283</guid>
      <dc:creator>tim_alsop</dc:creator>
      <dc:date>2009-07-29T13:27:54Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860036#M1321284</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Basically, what I said was:&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;function auth_check_tcode.&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;STRONG&gt;"&lt;/STRONG&gt;"Lokale Schnittstelle:&lt;/P&gt;&lt;P&gt;*"  IMPORTING&lt;/P&gt;&lt;P&gt;*"     VALUE(TCODE) LIKE  TSTC-TCODE&lt;/P&gt;&lt;P&gt;*"  EXCEPTIONS&lt;/P&gt;&lt;P&gt;*"      PARAMETER_ERROR&lt;/P&gt;&lt;P&gt;*"      TRANSACTION_NOT_FOUND&lt;/P&gt;&lt;P&gt;*"      TRANSACTION_LOCKED&lt;/P&gt;&lt;P&gt;*"      TRANSACTION_IS_MENU&lt;/P&gt;&lt;P&gt;*"      MENU_VIA_PARAMETER_TRANSACTION&lt;/P&gt;&lt;P&gt;*"      NOT_AUTHORIZED&lt;/P&gt;&lt;P&gt;*"----&lt;/P&gt;&lt;P&gt;-&lt;/P&gt;&lt;HR originaltext="----------------------------------------------------------------" /&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Dieser Funktionsbaustein dient als reine Kapsel für den C-Call&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;auth_check_tcode und ist daher im Gegensatz zu authority_check_tcode&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;nicht für die Prüfung vor dem Call Transaction gedacht, sondern für&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;die Fälle, in denen ein Start Transaction geprüft werden soll,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;z.B. in der SE93.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;authority_check_tcode berücksichtigt wie der Kernel die per SE97&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;pflegbaren Einträge in der Tabelle tcdcouples.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;Berechtigungsprüfung&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  call 'AUTH_CHECK_TCODE'&lt;/P&gt;&lt;P&gt;       id 'TCODE' field tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  if sy-subrc = 0.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  auth_check_tcode enthält die Prüfungen von tcode_executable,&lt;/P&gt;&lt;/LI&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  daher im OK-Fall keine Aufruf nötig.&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;  else.&lt;/P&gt;&lt;P&gt;    perform tcode_executable using tcode.&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;  Keine Berechtigung für Transaktion &amp;amp;&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;    message i077(s#) with tcode raising not_authorized.&lt;/P&gt;&lt;P&gt;  endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endfunction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      FORM tcode_executable                                         *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;      ........                                                      *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt; --&amp;gt;  TCODE                                                         *&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;*----&lt;/P&gt;&lt;HR originaltext="---------------------------------------------------------------" /&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;form tcode_executable using tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  call 'DY_CHECK_TRANSACTION'&lt;/P&gt;&lt;P&gt;    id 'TX' field tcode.&lt;/P&gt;&lt;P&gt;  case sy-subrc.&lt;/P&gt;&lt;P&gt;    when 0.         " Alles ok, return&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 1.         " Parameter Error&lt;/P&gt;&lt;P&gt;      message i274(00) raising parameter_error.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 2.         " Transaktion nicht gefunden&lt;/P&gt;&lt;P&gt;      message i343(s#) with tcode raising transaction_not_found.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 3.         " Transaktion gesperrt&lt;/P&gt;&lt;P&gt;      message i348(s#) with tcode raising transaction_locked.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 4.         " Transaktion ist Bereichsmenü&lt;/P&gt;&lt;P&gt;      message i037(oz) with tcode raising transaction_is_menu.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 5.         " Bereichsmenü via Parameter-Transaktion&lt;/P&gt;&lt;P&gt;      message i350(s#) with tcode&lt;/P&gt;&lt;P&gt;                       raising menu_via_parameter_transaction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    when 6.   " Nicht berechtigt; vorgesehen, aber nicht implementiert&lt;/P&gt;&lt;P&gt;      message i077(s#) with tcode raising not_authorized.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  endcase.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;endform.                    "tcode_executable&lt;/P&gt;&lt;P&gt;&amp;lt;/pre&amp;gt;&lt;/P&gt;&lt;P&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, the comments are in German. But as you can see, there is no exit and the checks are in the kernel only.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My hat is safe... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Julius Bussche on Jul 29, 2009 5:55 PM&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 15:47:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860036#M1321284</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-29T15:47:09Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860037#M1321285</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Julius,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I had never suggested that the exit would be implemented inside each transaction - if such an exit exists then it would be best implemented inside the SAP code (e.g. in kernel) and invoked just before the abap code for the specific transaction is run - perhaps after any authorisation checks have been completed.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Tim&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 29 Jul 2009 15:59:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860037#M1321285</guid>
      <dc:creator>tim_alsop</dc:creator>
      <dc:date>2009-07-29T15:59:41Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860038#M1321286</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; They told me they cannot give me any details on how they do this because it is confidential information.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; So, without any clear way to run security code (which would re-authenticate the user) when a transaction is executed by a user there doesn't appear to be a solution to this problem available today. Maybe one day SAP will improve their product and provide a clear and secure interface to allow vendors/customers to develop this functionality.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. That (unknown) vendor is giving excuse for not disclosing any details (actually: their "solution" must be implemented in ABAP - so you can always reverse-engineer what they are doing). Anyway, I'm not aware of any hook (user-exit, Badi, etc.) - and it would surprise me if there would be any - because the coding is in the kernel.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. If there would be really demand for such a feature, then it should be submitted as development request through the official channels. I agree with Tim that in such a case either SAP will implement and provide a solution on its own - or provide a proper interface to be used by partners / customers.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;3. I strongly believe in declarative approaches (rather than in programmatic ones): it should be customizable if a re-authentication is required each time a transaction / service / application is started. It should be understood that this is contradictory to Single-Sign-On. I don't think that each and every application developer should implement a programmatic authentication (with the risk that we end up with many different implementations).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 08:16:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860038#M1321286</guid>
      <dc:creator>Wolfgang_Janzen</dc:creator>
      <dc:date>2009-07-30T08:16:28Z</dc:date>
    </item>
    <item>
      <title>Re: Reg Re-authentication for Tcode access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860039#M1321287</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&amp;gt; 3. I strongly believe in declarative approaches (rather than in programmatic ones): it should be customizable if a re-authentication is required each time a transaction / service / application is started. &lt;/P&gt;&lt;P&gt;In SE93 there is the possibility to add / change additional authorization checks at the start of the transaction, but it is not water-tight by any means and is usefull only for plausibility checks (such as the activity, but without any other fields for which the value is not known yet).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't think it is a good idea to additionally add the option of exit-coding. Exits cause enough problems already... -&amp;gt; now folks would be able to add (for example) global constants and performance inconsiderate selects already at the start of the transaction and cause trouble even with the selection screen coding as well. Not even variant transactions can cause that many problems and security urban-legends... &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Julius&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 30 Jul 2009 15:39:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/reg-re-authentication-for-tcode-access/m-p/5860039#M1321287</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-07-30T15:39:32Z</dc:date>
    </item>
  </channel>
</rss>

