<?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: Program with authorization object in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634634#M1864902</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, but can you please explain it more?&lt;/P&gt;&lt;P&gt;How can I manage the authorization of users in my program? Is there a way that I can manage that without using the PFCG ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User1 can access transfer button only&lt;/P&gt;&lt;P&gt;User2 can access backload button only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way that I can do that in my code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 11 Sep 2014 11:31:17 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-09-11T11:31:17Z</dc:date>
    <item>
      <title>Program with authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634628#M1864896</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have an issue regarding rules and authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have created a program with 2 radio buttons transfer and backload. The requirement in authorization is not all users can access both; some can only access transfer and some can access backload only. (r_trans,r_back)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The basis told me that they need an authorization object in order for them to block/separate the transaction for transfer and backload.&lt;/P&gt;&lt;P&gt;Is there a way for me to modify the program and put an authorization object with my radio button? or is it possible to do this with the current program?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 10:42:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634628#M1864896</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-11T10:42:07Z</dc:date>
    </item>
    <item>
      <title>Re: Program with authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634629#M1864897</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;the SAP logic is to test the authorization after user start program. You just check if he ask transfer if he could .. or if he ask backload .... &lt;/P&gt;&lt;P&gt;you don't need to create two object, you could&amp;nbsp; create one object with a field that contain 2 possibles values. SU20 SU21 &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Fred&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 10:53:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634629#M1864897</guid>
      <dc:creator>FredericGirod</dc:creator>
      <dc:date>2014-09-11T10:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Program with authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634630#M1864898</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;You should create an authorization object having 2 activities, for example:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;- 01: Transfer&lt;/P&gt;&lt;P&gt;- 02: Backload&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So you can check the object in the AT SELECTION-SCREEN event of your program:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;
