<?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 S_PROGRAM in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265599#M1017743</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 have three questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was going through the manual ADM950 and I understood that giving access to SA38 would mean that a user would have access to any executable program. I identified a program which is associated with SU01 "SAPMSUU0"(from SE93) and added SA38 to a test role which was then assigned to a test user. Logging in as the user, I executed SA38 and then executed "SAPMSUU0" however it threw a error stating that the user did not have access to SU01. I checked SU53 and noticed that the missing authorization was S_TCODE. I checked the code for this program and could not find any AUTHORITY_CHECK statements calling for S_TCODE. I am not sure as to why S_TCODE was being read as I was actually executing a program (which should inturn check S_PROGRAM). Any thoughts on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, If i have to assign a authorization group to a program I was to use RSCSAUTH. I ran this program from SA38 and this particular program seems to be like a report. I am not sure as to how I can add a authorization group to a program here. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly, system programs Eg: SAPMSUU0M (associated with SU10) does not have a authorization group. Is it possible to assign Authorization groups to these system programs. If yes, then is it considered to be a best practice to add a authorization group for these programs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 31 Jul 2008 10:33:59 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2008-07-31T10:33:59Z</dc:date>
    <item>
      <title>S_PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265599#M1017743</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 have three questions.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I was going through the manual ADM950 and I understood that giving access to SA38 would mean that a user would have access to any executable program. I identified a program which is associated with SU01 "SAPMSUU0"(from SE93) and added SA38 to a test role which was then assigned to a test user. Logging in as the user, I executed SA38 and then executed "SAPMSUU0" however it threw a error stating that the user did not have access to SU01. I checked SU53 and noticed that the missing authorization was S_TCODE. I checked the code for this program and could not find any AUTHORITY_CHECK statements calling for S_TCODE. I am not sure as to why S_TCODE was being read as I was actually executing a program (which should inturn check S_PROGRAM). Any thoughts on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Next, If i have to assign a authorization group to a program I was to use RSCSAUTH. I ran this program from SA38 and this particular program seems to be like a report. I am not sure as to how I can add a authorization group to a program here. Any ideas?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Lastly, system programs Eg: SAPMSUU0M (associated with SU10) does not have a authorization group. Is it possible to assign Authorization groups to these system programs. If yes, then is it considered to be a best practice to add a authorization group for these programs?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Ravi&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 10:33:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265599#M1017743</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T10:33:59Z</dc:date>
    </item>
    <item>
      <title>Re: S_PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265600#M1017744</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;             Authorization group cannot be assigned to programs but to table updated by the program&lt;/P&gt;&lt;P&gt;             Hope this helps&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 10:39:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265600#M1017744</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T10:39:37Z</dc:date>
    </item>
    <item>
      <title>Re: S_PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265601#M1017745</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;  &lt;/P&gt;&lt;P&gt;&amp;gt;              Authorization group cannot be assigned to programs but to table updated by the program&lt;/P&gt;&lt;P&gt;&amp;gt;             &lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hi Trupti,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;hmmm....&lt;/P&gt;&lt;P&gt;SAP Note #338177 tells something contrary....&lt;/P&gt;&lt;P&gt;b.rgds, &lt;/P&gt;&lt;P&gt;Bernhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 11:01:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265601#M1017745</guid>
      <dc:creator>Bernhard_SAP</dc:creator>
      <dc:date>2008-07-31T11:01:03Z</dc:date>
    </item>
    <item>
      <title>Re: S_PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265602#M1017746</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The authorization object S_PROGRAM is only checked when you are trying to execute a program via SE38. It is only for the initiation of the program itself. So if you try to execute a program ZABCD assigned to a authorization group ZXX then as soon as you execute from SE38 a check is made whether you have access to S_PROGRAM and execute access for group ZXX. &lt;/P&gt;&lt;P&gt;While executing, the program itself may call other transactions and check other authorizations. This is as per the program code and hence additional authorizations will be needed as per the program code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program RSCSAUTH actually displays contents from the table SREPOATH (contains programs and associated auth groups). You have an option within the program itself to modify the table as per your need. You can try the same in a test system.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;System programs generally should not be executed from SE38. Such programs usually have associated transactions which should be used instead. The associated auth check from the transaction itself will then come into play.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this clears some doubts.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Sanju.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: Sanju Chacko on Jul 31, 2008 11:04 AM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 11:02:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265602#M1017746</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T11:02:23Z</dc:date>
    </item>
    <item>
      <title>Re: S_PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265603#M1017747</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;regarding SAPMSUU0:&lt;/P&gt;&lt;P&gt;the call stack of the check for s_tcode is:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  1	SAPMSUU0	EVENT	START-OF-SELECTION&lt;/P&gt;&lt;P&gt;  2	SAPLSUSE	FUNCTION	AUTHORITY_CHECK_TCODE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In the FM AUTHORITY_CHECK_TCODE then:&lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;UL&gt;&lt;LI level="1" type="ul"&gt;&lt;P&gt;3. main part: check for authorization:             &lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P&gt;                                                     &lt;/P&gt;&lt;P&gt;  CALL 'AUTH_CHECK_TCODE'                            &lt;/P&gt;&lt;P&gt;       ID 'TCODE' FIELD tcode.                                                                                &lt;/P&gt;&lt;P&gt;IF sy-subrc = 0.                                   &lt;/P&gt;&lt;P&gt;    RAISE ok.                                        &lt;/P&gt;&lt;P&gt;  ELSE.                                              &lt;/P&gt;&lt;P&gt;    message i077(s#) with tcode raising not_ok.      &lt;/P&gt;&lt;P&gt;  endif.                                             &lt;/P&gt;&lt;P&gt;.....&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So for security reason the check for s_tcode SU01 is triggered explicitely by the coding of SAPMSUU0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;b.rgds, Bernhard&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 11:07:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265603#M1017747</guid>
      <dc:creator>Bernhard_SAP</dc:creator>
      <dc:date>2008-07-31T11:07:05Z</dc:date>
    </item>
    <item>
      <title>Re: S_PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265604#M1017748</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Goto SE38&lt;/P&gt;&lt;P&gt;fill in the program name: ZBLAH_BLAH&lt;/P&gt;&lt;P&gt;choose option: Attributes&lt;/P&gt;&lt;P&gt;click display. here you have the option to change assignment of Auth groups to programs.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;However, you "might" be prompted for an access key..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 31 Jul 2008 18:22:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265604#M1017748</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T18:22:52Z</dc:date>
    </item>
    <item>
      <title>Re: S_PROGRAM</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265605#M1017749</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; Goto SE38&lt;/P&gt;&lt;P&gt;&amp;gt; fill in the program name: ZBLAH_BLAH&lt;/P&gt;&lt;P&gt;&amp;gt; choose option: Attributes&lt;/P&gt;&lt;P&gt;&amp;gt; click display. here you have the option to change assignment of Auth groups to programs.&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; However, you "might" be prompted for an access key..&lt;/P&gt;&lt;P&gt;&amp;gt; &lt;/P&gt;&lt;P&gt;&amp;gt; Hope this helps.&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;Take look at this thread: &lt;A class="jive_macro jive_macro_thread" href="https://community.sap.com/" __jive_macro_name="thread" modifiedtitle="true" __default_attr="987748"&gt;&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is a comment in it somewhere about a warning which SE38 or other code editors will throw at you if the program group is changed via the attributes. This happens when you have maintained an authorization group using report RSCSAUTH =&amp;gt; read the documentation on program RSCSAUTH (Use the "Documentation" button in transaction SE38).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Trupti: This link is some recommended reading for you as well...&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>Thu, 31 Jul 2008 19:05:41 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/s-program/m-p/4265605#M1017749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2008-07-31T19:05:41Z</dc:date>
    </item>
  </channel>
</rss>

