<?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 One program for two transaction with two authorization objects in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-program-for-two-transaction-with-two-authorization-objects/m-p/8620562#M1663906</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program which is being tied to two different transactions. In the program, am controlling a small piece of logic in a different way for one of the transactions(new transaction) and rest remains the same for both the transactions. The program is already using a auth object in the program attributes and in the auth check logic. Now, I would like my new tcode to be executed by a different group of users. How ever, there is a possibility that the existing group already in use will be included in this new group. Basically, I would like to know if there is any concept of sub authorization group set up under one main auth group. If so, I can control to check the sub group if tcode A and check main group if tcode B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is no such option available, is there a way for me to control both transactions in the same program but should be working for two different group of users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 13 Mar 2012 14:34:50 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2012-03-13T14:34:50Z</dc:date>
    <item>
      <title>One program for two transaction with two authorization objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-program-for-two-transaction-with-two-authorization-objects/m-p/8620562#M1663906</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have a program which is being tied to two different transactions. In the program, am controlling a small piece of logic in a different way for one of the transactions(new transaction) and rest remains the same for both the transactions. The program is already using a auth object in the program attributes and in the auth check logic. Now, I would like my new tcode to be executed by a different group of users. How ever, there is a possibility that the existing group already in use will be included in this new group. Basically, I would like to know if there is any concept of sub authorization group set up under one main auth group. If so, I can control to check the sub group if tcode A and check main group if tcode B.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If there is no such option available, is there a way for me to control both transactions in the same program but should be working for two different group of users.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kiran&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:34:50 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-program-for-two-transaction-with-two-authorization-objects/m-p/8620562#M1663906</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-13T14:34:50Z</dc:date>
    </item>
    <item>
      <title>Re: One program for two transaction with two authorization objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-program-for-two-transaction-with-two-authorization-objects/m-p/8620563#M1663907</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Do you want the program to behave differently for different tcodes or for different users?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aravind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 14:59:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-program-for-two-transaction-with-two-authorization-objects/m-p/8620563#M1663907</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-13T14:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: One program for two transaction with two authorization objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-program-for-two-transaction-with-two-authorization-objects/m-p/8620564#M1663908</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Aravind,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As mentioned, the input, output and 98% of the logic is same for both transactions. There is one extra bit of validation happening in the other transaction. So, I thought I can use the existing program and plug the new validation by checking if tcode is my new tcode.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this helps.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Kiran&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 20:28:04 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-program-for-two-transaction-with-two-authorization-objects/m-p/8620564#M1663908</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-13T20:28:04Z</dc:date>
    </item>
    <item>
      <title>Re: One program for two transaction with two authorization objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-program-for-two-transaction-with-two-authorization-objects/m-p/8620565#M1663909</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;If you are using custom authorization object then add a field name called as 'Tcode' in your authorization object and you can check the authorization value of the respective transactions in your program. the same can be assigned in the roles of the users. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Br,&lt;/P&gt;&lt;P&gt;Vijay V&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 13 Mar 2012 21:38:15 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-program-for-two-transaction-with-two-authorization-objects/m-p/8620565#M1663909</guid>
      <dc:creator>vijaymanikandan</dc:creator>
      <dc:date>2012-03-13T21:38:15Z</dc:date>
    </item>
    <item>
      <title>Re: One program for two transaction with two authorization objects</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/one-program-for-two-transaction-with-two-authorization-objects/m-p/8620566#M1663910</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Kiran,&lt;/P&gt;&lt;P&gt;If you are using tcode validation just check sy-tcode =&amp;lt;Tcode&amp;gt; in your code. You can also add roles based on the Tcodes.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Aravind&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 14 Mar 2012 07:22:20 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/one-program-for-two-transaction-with-two-authorization-objects/m-p/8620566#M1663910</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2012-03-14T07:22:20Z</dc:date>
    </item>
  </channel>
</rss>

