<?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: Permissions variants in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/permissions-variants/m-p/7520174#M1560431</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a new object of authorization by the transaction su21, where he put the field in the table that interested me, in this case the variant field, and then I added to the program code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AUTHORITY-CHECK OBJECT 'ZSD_VARIANT'&lt;/P&gt;&lt;P&gt; ID 'VARIANT' FIELD SY-SLSET&lt;/P&gt;&lt;P&gt; IF sy-subrc EQ 4.&lt;/P&gt;&lt;P&gt; MESSAGE E000 (zzpp) WITH 'No Authorization'.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This control checks whether there is authorization in the user profile, if it exists and not the name of the current version returns error if the object has not assigned can enter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 23 Nov 2010 18:19:26 GMT</pubDate>
    <dc:creator>former_member645220</dc:creator>
    <dc:date>2010-11-23T18:19:26Z</dc:date>
    <item>
      <title>Permissions variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/permissions-variants/m-p/7520172#M1560429</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 created a Z transaction and a variant, I allowed a user to see this transaction Z, you can deny the selection of other variants?&lt;/P&gt;&lt;P&gt;You can hide the button for selecting variants?&lt;/P&gt;&lt;P&gt;or you can give permission for execute a single variant to a user?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;&lt;P&gt;best regards&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 18:31:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/permissions-variants/m-p/7520172#M1560429</guid>
      <dc:creator>former_member645220</dc:creator>
      <dc:date>2010-11-17T18:31:50Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/permissions-variants/m-p/7520173#M1560430</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 don't believe it can prevent to select a certain variant, but it can try to prevent to run it: the name of current variant is in system variable SY-SLSET&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 17 Nov 2010 18:40:06 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/permissions-variants/m-p/7520173#M1560430</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2010-11-17T18:40:06Z</dc:date>
    </item>
    <item>
      <title>Re: Permissions variants</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/permissions-variants/m-p/7520174#M1560431</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;i solved.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a new object of authorization by the transaction su21, where he put the field in the table that interested me, in this case the variant field, and then I added to the program code&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; AUTHORITY-CHECK OBJECT 'ZSD_VARIANT'&lt;/P&gt;&lt;P&gt; ID 'VARIANT' FIELD SY-SLSET&lt;/P&gt;&lt;P&gt; IF sy-subrc EQ 4.&lt;/P&gt;&lt;P&gt; MESSAGE E000 (zzpp) WITH 'No Authorization'.&lt;/P&gt;&lt;P&gt; ENDIF.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This control checks whether there is authorization in the user profile, if it exists and not the name of the current version returns error if the object has not assigned can enter.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 23 Nov 2010 18:19:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/permissions-variants/m-p/7520174#M1560431</guid>
      <dc:creator>former_member645220</dc:creator>
      <dc:date>2010-11-23T18:19:26Z</dc:date>
    </item>
  </channel>
</rss>

