<?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: Need logic : all role for a given tcode : even mannually added in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171908#M460750</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly advice I am unable to get logic to resolve issue, although I know where is data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if user give SMLG, how to find whether it is in a given range or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        satinder ghuman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Mon, 23 Apr 2007 18:45:46 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-23T18:45:46Z</dc:date>
    <item>
      <title>Need logic : all role for a given tcode : even mannually added</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171907#M460749</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Friends,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I need some help in creating logic.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Requirement : User enters transaction and report should show list of all ROLES which contain that tcode. Remember to consider Mannually added tcodes under S_TCODE e.g it could be A* or range T* to Z* or only RZ11.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;i had created small program to extract data, but I am unable to build logic to get required result.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;REPORT YTEST .&lt;/P&gt;&lt;P&gt;TABLES : AGR_1251.&lt;/P&gt;&lt;P&gt;DATA ITAB LIKE AGR_1251 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;PARAMETER TCODE LIKE AGR_1251-LOW .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM AGR_1251 INTO  TABLE ITAB WHERE OBJECT = 'S_TCODE' AND&lt;/P&gt;&lt;P&gt;FIELD = 'TCD' '.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;  IF ITAB-LOW CP '*'.&lt;/P&gt;&lt;P&gt;      ELSE.&lt;/P&gt;&lt;P&gt;    DELETE ITAB WHERE LOW(1) &amp;lt;&amp;gt; TCODE(1).&lt;/P&gt;&lt;P&gt;  ENDIF.&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : / 'ITAB-AGR_NAME', 30'ITAB-OBJECT', 'ITAB-FIELD', 'ITAB-LOW',&lt;/P&gt;&lt;P&gt;'ITAB-HIGH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  WRITE : / ITAB-AGR_NAME, ITAB-OBJECT, ITAB-FIELD, ITAB-LOW, ITAB-HIGH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 18:28:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171907#M460749</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T18:28:23Z</dc:date>
    </item>
    <item>
      <title>Re: Need logic : all role for a given tcode : even mannually added</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171908#M460750</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Kindly advice I am unable to get logic to resolve issue, although I know where is data.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So if user give SMLG, how to find whether it is in a given range or not&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        satinder ghuman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 18:45:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171908#M460750</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T18:45:46Z</dc:date>
    </item>
    <item>
      <title>Re: Need logic : all role for a given tcode : even mannually added</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171909#M460751</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Satinder&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Are you sure that neither of the many reports available in transaction &amp;lt;b&amp;gt;SUIM &amp;lt;/b&amp;gt;are suitable for your inquiries?&lt;/P&gt;&lt;P&gt;For example, if you call Report &amp;lt;b&amp;gt;User Information System -&amp;gt; Roles -&amp;gt; By Transaction Assignment&amp;lt;/b&amp;gt; the result shows all roles that have the selected transaction(s) assigned.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;  Uwe&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 19:17:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171909#M460751</guid>
      <dc:creator>uwe_schieferstein</dc:creator>
      <dc:date>2007-04-23T19:17:04Z</dc:date>
    </item>
    <item>
      <title>Re: Need logic : all role for a given tcode : even mannually added</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171910#M460752</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;Have you looked standard program RSUSR070?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this program, you can enter a given transaction and system willl display all role(s) involved.&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;Ferry Lianto&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 19:23:32 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171910#M460752</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T19:23:32Z</dc:date>
    </item>
    <item>
      <title>Re: Need logic : all role for a given tcode : even mannually added</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171911#M460753</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;hi Satinder,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if u want to find roles in a range of t-code u need to use Select-options instead of parameters.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;b&amp;gt;TABLES : AGR_1251.&lt;/P&gt;&lt;P&gt;DATA ITAB LIKE AGR_1251 OCCURS 0 WITH HEADER LINE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT-OPTIONS: TCODE FOR AGR_1251-LOW.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM AGR_1251 INTO TABLE ITAB WHERE OBJECT = 'S_TCODE' AND&lt;/P&gt;&lt;P&gt;FIELD = 'TCD' AND LOW IN TCODE.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : / 'ITAB-AGR_NAME', 30'ITAB-OBJECT', 'ITAB-FIELD', 'ITAB-LOW',&lt;/P&gt;&lt;P&gt;'ITAB-HIGH'.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;LOOP AT ITAB.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;WRITE : / ITAB-AGR_NAME, ITAB-OBJECT, ITAB-FIELD, ITAB-LOW, ITAB-HIGH.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;ENDLOOP.&amp;lt;/b&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;SAB&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 23 Apr 2007 19:26:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171911#M460753</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-23T19:26:28Z</dc:date>
    </item>
    <item>
      <title>Re: Need logic : all role for a given tcode : even mannually added</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171912#M460754</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks for replying.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Using RSUSR070 was the first thing I did. But it was rejected.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So now all I need is a logic in the said program.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hello Syed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sorry this logic did not work as we can give range like P* to Y*. So we have to keep track of both LOW as well as HIGH. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any other suggestion please, will be greatly appreaciated.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 01:58:42 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171912#M460754</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T01:58:42Z</dc:date>
    </item>
    <item>
      <title>Re: Need logic : all role for a given tcode : even mannually added</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171913#M460755</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Guys,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please advice.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do we have a developer who can help me in ABAP logic for this issue.&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;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Message was edited by: &lt;/P&gt;&lt;P&gt;        satinder ghuman&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 07:48:34 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/need-logic-all-role-for-a-given-tcode-even-mannually-added/m-p/2171913#M460755</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T07:48:34Z</dc:date>
    </item>
  </channel>
</rss>

