<?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 Tcode ranges not working as expected in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955448#M1799223</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoping one of you can help me with the following question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a role with a tcode range (although that's probably not a good practice) that has a from value S_ to SBC@. It seems to me that SA38 would be in the range (based on the ASCII table and a sorting of these values in Excel). However, users with that role cannot execute SA38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any detailed information out there as to how SAP works with ranges?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 11 Dec 2013 15:37:27 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2013-12-11T15:37:27Z</dc:date>
    <item>
      <title>Tcode ranges not working as expected</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955448#M1799223</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hoping one of you can help me with the following question:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I created a role with a tcode range (although that's probably not a good practice) that has a from value S_ to SBC@. It seems to me that SA38 would be in the range (based on the ASCII table and a sorting of these values in Excel). However, users with that role cannot execute SA38.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any detailed information out there as to how SAP works with ranges?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Jose&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 15:37:27 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955448#M1799223</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-11T15:37:27Z</dc:date>
    </item>
    <item>
      <title>Re: Tcode ranges not working as expected</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955449#M1799224</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;S_ is after SBC@ so that interval is not valid. The character _ is after letter B. Sorting in Excel is different than sorting in ABAP AS. The following simple program can be used to test intervals.&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S52"&gt;REPORT&amp;nbsp; &lt;/SPAN&gt;zmv_test&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;TABLES&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;anek&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;SELECT-OPTIONS&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;s_tcode &lt;SPAN class="L0S52"&gt;FOR &lt;/SPAN&gt;anek&lt;SPAN class="L0S70"&gt;-&lt;/SPAN&gt;tcode&lt;SPAN class="L0S55"&gt;.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt; &lt;SPAN class="L0S52"&gt;START-OF-SELECTION&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;&lt;SPAN class="L0S33"&gt;'SA38' &lt;/SPAN&gt;&lt;SPAN class="L0S52"&gt;IN &lt;/SPAN&gt;s_tcode&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;WRITE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/ &lt;SPAN class="L0S33"&gt;'OK'&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;WRITE&lt;/SPAN&gt;&lt;SPAN class="L0S55"&gt;: &lt;/SPAN&gt;/ &lt;SPAN class="L0S33"&gt;'Fail'&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="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Also don't forget that SA38 has additional authorization object S_PROGRAM attached to it.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN class="L0S55"&gt;Cheers&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 11 Dec 2013 22:18:19 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955449#M1799224</guid>
      <dc:creator>mvoros</dc:creator>
      <dc:date>2013-12-11T22:18:19Z</dc:date>
    </item>
    <item>
      <title>Re: Tcode ranges not working as expected</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955450#M1799225</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Exactly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Additionally the TSTCA check at the start of SA38 requests at least some authority for S_PROGRAM. But S_PROGRAM is suppressed for programs without groups and SUBMIT is not needed to start programs -&amp;gt; VARIANT is enough.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you can start a transaction but the TSTCA check fails, then you are also informed that you are not authorized for the transaction as it makes no sense to continue (depending on how sensible the TSTCA is maintained..).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;There is unfortunately no syntax check or input validation on it. So it sometimes contains nonsense.&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>Wed, 11 Dec 2013 22:34:57 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955450#M1799225</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-11T22:34:57Z</dc:date>
    </item>
    <item>
      <title>Re: Tcode ranges not working as expected</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955451#M1799226</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'm wondering why you are using t code ranges instead of assigning the transaction codes? I can't imagine people would need the complete range of transactions. Assign tcodes themself instead of adding them to the manual object s_tcode will probably result in a better maintainable authorization concept.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Kind regards,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Meta&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Dec 2013 11:33:56 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955451#M1799226</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-12T11:33:56Z</dc:date>
    </item>
    <item>
      <title>Re: Tcode ranges not working as expected</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955452#M1799227</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Martin and Espin,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A much simpler go would be going the table TSTC, use the select options, go to Select Ranges tab, paste the range that you wanted to check and see the results (Max. number of hits is something that needs to be removed without saying).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG class="migrated-image" src="https://community.sap.com/legacyfs/online/storage/attachments/storage/7/jiveimages/345336" width="450" /&gt;&lt;/P&gt;&lt;P&gt;The program that Martin was mentioning definitely works, but just in case that everyone might not have a Developer key in hand.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pranaam&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 17 Dec 2013 11:39:52 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955452#M1799227</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2013-12-17T11:39:52Z</dc:date>
    </item>
    <item>
      <title>Re: Tcode ranges not working as expected</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955453#M1799228</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Meta,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I can see it quite often out there in the wild. If not in the normal roles, then at least in the developer or sys.admin roles meant for the DEV and TEST system. In such case there is a menu which pulls the SU24 proposals and stuff, so the role is built with a little bit of thought and purpose.&lt;/P&gt;&lt;P&gt;The Tcode ranges are there in addition (as manual objects S_TCODE) to provide "non-application" access ("entry point" access I mean...something like the ancient AIS roles if you're familiar with that) to things that the user is authorized to use with his/her "application access".&lt;/P&gt;&lt;P&gt;Because Jose got caught by SA38, I would say this is exactly his requirement.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers Otto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 18 Dec 2013 15:38:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/tcode-ranges-not-working-as-expected/m-p/9955453#M1799228</guid>
      <dc:creator>OttoGold</dc:creator>
      <dc:date>2013-12-18T15:38:32Z</dc:date>
    </item>
  </channel>
</rss>

