<?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 Function Module for role based on user name, auth object and its value in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-role-based-on-user-name-auth-object-and-its-value/m-p/7755603#M1583077</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me find the function module which will return the Role based on user id, auth object and its value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 22 Mar 2011 20:50:53 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-03-22T20:50:53Z</dc:date>
    <item>
      <title>Function Module for role based on user name, auth object and its value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-role-based-on-user-name-auth-object-and-its-value/m-p/7755603#M1583077</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Gurus,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can you please help me find the function module which will return the Role based on user id, auth object and its value?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 20:50:53 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-role-based-on-user-name-auth-object-and-its-value/m-p/7755603#M1583077</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T20:50:53Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module for role based on user name, auth object and its value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-role-based-on-user-name-auth-object-and-its-value/m-p/7755604#M1583078</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Owais,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I don't know any function module to do that job, but you may have a look at standard report RSUSR070 which does that.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So that to get the result and to not display it, I'd suggest to :&lt;/P&gt;&lt;P&gt;1) call the report using SUBMIT rsusr070 EXPORTING LIST TO MEMORY AND RETURN (to not display the list),&lt;/P&gt;&lt;P&gt;2) and enhance function module SUSR_LIST_ACTVGRPS_ALV using an implicit enhancement option at the end of it, to export AGR_OUTPUT internal table to memory (EXPORT .. TO MEMORY ID).&lt;/P&gt;&lt;P&gt;3) After the report has done the job, you'll read the internal table back from memory (IMPORT ... FROM MEMORY ID).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another way would be to read directly the database tables, but that is more simple to use the report, just check that it is enough performant.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Best regards,&lt;/P&gt;&lt;P&gt;sandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 21:34:28 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-role-based-on-user-name-auth-object-and-its-value/m-p/7755604#M1583078</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-03-22T21:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module for role based on user name, auth object and its value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-role-based-on-user-name-auth-object-and-its-value/m-p/7755605#M1583079</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;goto SUIM.. expand the Roles tab and select the option for Auth objects... &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;then see the code behind it.. it directly resolves your purpose...&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 22:32:25 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-role-based-on-user-name-auth-object-and-its-value/m-p/7755605#M1583079</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-03-22T22:32:25Z</dc:date>
    </item>
    <item>
      <title>Re: Function Module for role based on user name, auth object and its value</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-role-based-on-user-name-auth-object-and-its-value/m-p/7755606#M1583080</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;That's correct, SUIM -&amp;gt; Roles -&amp;gt; By authorization object (OR By authorization values) corresponds to program RSUSR070. See my answer above.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Mar 2011 23:30:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/function-module-for-role-based-on-user-name-auth-object-and-its-value/m-p/7755606#M1583080</guid>
      <dc:creator>Sandra_Rossi</dc:creator>
      <dc:date>2011-03-22T23:30:48Z</dc:date>
    </item>
  </channel>
</rss>

