<?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 Limitting payroll t-code access in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/limitting-payroll-t-code-access/m-p/5509504#M1259892</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert,&lt;/P&gt;&lt;P&gt;I have a problem for restricting authorization for user for payroll t-code.&lt;/P&gt;&lt;P&gt;Apparently, some user is only allowed to ru offcycle payroll. So for example, for t-code "PC00_M34_CALC", user should only be able to run offcycle payroll so on the field declaring payroll type, they should only be able to enter 'A' -&amp;gt; offycle payroll.&lt;/P&gt;&lt;P&gt;I couldn't find a way to solve this through authorization object, so far my only found option is to manipulate the transaction selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use transaction SHD0 to manipulate the screen for the t-code, but apparently, transaction variant for t-code "PC00_M34_CALC" can not be made. Therefore I tried to play with variant by:&lt;/P&gt;&lt;P&gt;1. making the payroll type field is not inputable and automatically set 'A' &lt;/P&gt;&lt;P&gt;2. Protect the variant so it couldn't be changed by people except me&lt;/P&gt;&lt;P&gt;3.and then save the variant as customer variant "CUS" so that it could be transported. &lt;/P&gt;&lt;P&gt;After that I created a new T-code let's say Z'' where the default variant "CUS" is used for the t-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem arises as user has access to variant, they could create another variant, save it and then use it to open all access. Is there any way to limit either:&lt;/P&gt;&lt;P&gt;1. User has no access to variant creation&lt;/P&gt;&lt;P&gt;2. T-code couldn't be run except by a certain variant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to solve my problem?&lt;/P&gt;&lt;P&gt;I'm open to any other possible solution to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Sun, 12 Apr 2009 09:08:20 GMT</pubDate>
    <dc:creator>snursalim</dc:creator>
    <dc:date>2009-04-12T09:08:20Z</dc:date>
    <item>
      <title>Limitting payroll t-code access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/limitting-payroll-t-code-access/m-p/5509504#M1259892</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi expert,&lt;/P&gt;&lt;P&gt;I have a problem for restricting authorization for user for payroll t-code.&lt;/P&gt;&lt;P&gt;Apparently, some user is only allowed to ru offcycle payroll. So for example, for t-code "PC00_M34_CALC", user should only be able to run offcycle payroll so on the field declaring payroll type, they should only be able to enter 'A' -&amp;gt; offycle payroll.&lt;/P&gt;&lt;P&gt;I couldn't find a way to solve this through authorization object, so far my only found option is to manipulate the transaction selection screen.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use transaction SHD0 to manipulate the screen for the t-code, but apparently, transaction variant for t-code "PC00_M34_CALC" can not be made. Therefore I tried to play with variant by:&lt;/P&gt;&lt;P&gt;1. making the payroll type field is not inputable and automatically set 'A' &lt;/P&gt;&lt;P&gt;2. Protect the variant so it couldn't be changed by people except me&lt;/P&gt;&lt;P&gt;3.and then save the variant as customer variant "CUS" so that it could be transported. &lt;/P&gt;&lt;P&gt;After that I created a new T-code let's say Z'' where the default variant "CUS" is used for the t-code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Problem arises as user has access to variant, they could create another variant, save it and then use it to open all access. Is there any way to limit either:&lt;/P&gt;&lt;P&gt;1. User has no access to variant creation&lt;/P&gt;&lt;P&gt;2. T-code couldn't be run except by a certain variant&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way to solve my problem?&lt;/P&gt;&lt;P&gt;I'm open to any other possible solution to solve this problem.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sun, 12 Apr 2009 09:08:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/limitting-payroll-t-code-access/m-p/5509504#M1259892</guid>
      <dc:creator>snursalim</dc:creator>
      <dc:date>2009-04-12T09:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: Limitting payroll t-code access</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/limitting-payroll-t-code-access/m-p/5509505#M1259893</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Use authorization object S_PROGRAM.&lt;/P&gt;&lt;P&gt;For the field P_ACTION do not include 'VARIANT'&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 16 Apr 2009 02:53:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/limitting-payroll-t-code-access/m-p/5509505#M1259893</guid>
      <dc:creator>snursalim</dc:creator>
      <dc:date>2009-04-16T02:53:51Z</dc:date>
    </item>
  </channel>
</rss>

