<?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: create a Button in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-button/m-p/2962798#M699015</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, thx Ashish, I'll follow urs link and post the results here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 16 Oct 2007 13:37:51 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-10-16T13:37:51Z</dc:date>
    <item>
      <title>create a Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-button/m-p/2962796#M699013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need to create a button in a Report, &lt;/P&gt;&lt;P&gt;but this appears only to registered users in a table "ZAUTHORITY";&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;any ideias?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I try with Authority Check, but I received only "sy-subrc = 0";&lt;/P&gt;&lt;P&gt;I have created the Class "ZAC"(su21) with Object "ZOAUTCHECK"(su21), the Object has the field "ZAUTCHECK"(su20), I put "ZAUTHORITY" at Check Table in this field;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;***&lt;/P&gt;&lt;P&gt;Sorry, I forgot to mention: the name of the field in the table "ZAUTHORITY" is "USUARIO" with a Data Element and Domain(type Char 25).&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;&lt;/P&gt;&lt;P&gt;Allan Cristian&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        Allan Cristian&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 13:27:08 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-button/m-p/2962796#M699013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T13:27:08Z</dc:date>
    </item>
    <item>
      <title>Re: create a Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-button/m-p/2962797#M699014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The Z table you have mentioned is present in only your system. We will not have any idea what it is used for.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also the Authority Check you have mentioned shows that you are authorized for the respective task.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now to create a button, if it is in Selection screen, follow this link.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="4220471"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it is in report output, follow link -&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A class="jive_macro jive_macro_message" href="https://community.sap.com/" __jive_macro_name="message" modifiedtitle="true" __default_attr="3927801"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ashish&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 13:36:12 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-button/m-p/2962797#M699014</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T13:36:12Z</dc:date>
    </item>
    <item>
      <title>Re: create a Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-button/m-p/2962798#M699015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;ok, thx Ashish, I'll follow urs link and post the results here.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 13:37:51 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-button/m-p/2962798#M699015</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-10-16T13:37:51Z</dc:date>
    </item>
    <item>
      <title>Re: create a Button</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-button/m-p/2962799#M699016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The check table will not work in restricting authorization.  Check table is just to restrict the allowed values for the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If the requirement is to just display the button based on users present in the table ZAUTHORITY, then there is no need of creating the authority object. You can check if for the user entry in present in the table then display the button to him...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you want to use the Authority object for Controlling the authorization, then there is no need of having the table. Just Create a new authority object and the field, then assign some value ('X') to that field in the authorization profile to the user for which the authorization is required.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the program you use authority-check on the field with some fixed value say 'X'. &lt;/P&gt;&lt;P&gt;if the check passes (which will happen only for the user having the required authorization, you display the field)&lt;/P&gt;&lt;P&gt;for the others just disable the field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Abhishek&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 16 Oct 2007 13:49:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/create-a-button/m-p/2962799#M699016</guid>
      <dc:creator>former_member195698</dc:creator>
      <dc:date>2007-10-16T13:49:28Z</dc:date>
    </item>
  </channel>
</rss>