&lt;P&gt;AT SELECTION-SCREEN.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; CASE 'X'.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN &amp;lt;RADIOBUTTON 1&amp;gt;. ACTIVITY = '01'.&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; WHEN &amp;lt;RADIOBUTTON 2&amp;gt;. ACTIVITY = '02'.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ENDCASE.&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN class="L0S52"&gt;AUTHORITY-CHECK &lt;/SPAN&gt;OBJECT &amp;lt;YOUR OBJECT&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; ID 'ACTIVITY' FIELD &lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;ACTIVITY.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;IF SY-SUBRC = 0.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN style="font-family: 'Lucida Grande', Arial, Helvetica, sans-serif; font-size: 13.63636302948px;"&gt;&amp;nbsp;&amp;nbsp; user is author.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;ELSE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp; user is not author.&lt;/P&gt;
&lt;P&gt;ENDIF.&lt;/P&gt;
&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Max&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 10:55:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634630#M1864898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-11T10:55:31Z</dc:date>
    </item>
    <item>
      <title>Re: Program with authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634631#M1864899</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;Thanks for the reply,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Our basis is using PFCG for roles and authorization , how can they check if my authorization object was created using that code?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here is my code: Im getting sy-subrc = 12.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;r_trans &lt;SPAN class="L0S52"&gt;EQ &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;AUTHORITY-CHECK &lt;/SPAN&gt;OBJECT &lt;SPAN class="L0S33"&gt;'ZACTIVITY'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ID &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ACTVT' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FIELD &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'01'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S52"&gt;NE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'0'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MESSAGE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'User not authorized' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'S'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;LEAVE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;LIST-PROCESSING&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MESSAGE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'User is authorized' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'S'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;LEAVE &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;LIST-PROCESSING&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ELSEIF &lt;/SPAN&gt;r_back &lt;SPAN class="L0S52"&gt;EQ &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'X'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;AUTHORITY-CHECK &lt;/SPAN&gt;OBJECT &lt;SPAN class="L0S33"&gt;'ZACTIVITY'&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ID &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'ACTVT' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;FIELD &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'02'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;IF &lt;/SPAN&gt;sy&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;subrc &lt;SPAN class="L0S52"&gt;NE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'0'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MESSAGE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'User not authorized' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'S'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ELSE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;MESSAGE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'User is authorized' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;TYPE &lt;/SPAN&gt;&lt;SPAN class="L0S33"&gt;'S'&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;ENDIF&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 11:11:18 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634631#M1864899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-11T11:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Program with authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634632#M1864900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;You could also manage the authorization in PBO/AT SELECTION-SCREEN and disabling the forbidden radiobutton (also manage default value) So user wont be able to select unauthorized button, and wont receive some authority failed message.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;To identify roles created with PFCG which use your object, call transactions like S_BCE_68001422 or S_BCE_68001425 .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 11:18:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634632#M1864900</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-09-11T11:18:13Z</dc:date>
    </item>
    <item>
      <title>Re: Program with authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634633#M1864901</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;Another option is to assign a different transaction to the program .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Like sap do (MM01,MM02,MM03) .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;And in the program hide the unrelevant buttons base on sy-tcode .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The transaction can be assign to a role .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;IMHO hiding is more user friendly .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 11:31:01 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634633#M1864901</guid>
      <dc:creator>rosenberg_eitan</dc:creator>
      <dc:date>2014-09-11T11:31:01Z</dc:date>
    </item>
    <item>
      <title>Re: Program with authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634634#M1864902</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Raymond,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry, but can you please explain it more?&lt;/P&gt;&lt;P&gt;How can I manage the authorization of users in my program? Is there a way that I can manage that without using the PFCG ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User1 can access transfer button only&lt;/P&gt;&lt;P&gt;User2 can access backload button only&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there a way that I can do that in my code?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 11:31:17 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634634#M1864902</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-11T11:31:17Z</dc:date>
    </item>
    <item>
      <title>Re: Program with authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634635#M1864903</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Jepoy,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If any Tcode we don't have an access we go through the Tcode SU53, and check what are the roles was missed for the users. and the missed roles add to the user the he/she can able to access the Tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;execute the authorization object at Initialization event and receive the subrc based on the what activity you have received in the code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For Program Why don't you try the Check Box Concept.&lt;/P&gt;&lt;P&gt;Case 1:&lt;/P&gt;&lt;P&gt;if the user have the access of Transfer and BackLoad show them as enable, if he select one, un check the other one using the user command field.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Case 2:&lt;/P&gt;&lt;P&gt;If He/she has only access for 1 check box. enable that one grayed out the other one.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Sudhakar&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 11:37:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634635#M1864903</guid>
      <dc:creator>Sudhakargadde</dc:creator>
      <dc:date>2014-09-11T11:37:07Z</dc:date>
    </item>
    <item>
      <title>Re: Program with authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634636#M1864904</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I never suggested not to use authorization objects in my answer, read again, I only suggested to hide not allowed option to users, no need to make them bitter or jealous ... &lt;SPAN __jive_emoticon_name="wink" __jive_macro_name="emoticon" class="jive_macro jive_emote" src="https://community.sap.com/1024/images/emoticons/wink.gif"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOAD-OF-PROGRAM&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Execute the diverse AUTHORITY-CHECK and save result in global variables,&lt;/P&gt;&lt;P&gt;AT SELECTION-SCREEN OUTPUT&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; LOOP AT SCREEN and hide radiobutton when not allowed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Authorization-objects and roles (PFCG) are the way to manage authorization in SAP. Either you create a new object, or as suggested by &lt;A _jive_internal="true" href="https://answers.sap.com/people/rosenberg.eitan"&gt;&lt;SPAN lang="EN-US" style="color: blue;"&gt;Eitan&lt;/SPAN&gt;&lt;/A&gt;, create different transactions (so you would check sy-code in your program), but administrator will also manage authorization for transaction (Authorization object S_TCODE) in some roles for PFCG. &lt;STRONG&gt;Remember that transactions allowed are also to manage in PFCG roles.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Raymond&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 11:41:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634636#M1864904</guid>
      <dc:creator>RaymondGiuseppi</dc:creator>
      <dc:date>2014-09-11T11:41:23Z</dc:date>
    </item>
    <item>
      <title>Re: Program with authorization object</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634637#M1864905</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;Here is my code: Im getting sy-subrc = 12&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;It means you'haven't the authorization objecy in your profile&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #333333; font-size: 11.8181819915771px;"&gt;Max&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 11 Sep 2014 12:02:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/program-with-authorization-object/m-p/10634637#M1864905</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-09-11T12:02:52Z</dc:date>
    </item>
  </channel>
</rss>

