<?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: Adding security to a single tab in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876286#M1139872</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate the assistance with the authorization checking but more specifically I would like to know how to make one tab appear in &lt;STRONG&gt;display-only&lt;/STRONG&gt; mode while keeping the other tabs in &lt;STRONG&gt;edit&lt;/STRONG&gt; mode and also how to hide tabs. I would need to do this programmatically based on the user's authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 22 Dec 2008 20:56:13 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-12-22T20:56:13Z</dc:date>
    <item>
      <title>Adding security to a single tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876280#M1139866</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello! I've been tasked with adding security to a single tab (Payment Transactions) in XD02. Basically, we're creating a new authorization and if the user does not have a high enough level of this authorization, the information on the tab should be display only while the other tabs in XD02 stay in edit mode. It was also asked if the user did not have any authorization that the tab should be hidden. Any ideas on how to make a single tab display only while the program is running?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 20:01:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876280#M1139866</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T20:01:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security to a single tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876281#M1139867</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi there..to check the authorization follow this link &lt;SPAN __jive_macro_name="thread" id="670625"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 20:11:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876281#M1139867</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-12-22T20:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security to a single tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876282#M1139868</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Sorry J@Y, but that is a "cheap shot".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am disappointed that you gave those folks ponits for copy &amp;amp; pasting from SAP Help and SFLIGHT, but more so because your link here has little to do with the most obvious solution to this specific requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please read the questions carefully, as this helps improve the quality in the forums and not sending people off on a wild goose chase after some generic information.&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, 22 Dec 2008 20:20:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876282#M1139868</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T20:20:30Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security to a single tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876283#M1139869</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I am disappointed that you gave those folks ponits for copy &amp;amp; pasting from SAP Help and SFLIGHT&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;when you have emergency or the dead line is hitting on your head.... all you need is one helpfull answer, for that awarding points is the one thing, I did to extract max from the highly skilled members of SCN else was in a fear of over head hours on my task which I didn't want to happen. It was a very old post though...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 20:35:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876283#M1139869</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-12-22T20:35:57Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security to a single tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876284#M1139870</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Rod.. find a suitable user exit / screen exit and try to use the authorization check as per my previous posts.. based on the authorization try if you can call that subscreen or loop at screen and hide the screen fields..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 20:39:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876284#M1139870</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-12-22T20:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security to a single tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876285#M1139871</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi J@Y,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;gt; ... when you have emergency or the dead line is hitting on your head.... &lt;/P&gt;&lt;P&gt;But Rod did not say that he was in a hurry, nor that he did not know how a vanilla authority-check works...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I think the answer to this is in transaction OB23 and some other transactions related to it. At least that would be the most obvious answer - but it would apply to all users of the related FD / XD transactions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;But that is only from memory, so perhaps taking a closer look to post a really meaningfull and usefull answer is the better option for me as well.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lets see... (I will check my box of tricks and the coding).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Of course, it would also be usefull to know which release this relates to, as there might be new (standard) features...&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, 22 Dec 2008 20:53:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876285#M1139871</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T20:53:40Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security to a single tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876286#M1139872</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I appreciate the assistance with the authorization checking but more specifically I would like to know how to make one tab appear in &lt;STRONG&gt;display-only&lt;/STRONG&gt; mode while keeping the other tabs in &lt;STRONG&gt;edit&lt;/STRONG&gt; mode and also how to hide tabs. I would need to do this programmatically based on the user's authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 20:56:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876286#M1139872</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T20:56:13Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security to a single tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876287#M1139873</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;if you can able to find an exit may be you can code like the following&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if you can able to find any business addins of userexit in PBO of the screen (in which you want to disable the fields) you can code in the following way.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
    authority-check object 'YAUTH'
             id c_ppfcode field ppfcode
             id c_actvt field '02'.
    if sy-subrc ne 0.
      loop at screen.
        if screen-name1 = 'XVBAK-XKLTM'.
          screen-input = c_off.
          modify screen.
        endif.
      endloop.
    endif.
  endif.
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But my suggestion will be find any exit before SAVE and get validated there with OLD &amp;amp; NEW values&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;of the fields in the tab . If users don't have authorisation and values of fields in tab (OLD &amp;amp; NEW)&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;values are different then give an error message&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;a®&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 21:00:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876287#M1139873</guid>
      <dc:creator>former_member194669</dc:creator>
      <dc:date>2008-12-22T21:00:03Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security to a single tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876288#M1139874</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi the above code formulated my idea into code and showed you.. code by aRs should work, as far as I know.. &lt;/P&gt;&lt;P&gt;or &lt;/P&gt;&lt;P&gt;lets see what Julius found in his Box.. waiting for some thing more exciting..&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 22 Dec 2008 21:12:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876288#M1139874</guid>
      <dc:creator>former_member156446</dc:creator>
      <dc:date>2008-12-22T21:12:15Z</dc:date>
    </item>
    <item>
      <title>Re: Adding security to a single tab</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876289#M1139875</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; I appreciate the assistance with the authorization checking but more specifically I would like to know how to make one tab appear in &lt;STRONG&gt;display-only&lt;/STRONG&gt; mode while keeping the other tabs in &lt;STRONG&gt;edit&lt;/STRONG&gt; mode and also how to hide tabs. I would need to do this programmatically based on the user's authorization.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Thanks!&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Okay... then you need more granular authority than that which the IMG has to offer globally it seems.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So authority-check will play a role in it, but I assume that you know how to code that already.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We still don't know which ERP release you are on, but I also assume that you have done a trace to see your options are (do &lt;U&gt;not&lt;/U&gt; use a SAP_ALL user ID for the trace, because you might not reach all the checks....).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please try that and then lets take a look.&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, 22 Dec 2008 21:51:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/adding-security-to-a-single-tab/m-p/4876289#M1139875</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-12-22T21:51:03Z</dc:date>
    </item>
  </channel>
</rss>

