<?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 Making a complex authorization check for a specific user in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-complex-authorization-check-for-a-specific-user/m-p/10557357#M1857897</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 implemented an authorization check like this with success:&lt;/P&gt;&lt;P&gt;K_PCA_RESP_AUTHORITY_CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The check is made to see if the actual user has authoriszation to the profitcenter, and the hierarchy is also checked. &lt;/P&gt;&lt;P&gt;This is fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My new need is to run the same check in a remote function call, with the user id as a parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User id is not a parameter on the function module K_PCA_RESP_AUTHORITY_CHECK, and I cannot find a similar module with user id as input. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas of how to fix that problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soeren Holmen &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 20 Aug 2014 11:52:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2014-08-20T11:52:50Z</dc:date>
    <item>
      <title>Making a complex authorization check for a specific user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-complex-authorization-check-for-a-specific-user/m-p/10557357#M1857897</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 implemented an authorization check like this with success:&lt;/P&gt;&lt;P&gt;K_PCA_RESP_AUTHORITY_CHECK&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The check is made to see if the actual user has authoriszation to the profitcenter, and the hierarchy is also checked. &lt;/P&gt;&lt;P&gt;This is fine. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My new need is to run the same check in a remote function call, with the user id as a parameter.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;User id is not a parameter on the function module K_PCA_RESP_AUTHORITY_CHECK, and I cannot find a similar module with user id as input. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any ideas of how to fix that problem? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Soeren Holmen &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 11:52:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-complex-authorization-check-for-a-specific-user/m-p/10557357#M1857897</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-20T11:52:50Z</dc:date>
    </item>
    <item>
      <title>Re: Making a complex authorization check for a specific user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-complex-authorization-check-for-a-specific-user/m-p/10557358#M1857898</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soeren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;please try to use function module SU_RAUTH_CHECK_FOR_USER.&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;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 12:04:48 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-complex-authorization-check-for-a-specific-user/m-p/10557358#M1857898</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-20T12:04:48Z</dc:date>
    </item>
    <item>
      <title>Re: Making a complex authorization check for a specific user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-complex-authorization-check-for-a-specific-user/m-p/10557359#M1857899</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Klaus &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I allready tried that, but the function module &lt;SPAN style="color: #333333; font-size: 12px; background-color: #f8f8f8;"&gt;K_PCA_RESP_AUTHORITY_CHECK&lt;/SPAN&gt; is more than a authorization check, it searches the profitcenter hierarchy also.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If it was a simple authorization check, your suggestion would be the solution. &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;Soeren &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 12:18:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-complex-authorization-check-for-a-specific-user/m-p/10557359#M1857899</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-20T12:18:59Z</dc:date>
    </item>
    <item>
      <title>Re: Making a complex authorization check for a specific user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-complex-authorization-check-for-a-specific-user/m-p/10557360#M1857900</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Soeren,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;just an idea.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SUBMIT report USER user VIA JOB ... AND RETURN.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In this report call fm K_PCA_RESP_AUTHORITY_CHECK in INITIALIZATION and try to pass the result back to your report.&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;Klaus&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 20 Aug 2014 12:28:54 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-complex-authorization-check-for-a-specific-user/m-p/10557360#M1857900</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-20T12:28:54Z</dc:date>
    </item>
    <item>
      <title>Re: Making a complex authorization check for a specific user</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-complex-authorization-check-for-a-specific-user/m-p/10557361#M1857901</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Klaus, good idea from you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried it out, and It works for me. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;We have to consider if we like the architecture of this, but it works. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thank you &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt; &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;Soeren &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 21 Aug 2014 13:31:16 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/making-a-complex-authorization-check-for-a-specific-user/m-p/10557361#M1857901</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2014-08-21T13:31:16Z</dc:date>
    </item>
  </channel>
</rss>

