<?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: Remove users from a specific transaction ( ex:-va02) using a background pro in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-users-from-a-specific-transaction-ex-va02-using-a-background-pro/m-p/5221748#M1207448</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;Please check the Below Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM USR01.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'AUTHORITY_CHECK'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      USER                = USR01-NAME&lt;/P&gt;&lt;P&gt;      OBJECT              = 'TRANCODE'&lt;/P&gt;&lt;P&gt;      FIELD1              = 'TXD'&lt;/P&gt;&lt;P&gt;      VALUE1              = 'FB01'&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      USER_DONT_EXIST     = 1&lt;/P&gt;&lt;P&gt;      USER_IS_AUTHORIZED  = 2&lt;/P&gt;&lt;P&gt;      USER_NOT_AUTHORIZED = 3&lt;/P&gt;&lt;P&gt;      USER_IS_LOCKED      = 4&lt;/P&gt;&lt;P&gt;      OTHERS              = 5.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  WRITE: / USR01-NAME.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CASE SY-SUBRC.&lt;/P&gt;&lt;P&gt;    WHEN 2.      WRITE: 'USER_IS_AUTHORIZED'.&lt;/P&gt;&lt;P&gt;    WHEN 3.      WRITE: 'USER_NOT_AUTHORIZED'.&lt;/P&gt;&lt;P&gt;    WHEN OTHERS. WRITE: 'ERROR', SY-SUBRC.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program checks whether an Autz object is assigned to the Tcode. If this is the case, the program checks whether the user has an Authz for this authorization object. The transaction code/authorization object assignment is stored in table TSTCA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpfull&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 12 Feb 2009 14:09:44 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2009-02-12T14:09:44Z</dc:date>
    <item>
      <title>Remove users from a specific transaction ( ex:-va02) using a background pro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-users-from-a-specific-transaction-ex-va02-using-a-background-pro/m-p/5221747#M1207447</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Remove users from a specific transaction ( ex- va02 0r /SAPAPO/SDP94) using a background process&lt;/P&gt;&lt;P&gt;accomplished using SM04 transaction through programatically(se38)&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 14:01:37 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-users-from-a-specific-transaction-ex-va02-using-a-background-pro/m-p/5221747#M1207447</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T14:01:37Z</dc:date>
    </item>
    <item>
      <title>Re: Remove users from a specific transaction ( ex:-va02) using a background pro</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/remove-users-from-a-specific-transaction-ex-va02-using-a-background-pro/m-p/5221748#M1207448</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;Please check the Below Code.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;SELECT * FROM USR01.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CALL FUNCTION 'AUTHORITY_CHECK'&lt;/P&gt;&lt;P&gt;    EXPORTING&lt;/P&gt;&lt;P&gt;      USER                = USR01-NAME&lt;/P&gt;&lt;P&gt;      OBJECT              = 'TRANCODE'&lt;/P&gt;&lt;P&gt;      FIELD1              = 'TXD'&lt;/P&gt;&lt;P&gt;      VALUE1              = 'FB01'&lt;/P&gt;&lt;P&gt;    EXCEPTIONS&lt;/P&gt;&lt;P&gt;      USER_DONT_EXIST     = 1&lt;/P&gt;&lt;P&gt;      USER_IS_AUTHORIZED  = 2&lt;/P&gt;&lt;P&gt;      USER_NOT_AUTHORIZED = 3&lt;/P&gt;&lt;P&gt;      USER_IS_LOCKED      = 4&lt;/P&gt;&lt;P&gt;      OTHERS              = 5.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  WRITE: / USR01-NAME.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;  CASE SY-SUBRC.&lt;/P&gt;&lt;P&gt;    WHEN 2.      WRITE: 'USER_IS_AUTHORIZED'.&lt;/P&gt;&lt;P&gt;    WHEN 3.      WRITE: 'USER_NOT_AUTHORIZED'.&lt;/P&gt;&lt;P&gt;    WHEN OTHERS. WRITE: 'ERROR', SY-SUBRC.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;P&gt;*&lt;/P&gt;&lt;P&gt;ENDSELECT.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The program checks whether an Autz object is assigned to the Tcode. If this is the case, the program checks whether the user has an Authz for this authorization object. The transaction code/authorization object assignment is stored in table TSTCA.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Hope this is helpfull&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;kalyan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 12 Feb 2009 14:09:44 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/remove-users-from-a-specific-transaction-ex-va02-using-a-background-pro/m-p/5221748#M1207448</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2009-02-12T14:09:44Z</dc:date>
    </item>
  </channel>
</rss>

