<?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 Authorization Error while executing a program in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885735#M1595266</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;           I have developed a program which calls VF02 transaction in background. But while executing it, the program fails with message'No authorization for sales organization XXXX'. &lt;/P&gt;&lt;P&gt;The users who are executing the program does not have access to VF02 and for security reasons the access can not be given to the users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is whether this error is due to no access to 'VF02' or with the sales organization?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we give access to the users according to sales organization rather than giving authorization for VF02 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not then whats the solution to rectify this error without giving VF02 access to users?&lt;/P&gt;&lt;P&gt;&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;Thanks,&lt;/P&gt;&lt;P&gt;Sanujit Acharya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 29 Apr 2011 15:02:04 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2011-04-29T15:02:04Z</dc:date>
    <item>
      <title>Authorization Error while executing a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885735#M1595266</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;           I have developed a program which calls VF02 transaction in background. But while executing it, the program fails with message'No authorization for sales organization XXXX'. &lt;/P&gt;&lt;P&gt;The users who are executing the program does not have access to VF02 and for security reasons the access can not be given to the users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So my question is whether this error is due to no access to 'VF02' or with the sales organization?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we give access to the users according to sales organization rather than giving authorization for VF02 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not then whats the solution to rectify this error without giving VF02 access to users?&lt;/P&gt;&lt;P&gt;&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;Thanks,&lt;/P&gt;&lt;P&gt;Sanujit Acharya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 15:02:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885735#M1595266</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-29T15:02:04Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Error while executing a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885736#M1595267</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;The issue is with the sales org.  You can work with your security administrator to get a bit more info about this.  You can check the code in VA02 to see what the auth checks are in the parent transaction.  Alternatively your sec admin can run a trace on this to see what exactly is being used as SAP responds to your modified use of VA02.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 29 Apr 2011 19:57:46 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885736#M1595267</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-04-29T19:57:46Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Error while executing a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885737#M1595268</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sanujit,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can also ask user to execute SU53 to perform autorization check immediately after executing your program. This should give you missing object/value.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this will help.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Pinkle&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 02 May 2011 00:19:03 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885737#M1595268</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-02T00:19:03Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Error while executing a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885738#M1595269</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;The XXXX value of Sales Org is required in Auth objects V_KONH_VKO or V_VBRK_VKO from a suitable role.. Security team should be able to update it accordingly as per the existing policies if these objects are made available via other involved tcodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;~Sri&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 04 May 2011 17:49:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885738#M1595269</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-04T17:49:09Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Error while executing a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885739#M1595270</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I think there is a flaw behind the coding and the intended usage of the program. Irrespective of the program having a call transaction statement for VF02 (or) you give authorization to the user via an other role on V_VBRK_VKO, the user is changing the billing document in a particular sales organization - so the sercurity restrcition on the user Not to have this access is already compromised, isnt it?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;the best solution for this, would be to discuss with the people from business on the purpose and usage of the program and then analyse the risks - that should give a better idea to judge if changing the program makes sense or adding authorizations to users&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 09:12:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885739#M1595270</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-09T09:12:44Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Error while executing a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885740#M1595271</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;You are running VF02 transaction indirectly. So user need access of all the the objects those are required to run the transaction: VF02. &lt;/P&gt;&lt;P&gt;To solve this, contact with the S&amp;amp;A team. Through ST01 trace analysis, what are the object required for successful run of the job, can be be found out. &lt;/P&gt;&lt;P&gt;If you running the VF02 transaction indirectly through the program, assignment of the VF02 transaction should not be required. &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;Sandip&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 09 May 2011 11:14:23 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885740#M1595271</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-09T11:14:23Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Error while executing a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885741#M1595272</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;if your custom program is calling transaction VF02 , then id which is executing this program should have access to transaction VF02.&lt;/P&gt;&lt;P&gt;How ever if user executing program have access to VF02 for a particular sales organization then also program will run successfully.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps..&lt;/P&gt;&lt;P&gt;let me know if any more information is required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 07:12:59 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885741#M1595272</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-24T07:12:59Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Error while executing a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885742#M1595273</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;To answer last part of your questions&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can we give access to the users according to sales organization rather than giving authorization for VF02 ?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If not then whats the solution to rectify this error without giving VF02 access to users?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Users must have access to VF02 but you can create Separate Dialog ID's having access to respective sales organization only.&lt;/P&gt;&lt;P&gt;i.e, restrict access upon sales organization..&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 07:19:05 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885742#M1595273</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-24T07:19:05Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Error while executing a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885743#M1595274</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;Users must have access to VF02 but you can create Separate Dialog ID's having access to respective sales organization only.&lt;/P&gt;&lt;P&gt; i.e, restrict access upon sales organization..&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Please could you explain the 'Separate Dialog ID's' comment? I'm guessing this means segregation of duties work?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've tried investigating these 'called' transactions (SAP standard only) and also the custom code call standard and the called may/may not need to be accessible directly depending on the resultant access via the call and also the pixie dust hidden within the ABAP...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A delivered GRC RAR ruleset (if available) will also need to be tweaked and updated accordingly - not as simple as it may seem when everybody gets involved &lt;SPAN __jive_emoticon_name="happy"&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: David Berry on May 24, 2011 10:57 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 May 2011 21:57:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885743#M1595274</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-24T21:57:31Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Error while executing a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885744#M1595275</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi David,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Idea is to resrtrict access based on sales organization, this can be done by &lt;/P&gt;&lt;P&gt;creating derived roles in which access is restricred at ORG levels for different sales organization.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;once access is resricted we can create differnt users and assign this access to them.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Let me know if any further information is required&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sandeep&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2011 08:43:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885744#M1595275</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-28T08:43:31Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Error while executing a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885745#M1595276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Sandeep&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The OP's question appears to be 'If I give a custom transaction to a user it seems to then call an object unexpectedly that has a sales organisation value because I'm using it to call VF02".&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Due to SU24 not being updated for the custom transaction I'm guessing.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;A trace would probably assist when working with the functional team to decide what is really needed but I'm a little lost as to what is being asked of either the OP or the security/ABAP teams as this is pretty basic stuff...&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;@Sanujit&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE&gt;&lt;CODE&gt;&lt;P&gt;I have developed a program which calls VF02 transaction in background. But while executing it&lt;/P&gt;&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Have you had this program associated with a custom transaction yet?&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;David&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: David Berry on May 28, 2011 5:41 PM (got my sales orders mixed up)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Edited by: David Berry on May 28, 2011 5:47 PM&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 28 May 2011 16:40:31 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885745#M1595276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-05-28T16:40:31Z</dc:date>
    </item>
    <item>
      <title>Re: Authorization Error while executing a program</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885746#M1595277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thanks to everybody for your help.&lt;/P&gt;&lt;P&gt;I had a discussion with the BASIS team and the corresponding auth. was given  to user.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Sanujit Acharya&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 29 Aug 2011 13:20:26 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authorization-error-while-executing-a-program/m-p/7885746#M1595277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2011-08-29T13:20:26Z</dc:date>
    </item>
  </channel>
</rss>

