<?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: Authrization issue for end user while running Dialog program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250182#M1631017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;End user has the authrization for transaction 'QA12' but does not have authrization to chnage the usage decision from 'W' to 'Q'.&lt;/P&gt;&lt;P&gt;Thats where authrity check fails and raise error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 28 Sep 2011 07:10:14 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-09-28T07:10:14Z</dc:date>
    <item>
      <title>Authrization issue for end user while running Dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250178#M1631013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;I have developed a Dialog program which contains the FM QPK1_UD_CODE_PICKUP_LEAN and CALL TRANSACTION for QA12 (BDC with No screen mode).&lt;/P&gt;&lt;P&gt;When end user runs the program he gets authrization failure message from FM as well as QA12 as he does not have authrizaion.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;as per businees, the user can not get this authrization due to some business restriction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Is there any way to over come the authrization check when end user run the dialog program (Z Transatcion)?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;All your suggestions will be highly appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Mohamed&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 05:51:58 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250178#M1631013</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-28T05:51:58Z</dc:date>
    </item>
    <item>
      <title>Re: Authrization issue for end user while running Dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250179#M1631014</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;QA12  is used to Change usage decision. now if your user supposed to use this transaction then basis should have granted this change access. I guess you cannot code to break the authorization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Chandra&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 05:59:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250179#M1631014</guid>
      <dc:creator>ChandrashekharMahajan</dc:creator>
      <dc:date>2011-09-28T05:59:09Z</dc:date>
    </item>
    <item>
      <title>Re: Authrization issue for end user while running Dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250180#M1631015</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;No you cannot run  other way you have to take  user  Authorization  for transaction code  ,&lt;/P&gt;&lt;P&gt;it is module pool program  , so cannot work without authorisation  .&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;Deepak.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 06:01:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250180#M1631015</guid>
      <dc:creator>deepak_dhamat</dc:creator>
      <dc:date>2011-09-28T06:01:50Z</dc:date>
    </item>
    <item>
      <title>Re: Authrization issue for end user while running Dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250181#M1631016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello Mohammed,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;[CALL TRANSACTION|http://help.sap.com/abapdocu_702/en/abapcall_transaction.htm] doesn't automatically check the authorization of the user to run the report(authorization object S_TCODE). So even if the user doesn't have authority to use the T-code QA12 he'll be able to run it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can set up an "authorization check" trace in ST01 &amp;amp; provide the details. You can also check SU53 &amp;amp; see which authority check fails.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;BR,&lt;/P&gt;&lt;P&gt;Suhas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 06:17:07 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250181#M1631016</guid>
      <dc:creator>SuhaSaha</dc:creator>
      <dc:date>2011-09-28T06:17:07Z</dc:date>
    </item>
    <item>
      <title>Re: Authrization issue for end user while running Dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250182#M1631017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;End user has the authrization for transaction 'QA12' but does not have authrization to chnage the usage decision from 'W' to 'Q'.&lt;/P&gt;&lt;P&gt;Thats where authrity check fails and raise error message.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 07:10:14 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250182#M1631017</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-28T07:10:14Z</dc:date>
    </item>
    <item>
      <title>Re: Authrization issue for end user while running Dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250183#M1631018</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;take my approach if you like:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. Does the FM which crashes for the end users has the possibility to be executed remotely? If yes go to step 3.&lt;/P&gt;&lt;P&gt;2. In case the FM cannot be executed remotely, make a Z-FM which can be executed remotely and inside it, execute the actual FM you want to use.&lt;/P&gt;&lt;P&gt;3. Create a system user in SE01 and give him the permission the application needs but the end user isn't allowed to have due to your business restrictions&lt;/P&gt;&lt;P&gt;4. Create a destination in SM59 that points on the system itself (in case this is confusing, make an internal abap connection in system xyz which points on the system xyz itself and here enter the user properties of the system user you created in step 3)&lt;/P&gt;&lt;P&gt;5. Call the FM/Z-FM with the option DESTINATION, i.e.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;CALL FUNCTION &amp;lt;XYZ&amp;gt; DESTINATION &amp;lt;name of internal abap connection goes here&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;This way you can change the user context as long as it's nothing SAP-GUI related. Worked well many times for me; as I had to execute lot's of "evil coding" whereas our authority experts would have me killed if given permission for it to end users... this way everything's fine and secure. Only disadvantage: Debugging is like pulling teeth because you can't Debug Remote FMs directly.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers, Lukas&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 10:37:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250183#M1631018</guid>
      <dc:creator>Lukas_Weigelt</dc:creator>
      <dc:date>2011-09-28T10:37:59Z</dc:date>
    </item>
    <item>
      <title>Re: Authrization issue for end user while running Dialog program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250184#M1631019</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks Lucas.&lt;/P&gt;&lt;P&gt;Your solution is working&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 28 Sep 2011 15:00:40 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authrization-issue-for-end-user-while-running-dialog-program/m-p/8250184#M1631019</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-09-28T15:00:40Z</dc:date>
    </item>
  </channel>
</rss>

