<?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: Authentication or Security Checks for ABAP programs in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188324#M466277</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;simple way is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create ztable in which u can maintain user id list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in every program u have to add ths validations like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from zuserid where userid = sy-uname.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;message " not authorizaed to execute this report.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Tue, 24 Apr 2007 06:43:30 GMT</pubDate>
    <dc:creator>Former Member</dc:creator>
    <dc:date>2007-04-24T06:43:30Z</dc:date>
    <item>
      <title>Authentication or Security Checks for ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188323#M466276</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Dear experts,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;	Please tell me where do we give the authentication or security checks to our ABAP programs and how do we do that. ( Do not allow all to execute our developed programs).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Maanasa&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 06:37:09 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188323#M466276</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T06:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication or Security Checks for ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188324#M466277</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;simple way is :&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;create ztable in which u can maintain user id list.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;so in every program u have to add ths validations like this &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;select * from zuserid where userid = sy-uname.&lt;/P&gt;&lt;P&gt;if sy-subrc ne 0.&lt;/P&gt;&lt;P&gt;message " not authorizaed to execute this report.&lt;/P&gt;&lt;P&gt;endif.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards&lt;/P&gt;&lt;P&gt;Prabhu&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 06:43:30 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188324#M466277</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T06:43:30Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication or Security Checks for ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188325#M466278</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you know the authorization group u can use the following ways.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;1. In the Attributes u can specify the authorization gourp name&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;2. AT SELECTION-SCREEN&lt;/P&gt;&lt;P&gt;AUTHORITY-CHECK OBJECT 'Z_TABU_DIS'&lt;/P&gt;&lt;P&gt;            ID 'ACTVT' FIELD '03'&lt;/P&gt;&lt;P&gt;           ID 'CUSTTYPE' FIELD v_class&lt;/P&gt;&lt;P&gt;            ID 'TABLENAME' FIELD p_dbtble.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;  CASE SY-SUBRC.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;   WHEN 0.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;    WHEN OTHERS.&lt;/P&gt;&lt;UL&gt;&lt;UL&gt;&lt;UL&gt;&lt;LI level="3" type="ul"&gt;&lt;P&gt;Error message&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;/UL&gt;&lt;P&gt;     message I419(MO).&lt;/P&gt;&lt;P&gt;     STOP.&lt;/P&gt;&lt;P&gt;  ENDCASE.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 06:45:21 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188325#M466278</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T06:45:21Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication or Security Checks for ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188326#M466279</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hai Maaasa,&lt;/P&gt;&lt;P&gt;      Before executing the program,u can give authentication so that particular user can execute it.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;before executing it, u can check the user by,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if SY-UNAME = 'SMITH'.&lt;/P&gt;&lt;P&gt;   &amp;lt;Execute Program&amp;gt;.&lt;/P&gt;&lt;P&gt;Else.&lt;/P&gt;&lt;P&gt;    WRITE : 'U Don't have the Rights to Execute this Program'.&lt;/P&gt;&lt;P&gt;Endif.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 06:45:29 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188326#M466279</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T06:45:29Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication or Security Checks for ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188327#M466280</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Maanasa,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;You can write a piece of code in your program which first checks the user ID (SY-UNAME) of the person executing the code and then allows further processing. For this you can create an authorization object (SU21) and assign the users you want to allow access to this object. &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;Regards,&lt;/P&gt;&lt;P&gt;Saurabh&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 06:46:13 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188327#M466280</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T06:46:13Z</dc:date>
    </item>
    <item>
      <title>Re: Authentication or Security Checks for ABAP programs</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188328#M466281</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It depends on what exactly you want to control. However, most important is that access to SE38, SA38 etc should be taken away from all business users and all programs should be assigned to transaction code. The object S_TCODE controls automatically access to transaction codes. There is a parameter "Authorization Group" in the program attributes. In this field, you can enter the name of a program group. This allows you to group different programs together for authorization checks. The group name is a field of the two authorization objects S_DEVELOP (program development and program execution) and S_PROGRAM (program maintenance). Thus, you can assign authorizations to users according to program groups.&lt;/P&gt;&lt;P&gt;If want to control access to business data in your program you must code it using 'AUTHORITY-CHECK' statement specifing an appropriate object.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 24 Apr 2007 06:46:45 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/authentication-or-security-checks-for-abap-programs/m-p/2188328#M466281</guid>
      <dc:creator>Former Member</dc:creator>
      <dc:date>2007-04-24T06:46:45Z</dc:date>
    </item>
  </channel>
</rss>

